summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
AgeCommit message (Collapse)Author
2011-11-19(svn r23269) -Codechange: rename some control/string codes/IDs to be more ↵rubidium
consistent
2011-10-29(svn r23064) -Fix (r23062): incrementing hexadecimal numbers is hard...yexo
2011-10-29(svn r23063) -Add: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short ↵yexo
volume' and 'short weight' respectively
2011-10-14(svn r23029) -Fix: [NewGRF] support for cases in strings was 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-09-23(svn r22956) -Codechange: Enhance TEXTID_TO_STRINGID() with an assert_compile().frosch
2011-09-23(svn r22954) -Feature: [NewGRF] Allow Action4 to change text IDs 0x00D1 to ↵frosch
0x00E0 for feature 48.
2011-09-23(svn r22952) -Fix: properly limit the length of strings in a choice listyexo
2011-09-03(svn r22882) -Fix [FS#4758]: [NewGRF] DCxx text references via the textstack ↵frosch
are not allowed, but caused crash.
2011-08-20(svn r22780) -Fix: [NewGRF] String codes 84 and 87 print signed values.frosch
2011-08-20(svn r22779) -Add: [NewGRF] Stringcode for printing a unsinged word in power ↵frosch
units. (Hirundo)
2011-08-20(svn r22778) -Add: [NewGRF] Stringcodes for printing 0-based dates. (Hirundo)frosch
2011-08-20(svn r22777) -Fix-ish: [NewGRF] Stringcode 9A 01 is signed, and 9A 0B is ↵frosch
kind of unsigned. But since both were already casted to the right types later, this makes actually no difference.
2011-08-20(svn r22776) -Codechange: Unify the naming of NewGRF string codes; always ↵frosch
include the size of the parameter on the stack. (based on patch by Hirundo)
2011-08-20(svn r22775) -Fix: [NewGRF] Stringcodes 82 and 83 are the same as the date ↵frosch
codes in old OpenTTD. (Hirundo)
2011-08-20(svn r22774) -Fix: [NewGRF] String codes for dates should use unsigned ↵frosch
words, like old OpenTTD did before it learned dates before 1920. (Hirundo)
2011-08-12(svn r22735) -Fix [FS#4718]: triggering NOT_REACHED when playing with a ↵rubidium
NewGRF that supplies genders/cases for a language that you removed from your installation
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.
2011-06-12(svn r22564) -Codechange: Rename Get and Store persistent storage functions ↵terkhen
to GetValue and StoreValue.
2011-01-21(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken ↵yexo
since the typechecking of string parameters
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-12-07(svn r21433) -Fix: [NewGRF] a newgrf with incomplete string codes at the end ↵yexo
of a string could cause invalid memory reads
2010-11-25(svn r21327) -Fix: cases are always "off-by-one" w.r.t. to the case table as ↵rubidium
there is an implicit default case with index 0
2010-11-25(svn r21326) -Fix: off-by-one in case choice list construction causing case ↵rubidium
lists to fail completely
2010-11-17(svn r21228) -Fix: some MSVC 64 bits warningsrubidium
2010-11-17(svn r21221) -Fix (r11429): short cargo units names for some cargo ↵rubidium
types/strings are not properly mapped to the strings that we use for the default industries
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 r21207) -Codechange: replace the magic 0x00DE constant with something ↵rubidium
less magic
2010-11-16(svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next ↵rubidium
colour code) is not implemented
2010-11-16(svn r21204) -Codechange: unify style of string code conversionrubidium
2010-11-16(svn r21202) -Codechange: allow strings with embedded '\0' in GRFText.rubidium
2010-11-16(svn r21201) -Document: some GRFText methods/fieldsrubidium
2010-11-13(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as wellrubidium
2010-11-05(svn r21086) -Feature-ish: [NewGRF] String code to print the weight in ↵rubidium
format based on settings
2010-11-05(svn r21085) -Feature-ish: [NewGRF] Implement stringcode 9A 0C (station name)rubidium
2010-11-05(svn r21084) -Codechange: name a variable to cover its actual implementation ↵rubidium
better
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-31(svn r20249) -Codechange: change the newgrf name/description from a char* to ↵yexo
a GRFText* to make translations possible
2010-06-26(svn r20019) -Codechange: Apply function code style to a few small functions.alberth
2010-06-21(svn r20004) -Fix: [NewGRF] stringcodes 82, 83 and 84 weren't properly ↵yexo
converted to openttd codes so they didn't work
2010-04-06(svn r19570) -Add: [NewGRF] support for extended text code 0x9A 11, print qwordyexo
2010-04-06(svn r19569) -Fix: possible buffer underflow in newgrf string codeyexo
2010-03-21(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for ↵frosch
temporary/persistent storage. (Spotted by yexo)
2010-02-25(svn r19254) -Codechange: simplify newgrf text code by introducing a few ↵yexo
helper functions