Commit Graph

46 Commits

Author SHA1 Message Date
Tyler Trahan fd9e72a7e7
Feature: Use real-time "wallclock" timekeeping units (#11341) 2024-01-23 11:36:09 -05:00
Rubidium eaae0bb5e7 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
2023-07-19 19:30:14 +02:00
glx22 b1fb209bed Add: {COLOUR} control code to allow colour changes at runtime 2023-06-20 19:05:10 +02:00
Henry Wilson 59dbcdb5ba Feature: Display power-to-weight ratio in ground vehicle details GUI 2022-11-08 21:02:08 +01:00
glx22 fb1ac307a4 Fix 44f2ef1: [strgen] Allow gender for {CARGO_SHORT} 2022-04-30 20:38:35 +02:00
frosch c6781cbd44
Fix d4c3d01d: add plural form 14 to strgen. (#8999) 2021-04-10 18:09:04 +02:00
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
PeterN 3b32075e8a
Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. (#6737)
This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-19 19:33:21 +01:00
Pavel Stupnikov 9175c349da Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726) 2018-04-17 18:41:31 +01:00
frosch 50a3f44539 (svn r27295) -Add: [strgen] Default plural subparameter positions for CARGO_xxx string control codes. 2015-05-28 17:26:53 +00:00
rubidium 6f21593bf6 (svn r26050) -Fix: possible, but currently untriggered, out of bounds access in strgen 2013-11-22 21:43:47 +00:00
frosch e28659aa51 (svn r25193) -Cleanup: [strgen] Remove some ancient unused string codes. 2013-04-17 18:24:13 +00:00
frosch bcd5038af9 (svn r25192) -Change: [strgen] Allow any number of colour codes in translations. 2013-04-17 18:22:37 +00:00
planetmaker 3c2d8cc28d (svn r25078) -Add: New plural form to be used by Scottish Gaelic (1,11; 2,12; 3..10, 13..19; other) 2013-03-10 11:02:11 +00:00
frosch fea76bbb78 (svn r24910) -Fix: [strgen] Description of plural form 3 was incorrect. 2013-01-12 17:21:30 +00:00
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
frosch 17dcc7a899 (svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals. 2012-07-14 14:21:25 +00:00
frosch 2ef319d0fe (svn r24373) -Codechange: Improve descriptions of plural forms. 2012-07-03 19:14:51 +00:00
rubidium 19923e81f9 (svn r24022) -Add: CARGO_LIST control code for strings 2012-03-10 19:04:49 +00:00
frosch 0011f9ce45 (svn r23805) -Add: {STRING6} and {STRING7}. 2012-01-15 15:49:01 +00:00
rubidium 1f083c3ac8 (svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files 2011-12-17 18:34:03 +00:00
rubidium 6c31b25e22 (svn r23568) -Codechange: only allocate the buffer for writing when it is really needed 2011-12-17 13:33:36 +00:00
rubidium fd559171b4 (svn r23527) -Codechange: unify colo(u)r as far as it goes 2011-12-15 22:02:00 +00:00
truebrain 4e09cde649 (svn r23297) -Add: {CARGO_TINY} (Rubidium) 2011-11-23 16:04:28 +00:00
rubidium b8866be093 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 2011-11-19 22:15:44 +00:00
frosch 70f9a6747e (svn r22304) -Add: {DECIMAL} string code to print decimal fractions. 2011-04-09 20:26:14 +00:00
smatz 79681051c8 (svn r21541) -Add: {DATE_SHORT} and {DATE_LONG} can now have cases 2010-12-19 20:15:32 +00:00
smatz 5a6c9877cb (svn r21538) -Add: {INDUSTRY} can now have cases 2010-12-18 22:50:46 +00:00
rubidium 87edf2524d (svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa 2010-10-21 20:12:48 +00:00
rubidium 5051ef80c6 (svn r19796) -Codechange: introduce and use a {DEPOT} string command 2010-05-12 18:19:36 +00:00
rubidium b11dfa8cb8 (svn r19758) -Add: {HEIGHT} string command 2010-05-04 22:04:28 +00:00
rubidium cdfd81405e (svn r19702) -Add: {HEX} to strgen 2010-04-24 07:30:08 +00:00
rubidium 23c9573b64 (svn r19649) -Add: plural rule for Maltese
-Fix: plural rule for Irish
2010-04-17 11:16:34 +00:00
smatz 53aaabe6e9 (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 2010-03-23 22:25:43 +00:00
rubidium 44f2ef179d (svn r19179) -Codechange: make strgen do some checking on whether genders are valid for a command (e.g. we don't have genders for numbers) 2010-02-20 23:02:03 +00:00
rubidium 770c5d0594 (svn r18626) -Fix [FS#3425]: {CARGO} takes 2 parameters, not 1. This made {N:XYZ} commands after CARGO mess up their indices and that then triggered an assertion 2009-12-25 10:04:30 +00:00
rubidium 65e6355422 (svn r18339) -Cleanup: remove SKIP support from strgen too 2009-11-29 17:24:39 +00:00
frosch bf0b72ae9e (svn r18329) -Remove: [strgen] Support for {SETX} and {SETXY}. Let it rest in peace as NewGRF relict. 2009-11-28 20:27:42 +00:00
rubidium 2f0b1ef5f1 (svn r18181) -Add: the concept of zero filled numbers to strgen 2009-11-19 13:53:54 +00:00
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
smatz a29bbb1e1f (svn r17157) -Add: localised decimal separator 2009-08-12 01:28:11 +00:00
rubidium bb9fee178d (svn r16811) -Change: introduce a plural 'rule' for Korean 2009-07-13 14:42:09 +00:00
rubidium 95a1bbdd7d (svn r16622) -Fix: {CARGO} only consumes 1 argument 2009-06-22 19:09:48 +00:00
rubidium a36ab04d5d (svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas 2009-04-25 21:09:42 +00:00
rubidium 1f25d9126f (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 2009-04-23 14:06:57 +00:00
Renamed from src/table/strgen.h (Browse further)