rubidium
fea78fbfbb
(svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
2008-11-24 18:53:17 +00:00
rubidium
6878b181c7
(svn r14617) -Change: unduplicate the languagepack(header).
2008-11-24 11:20:07 +00:00
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
2008-11-02 11:20:15 +00:00
rubidium
c03e55b32a
(svn r14554) -Fix: languages using longer gender names than strgen supports.
2008-11-02 11:15:26 +00:00
rubidium
65404674a4
(svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD.
2008-10-17 17:42:51 +00:00
rubidium
c9a82ac3e7
(svn r14423) -Codechange: also do r14221 for the strings.
2008-09-30 21:18:28 +00:00
frosch
d43a475650
(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}.
2008-08-20 19:10:42 +00:00
rubidium
ab234cf90c
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they 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-07-17 13:47:04 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
smatz
f32ecbcadb
(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute
2008-04-18 21:33:21 +00:00
rubidium
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
2008-04-18 04:37:06 +00:00
smatz
110584808d
(svn r12557) -Cleanup: use MAX_PATH at two more places
2008-04-04 00:06:51 +00:00
maedhros
2023f59541
(svn r12417) -Fix: Add a new plural rule for Icelandic.
2008-03-25 17:39:02 +00:00
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00
rubidium
0bd93f5c37
(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
2007-12-25 14:08:56 +00:00
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
2007-12-25 09:48:53 +00:00
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
2007-11-19 21:02:30 +00:00
glx
f3d79154eb
(svn r11293) -Fix: newgrf defined industry news messages use TTD format for args, which is not the same as our. So we must detect those strings and pass them the right params
2007-10-18 20:35:59 +00:00
peter1138
616eb4134e
(svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
...
each STR_ entry. This avoids the need for a cast to StringID in some
places and thus better type-safety.
2007-08-03 09:08:49 +00:00
rubidium
178582b65d
(svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time.
2007-06-28 22:58:59 +00:00
peter1138
d69589b3c2
(svn r10324) -Codechange: reference engine names by index
2007-06-25 14:46:32 +00:00
peter1138
eb6594caa8
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
2007-06-25 13:30:38 +00:00
peter1138
fd73ea2058
(svn r10321) -Codechange: refer to sign text by index
2007-06-25 10:40:56 +00:00
peter1138
fc7418d19d
(svn r10314) -Codechange: Refer to vehicle names by index
2007-06-24 22:42:11 +00:00
rubidium
2d42f4544d
(svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}.
2007-06-22 23:41:33 +00:00
rubidium
fb7964e902
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
2007-06-21 17:38:59 +00:00
rubidium
7d4be11516
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-19 09:40:18 +00:00
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
2007-03-07 12:11:48 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
Darkvater
9727bb4cfc
(svn r8398) -Cleanup: Remove WATCOM crud from strgen and map.h include from macros.h as it is no longer needed.
2007-01-24 21:23:35 +00:00
Darkvater
4de91346e9
(svn r8253) -Codechange: Be more strict about language generation and fail any languages not having the mandatory ##name, ##ownname and ##isocode pragma's.
2007-01-18 15:27:57 +00:00
KUDr
33be1ecfb1
(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-11 17:29:39 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00
rubidium
21a1aa7c2c
(svn r7796) -Fix (r7759): cygwin does not need to rewrite the paths for strgen.
...
-Fix (r7759): supply the correct flags to cygwin to make it compile.
Note: cygwin itself is 'broken'. Known issues with cygwin are:
- bash does not work when including files that have dos line ending (\r\n).
This causes the strange errors in config.lib. The solution is running:
dos2unix config.lib
- the windows-native svn does not work (though it previously did). The
solution for this is to install the cygwin svn.
- libfreetype2's freetype-config --cflags does not have ft2build.h in the
path include search path. The workaround for this is to copy
/usr/include/ft2build.h to /usr/include/freetype2/. Also linking does
not work for static builds as freetype-config does not support that.
You have to add the '--disable-static' flag when running './configure'.
- libpng12 does not work with static building either. You have to add
the '--disable-static' flag when running './configure' too.
2007-01-03 13:55:25 +00:00
rubidium
66bbf336c6
(svn r7759) -Merge: makefile rewrite. This merge features:
...
- 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.
2007-01-02 19:19:48 +00:00