Commit Graph

32 Commits (25bc8eb1e2019a5482b1ec49e606672eea383304)

Author SHA1 Message Date
frosch 3a1fcd76dd (svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, it's only used there. 11 years ago
frosch 7b238142b8 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 11 years ago
frosch 9215fd3c96 (svn r26239) -Fix: Check that there is space left in the string parameter array, before pushing NewGRF parameters to it. 11 years ago
yexo 3557d5a784 (svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were broken 13 years ago
yexo e6a2682b93 (svn r23027) -Fix: in some cases NewGRF string arguments were popped twice from the newgrf textstack 13 years ago
rubidium 27644093c2 (svn r22970) -Fix [FS#4769]: strip newlines from NewGRF strings that should not have newlines, e.g. the NewGRF's name 13 years ago
frosch df02515cf1 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 13 years ago
frosch 600c6c0f2e (svn r22628) -Codechange: Allow passing the textref stack values to use to StartTextRefStackUsage() instead of always using the temporary NewGRF registers. 13 years ago
frosch e7971ab5df (svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation. 13 years ago
yexo 70fe377930 (svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed 14 years ago
rubidium 3552be9616 (svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for plurals 14 years ago
rubidium 6b0ee92bc9 (svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders 14 years ago
rubidium 17dd6099d9 (svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring 14 years ago
rubidium d16c4c77c6 (svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names 14 years ago
rubidium 3c09b725d6 (svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic 14 years ago
rubidium fca95882cb (svn r21202) -Codechange: allow strings with embedded '\0' in GRFText. 14 years ago
rubidium 2a29b99681 (svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well 14 years ago
yexo 6117b0abc7 (svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible 14 years ago
yexo 043ff01b4a (svn r19569) -Fix: possible buffer underflow in newgrf string code 14 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium f2a2905669 (svn r17584) -Codechange: split the NewGRF StringID mapping in a 'global' part and a part that's for NewGRF strings 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium f1605cf475 (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. 16 years ago
smatz 80551450f7 (svn r14817) -Cleanup: unify the place where the @file header is placed 16 years ago
peter1138 e40b66861c (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 17 years ago
peter1138 3e017833b2 (svn r12015) -Fix [FS#1716] (Revert r11422): Patch in FS#1430 avoided 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. 17 years ago
rubidium eaff35a821 (svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka. 17 years ago
rubidium 08c5765c0b (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F. 17 years ago
maedhros 94d390eac4 (svn r10114) -Fix: Only load newgrf error messages if the language matches 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.
17 years ago
belugas 8952924c64 (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 18 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
rubidium 013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- 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.
18 years ago