summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
AgeCommit message (Collapse)Author
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.
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-13(svn r11627) -Fix [FS#1532] (r11145): poping from text reference stack must ↵glx
be done in a precise order. But some compiler (MSVC) over optimised it and inverted this order.
2007-12-11(svn r11622) -Codechange: support the unicode version of the 'control' ↵rubidium
characters.
2007-10-18(svn r11293) -Fix: newgrf defined industry news messages use TTD format for ↵glx
args, which is not the same as our. So we must detect those strings and pass them the right params
2007-10-17(svn r11287) -Codechange: add support for pushing paramaters into ↵rubidium
NewIndustries' error messages. Patch by Csaboka.
2007-10-14(svn r11257) -Fix (r11145): wrong endian used when preparing text ref stackglx
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-08-13(svn r10877) -Fix: some isocodes were wrongglx
2007-06-13(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ↵maedhros
ids for most languages.
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-05-02(svn r9769) [newGRF] -Feature: Add translation support for Esperanto, ↵belugas
Bulgarian, Japanese and Korean
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-01-14(svn r8117) -Fix (r8114): 'no matching operator delete found' warning on VC8KUDr
2007-01-14(svn r8114) Allocate struct GRFText in the C++ waytron