summaryrefslogtreecommitdiff
path: root/src/table/control_codes.h
AgeCommit message (Collapse)Author
2018-04-19Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching ↵PeterN
colours. (#6737) This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-17Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726)Pavel Stupnikov
2016-12-23(svn r27706) -Feature: [NewGRF] String command 9A 1E to print the name of a ↵frosch
cargo type.
2016-12-22(svn r27705) -Doc: Add the hex codes to the SCC_NEWGRF_ enum entries.frosch
2014-01-12(svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to ↵frosch
display amounts of cargo.
2014-01-12(svn r26237) -Cleanup: Remove unused SCC_STRING_ID.frosch
2013-06-24(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other ↵rubidium
than default fonts, so get rid of it
2012-03-10(svn r24022) -Add: CARGO_LIST control code for stringsrubidium
2012-01-16(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the ↵yexo
StringControlCode enum since it's value is not allowed to change
2012-01-15(svn r23805) -Add: {STRING6} and {STRING7}.frosch
2011-12-19(svn r23635) -Add: introduce GSText, to allow translating GameScript text, ↵truebrain
even over network
2011-11-23(svn r23297) -Add: {CARGO_TINY} (Rubidium)truebrain
2011-11-19(svn r23269) -Codechange: rename some control/string codes/IDs to be more ↵rubidium
consistent
2011-10-29(svn r23063) -Add: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short ↵yexo
volume' and 'short weight' respectively
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 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-04-09(svn r22304) -Add: {DECIMAL} string code to print decimal fractions.frosch
2011-01-21(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken ↵yexo
since the typechecking of string parameters
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-05-12(svn r19796) -Codechange: introduce and use a {DEPOT} string commandrubidium
2010-05-04(svn r19758) -Add: {HEIGHT} string commandrubidium
2010-04-06(svn r19570) -Add: [NewGRF] support for extended text code 0x9A 11, print qwordyexo
2009-11-29(svn r18339) -Cleanup: remove SKIP support from strgen toorubidium
2009-11-19(svn r18181) -Add: the concept of zero filled numbers to strgenrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-01-16(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes ↵rubidium
strings.
2009-01-03(svn r14791) -Add: the ability to make ISO dates with the string system ↵rubidium
(PhilSophus)
2008-09-30(svn r14423) -Codechange: also do r14221 for the strings.rubidium
2008-09-14(svn r14321) -Add: support for newgrfs printing bytes/words/dwords as ↵rubidium
hexadecimals.
2008-08-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
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.
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-08-07(svn r10820) -Codechange: make negative currencies red and restore the ↵rubidium
colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies). -Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-06-25(svn r10324) -Codechange: reference engine names by indexpeter1138
2007-06-25(svn r10323) -Codechange: reference company name, number and player ↵peter1138
(president) name by index
2007-06-25(svn r10321) -Codechange: refer to sign text by indexpeter1138
2007-06-24(svn r10314) -Codechange: Refer to vehicle names by indexpeter1138
2007-06-21(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, ↵rubidium
because everything is already 64 bits by default.
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
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.