summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2008-07-31(svn r13904) -Fix (r13715): 'cast from/to pointer to/from integer of ↵glx
different size' warnings
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-06-17(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if ↵smatz
TTD_[BIG/LITTLE]_ENDIAN is defined
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-05(svn r13386) -Fix: global currency/units setting being overriden when ↵rubidium
loading a savegame.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-19(svn r12793) -Codechange: Use enum values for station types instead of ↵peter1138
mysterious hex (ln)
2008-04-19(svn r12786) -Change: remove more function from functions.h.rubidium
2008-04-19(svn r12782) -Codechange: remove some functions from functions.h and do not ↵rubidium
statically 'waste' memory when the old name array is not needed anymore.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-12(svn r12665) -Codechange: make the internal speed <-> display speed ↵rubidium
conversions available to a bigger part of the code.
2008-03-31(svn r12501) -Codechange: split signs.h.rubidium
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-28(svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can ↵rubidium
have both files in it's treelist.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-03-25(svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add ↵maedhros
a NOT_REACHED to DeterminePluralForm.
2008-03-25(svn r12417) -Fix: Add a new plural rule for Icelandic.maedhros
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