Commit Graph

70 Commits (2f9aab3217b0b219dcd546a4cb007ab140c7053c)

Author SHA1 Message Date
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
peter1138 ab8382c0db (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 6c954cad5f (svn r11801) -Codechange: remove some unneeded includes from some header files. 17 years ago
rubidium a3ccdcea36 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 17 years ago
rubidium 279bfad275 (svn r11765) -Fix: compile warning (Roujin). 17 years ago
rubidium f8f86420f8 (svn r11764) -Change: make the 'do characters exist in the current font file(s)' more robust. 17 years ago
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium b3f6c0734b (svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp. 17 years ago
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium a7d54cf946 (svn r11681) -Fix (r11674): hopefully fix the compile error on big endian machines. 17 years ago
rubidium 433a9f3c09 (svn r11675) -Codechange: split the string types from the string functions. 17 years ago
rubidium 0730b9afc1 (svn r11648) -Fix [FS#1560]: the company password was not set when one pressed the enter key. 17 years ago
rubidium 3bba097bb3 (svn r11647) -Fix (r11646): it did not compile without freetype... 17 years ago
rubidium ff7ff890f9 (svn r11646) -Codechange: check whether (some) characters are missing in the current 'font' for the 'currently' chosen language and give a warning when that does happen. 17 years ago
skidd13 bf959f926f (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
rubidium eb47b106ac (svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs instead of crashing. 17 years ago
rubidium 74691a4218 (svn r11360) -Fix [FS#1375]: do not crash when trying to "draw" an invalid string, just draw a message saying it is invalid. 17 years ago
rubidium 8212088c03 (svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo. 17 years ago
rubidium 240285b8d8 (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F. 17 years ago
bjarni 1a5a748973 (svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as finder is set to if no config file is found (ln-) 17 years ago
rubidium c46e445e69 (svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
17 years ago
rubidium f6933e1870 (svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not assume that the gender is in the front of the string when there can be case switching code at that location. 17 years ago
peter1138 616eb4134e (svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
each STR_ entry. This avoids the need for a cast to StringID in some 
places and thus better type-safety.
17 years ago
rubidium e4149482ec (svn r10759) -Codechange: make the industry struct use the pool item class as super class. 17 years ago
rubidium db374f600c (svn r10755) -Codechange: make the town struct use the pool item class as super class. 17 years ago
rubidium 87ad3df284 (svn r10751) -Codechange: make the group struct use the pool item class as super class. 17 years ago
rubidium a4898699c5 (svn r10719) -Codechange: since DParams are now 64 bits we should make NUM and COMMA handle writing 64 bit integers to the strings. 17 years ago
KUDr f9411f30c4 (svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-) 17 years ago
truelight 01d08680e1 (svn r10671) -Codechange: don't mix both lookup and temp-variable-with-value-of-lookup (skidd13) 17 years ago
rubidium efc7fdf2fd (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
peter1138 d69589b3c2 (svn r10324) -Codechange: reference engine names by index 17 years ago
peter1138 eb6594caa8 (svn r10323) -Codechange: reference company name, number and player (president) name
by index
17 years ago
peter1138 fd73ea2058 (svn r10321) -Codechange: refer to sign text by index 17 years ago
rubidium 5c6106cbcf (svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them. 17 years ago
peter1138 74e34ee729 (svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id. 17 years ago
peter1138 fc7418d19d (svn r10314) -Codechange: Refer to vehicle names by index 17 years ago
rubidium 0b34c9aefe (svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger. 17 years ago
rubidium fb7964e902 (svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default. 17 years ago
rubidium 9c0944aa09 (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
17 years ago
rubidium 02154f38b8 (svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money. 17 years ago
rubidium bc01e53967 (svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits. 17 years ago
glx 23af871615 (svn r10211) -Feature: [NewGRF] Add support for action 0F 17 years ago
rubidium 347c28b71a (svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
17 years ago
rubidium 197a8fd5f3 (svn r10145) -Fix: make compiling with networking disabled (again) possible. 17 years ago
glx 62524492d5 (svn r10036) -Add: sort the strings in town names dropdown 17 years ago
glx cb340626ca (svn r10032) -Add: sort the strings in server language dropdown 17 years ago