summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
AgeCommit message (Collapse)Author
2020-05-21Codechange: Use std::string when translating TTDP NewGRF string codes.Michael Lutz
2020-05-21Codechange: Replace custom linked list for GRF texts with STL vectors and ↵Michael Lutz
strings.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2017-04-09(svn r27851) -Fix [FS#6555]: StringID truncation to 16 bits broke string ↵peter1138
remapping test.
2014-01-12(svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, ↵frosch
it's only used there.
2014-01-12(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2014-01-12(svn r26239) -Fix: Check that there is space left in the string parameter ↵frosch
array, before pushing NewGRF parameters to it.
2012-01-15(svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were brokenyexo
2011-10-12(svn r23027) -Fix: in some cases NewGRF string arguments were popped twice ↵yexo
from the newgrf textstack
2011-10-01(svn r22970) -Fix [FS#4769]: strip newlines from NewGRF strings that should ↵rubidium
not have newlines, e.g. the NewGRF's name
2011-07-03(svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and ↵frosch
SwitchToErrorRefStack().
2011-07-03(svn r22628) -Codechange: Allow passing the textref stack values to use to ↵frosch
StartTextRefStackUsage() instead of always using the temporary NewGRF registers.
2011-07-03(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to ↵frosch
StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
2010-12-08(svn r21435) -Fix: NewGRF strings that referenced a value that was set by a ↵yexo
string command later in the string failed
2010-11-16(svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for pluralsrubidium
2010-11-16(svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases ↵rubidium
and genders
2010-11-16(svn r21209) -Feature: [NewGRF] Allow setting the gender of the current ↵rubidium
string or select the case of the next substring
2010-11-16(svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case ↵rubidium
and gender names
2010-11-16(svn r21207) -Codechange: replace the magic 0x00DE constant with something ↵rubidium
less magic
2010-11-16(svn r21202) -Codechange: allow strings with embedded '\0' in GRFText.rubidium
2010-11-13(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as wellrubidium
2010-07-31(svn r20249) -Codechange: change the newgrf name/description from a char* to ↵yexo
a GRFText* to make translations possible
2010-04-06(svn r19569) -Fix: possible buffer underflow in newgrf string codeyexo
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-09-20(svn r17584) -Codechange: split the NewGRF StringID mapping in a 'global' ↵rubidium
part and a part that's for NewGRF strings
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
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-01-03(svn r14817) -Cleanup: unify the place where the @file header is placedsmatz
2008-02-29(svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other ↵peter1138
strings.
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.
2007-10-17(svn r11287) -Codechange: add support for pushing paramaters into ↵rubidium
NewIndustries' error messages. Patch by Csaboka.
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
the current language. Since only one error can be loaded anyway, if the language didn't match you'd get "Undefined string". Also since we're only loading one language there's no need to use AddGRFString any more.
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.