summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14810) -Codechange: use the proper style for global variables.rubidium
2009-01-03(svn r14791) -Add: the ability to make ISO dates with the string system ↵rubidium
(PhilSophus)
2008-11-24(svn r14623) -Codechange: a sprinkle of coding style.rubidium
2008-11-24(svn r14618) -Feature: when the chosen language isn't supported by the ↵rubidium
current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
2008-11-24(svn r14617) -Change: unduplicate the languagepack(header).rubidium
2008-11-19(svn r14598) -Feature: Action0Industries property 24 (industry suuplies ↵rubidium
default name for nearby station).
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-28(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf ↵rubidium
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-10-17(svn r14480) -Add: warning when trying to use a right-to-left language ↵rubidium
without support for it in OpenTTD.
2008-09-30(svn r14423) -Codechange: also do r14221 for the strings.rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-28(svn r14410) -Codechange: one can't inject a negative number of parameters, ↵rubidium
so enforce this by using a uint.
2008-09-14(svn r14321) -Add: support for newgrfs printing bytes/words/dwords as ↵rubidium
hexadecimals.
2008-09-12(svn r14298) -Fix [FS#2214]: "{CARGO} from unknown destination".rubidium
2008-09-12(svn r14297) -Fix: one could be trying to get the station name of a station ↵rubidium
that is outside of the pool.
2008-09-12(svn r14296) -Codechange: there is no case where an invalid waypoint index ↵rubidium
should be passed to be drawn as a string.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
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