summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2009-04-30(svn r16188) -Fix [FS#2874] (r16124): printing the first 4 bytes worth of a ↵rubidium
8 byte integer causes some unwanted side effects when the system is not little-endian.
2009-04-25(svn r16144) -Fix (r16129): setting the custom digit grouping separator ↵rubidium
required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators.
2009-04-23(svn r16129) -Feature-ish: configurable digit group separator per language ↵rubidium
with user override.
2009-04-23(svn r16124) -Codechange: unify the three number drawing methodsrubidium
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-07(svn r15965) -Change: use recent Czech language for plural form (it has been ↵smatz
official for years anyway)
2009-03-16(svn r15740) -Codechange: make code in namegen.cpp ~50% faster, apply coding ↵smatz
style and add comments
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-13(svn r15696) -Codechange: move the NewGRF language ID into the language file ↵rubidium
instead of maintaining a table in the code.
2009-02-23(svn r15557) -Fix: the font width cache was not updated when changing fonts ↵rubidium
causing the font spacing to be off when changing fonts in-game (auto font detection).
2009-02-14(svn r15474) -Cleanup: remove some (long) unused strings.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-01(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.frosch
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-16(svn r15105) -Fix (r15104): signed/unsigned warningsmatz
2009-01-16(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes ↵rubidium
strings.
2009-01-04(svn r14840) -Cleanup: remove duplicate includesglx
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.