summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
AgeCommit message (Collapse)Author
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
2009-12-13(svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by ↵alberth
Eddi), and a typo fix.
2009-11-11(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a ↵rubidium
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'. We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t). This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
2009-11-11(svn r18041) -Codechange: some coding stylerubidium
2009-10-18(svn r17802) -Feature(ette) [FS#1862]: [NewGRF] Textstack support for CB 37.frosch
2009-09-20(svn r17585) -Fix [FS#3214]: also do the StringID conversion for StringIDs ↵rubidium
that are pushed on the (NewGRF string) stack
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-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
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-22(svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF ↵peter1138
should be allowed as is instead of being treated as control codes.
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-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-09-14(svn r14321) -Add: support for newgrfs printing bytes/words/dwords as ↵rubidium
hexadecimals.
2008-08-16(svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF ↵rubidium
strings due to sign extension (minime)
2008-08-12(svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data ↵rubidium
around properly (minime)
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
2008-03-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium
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.
2008-01-25(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up ↵peter1138
missing/shuffled sprites in original data files instead of shuffling or skipping sprites directly. Some required glyphs were not loaded. -Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.