summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2008-01-29(svn r12015) -Fix [FS#1716] (Revert r11422): Patch in FS#1430 avoided ↵peter1138
instead of fixed the problem. GetStringWithArgs() discards information that SCC_GENDER_LIST needs to work. Now use pointers to retrieve GRF strings, so that GetStringPtr() will work correctly. This is advantageous as now no buffer copy is made when using all GRF strings.
2008-01-17(svn r11888) -Codechange: simplify sorting of the strings in town names dropdownglx
2008-01-17(svn r11886) -Add: sort the strings in languages dropdownglx
2008-01-13(svn r11839) -Codechange: move some variables from variables.h to a more ↵rubidium
logical location.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-05(svn r11765) -Fix: compile warning (Roujin).rubidium
2008-01-05(svn r11764) -Change: make the 'do characters exist in the current font ↵rubidium
file(s)' more robust.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-22(svn r11681) -Fix (r11674): hopefully fix the compile error on big endian ↵rubidium
machines.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-16(svn r11648) -Fix [FS#1560]: the company password was not set when one ↵rubidium
pressed the enter key.
2007-12-16(svn r11647) -Fix (r11646): it did not compile without freetype...rubidium
2007-12-16(svn r11646) -Codechange: check whether (some) characters are missing in the ↵rubidium
current 'font' for the 'currently' chosen language and give a warning when that does happen.
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-12(svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs ↵rubidium
instead of crashing.
2007-10-30(svn r11360) -Fix [FS#1375]: do not crash when trying to "draw" an invalid ↵rubidium
string, just draw a message saying it is invalid.
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-08-11(svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as ↵bjarni
finder is set to if no config file is found (ln-)
2007-08-07(svn r10820) -Codechange: make negative currencies red and restore the ↵rubidium
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.
2007-08-05(svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not ↵rubidium
assume that the gender is in the front of the string when there can be case switching code at that location.
2007-08-03(svn r10762) -Codechange: Change enum StringIDEnum { to static const ↵peter1138
StringID = for each STR_ entry. This avoids the need for a cast to StringID in some places and thus better type-safety.
2007-08-02(svn r10759) -Codechange: make the industry struct use the pool item class ↵rubidium
as super class.
2007-08-02(svn r10755) -Codechange: make the town struct use the pool item class as ↵rubidium
super class.
2007-08-02(svn r10751) -Codechange: make the group struct use the pool item class as ↵rubidium
super class.
2007-07-29(svn r10719) -Codechange: since DParams are now 64 bits we should make NUM ↵rubidium
and COMMA handle writing 64 bit integers to the strings.
2007-07-27(svn r10711) -Fix [Win32]: take default language from current user's locale ↵KUDr
on Windows (In-)
2007-07-24(svn r10671) -Codechange: don't mix both lookup and ↵truelight
temp-variable-with-value-of-lookup (skidd13)
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-06-25(svn r10324) -Codechange: reference engine names by indexpeter1138
2007-06-25(svn r10323) -Codechange: reference company name, number and player ↵peter1138
(president) name by index
2007-06-25(svn r10321) -Codechange: refer to sign text by indexpeter1138
2007-06-25(svn r10320) -Fix [FS#278]: one could only build a limited number of ↵rubidium
stations before one had to rename them.
2007-06-25(svn r10316) -Codechange: (consistently) use index to refer to group names. ↵peter1138
Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
2007-06-24(svn r10314) -Codechange: Refer to vehicle names by indexpeter1138
2007-06-21(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 ↵rubidium
were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, ↵rubidium
because everything is already 64 bits by default.
2007-06-21(svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵rubidium
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
2007-06-21(svn r10252) -Fix: never overflow when applying exchange rates before ↵rubidium
drawing the amount of money.
2007-06-21(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.rubidium