summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2009-08-05(svn r17073) -Codechange: constify iec_prefixes[], change the code around a bitsmatz
2009-07-31(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and ↵rubidium
document why they (assert(0)) have to stay for the remaining cases.
2009-07-25(svn r16946) -Doc: Adding docs for some string parameter manipulation functions.alberth
2009-07-24(svn r16935) -Codechange: Improve wording of .lng file error message (found ↵alberth
by cmoiromain).
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-16(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint ↵rubidium
struct and make it more similar to Station.
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-13(svn r16811) -Change: introduce a plural 'rule' for Koreanrubidium
2009-06-27(svn r16677) -Codechange: Dimension width and height are unsigned.alberth
2009-06-10(svn r16560) -Fix (r16559): wrong replacement at one placesmatz
2009-06-10(svn r16559) -Codechange: introduce Company::IsValidAiID() and ↵smatz
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-06-01(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD ↵smatz
for months. All attempts to do another workaround failed.
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
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.