Commit Graph

242 Commits (jgrpp)

Author SHA1 Message Date
rubidium 54473f0cda (svn r19704) -Codechange: unify the style of GSF enums; now they're plural instead of mixed 14 years ago
rubidium 3461430a34 (svn r19704) -Codechange: unify the style of GSF enums; now they're plural instead of mixed 14 years ago
yexo 318ec9b545 (svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect properties from other newgrfs 14 years ago
yexo 92e36c87fd (svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect properties from other newgrfs 14 years ago
smatz d2e99657fa (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
smatz 53aaabe6e9 (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
yexo cc23ebd446 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 14 years ago
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 14 years ago
yexo bc156f754a (svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles 14 years ago
yexo 80fb5c70c8 (svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles 14 years ago
peter1138 91c42bb596 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 15 years ago
peter1138 32ef582c37 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
frosch 0e39e68794 (svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range. 15 years ago
frosch 666c856457 (svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range. 15 years ago
rubidium 25d04c0777 (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 15 years ago
rubidium 3e6c530e1e (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 15 years ago
frosch f60a437d36 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
frosch d507136e04 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
frosch f48f252a2d (svn r18253) -Codechange: Convert the linked list of loaded GRFFiles into a SmallVector. 15 years ago
frosch e3c7e3c169 (svn r18253) -Codechange: Convert the linked list of loaded GRFFiles into a SmallVector. 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
rubidium c2221885f4 (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
frosch 12ea92a257 (svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables. 15 years ago
frosch f129634f52 (svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables. 15 years ago
smatz d39c08fd9d (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 15 years ago
smatz e6a165881c (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 15 years ago
smatz ce7dff4acc (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
smatz f5316c5cbd (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
frosch 959c297fb9 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 15 years ago
frosch 987e72f4f2 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 15 years ago
peter1138 793eabf61e (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
peter1138 a68e0ee42f (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium 33e18c236d (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 16 years ago
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 16 years ago
rubidium 1ce0b03bf0 (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. 16 years ago
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. 16 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
peter1138 e40b66861c (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 16 years ago
peter1138 9ccce57438 (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 16 years ago
frosch 0aece5ed6b (svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
-Fix: Add some variables that were missing in one or both cases.
17 years ago
frosch c2bad6d22c (svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
-Fix: Add some variables that were missing in one or both cases.
17 years ago
peter1138 57aacb50c8 (svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere. 17 years ago
peter1138 e76f7c9359 (svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere. 17 years ago
frosch 4a1ad2c85f (svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner shores, if shores got replaced by ActionA. 17 years ago
frosch 79aa7247c0 (svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner shores, if shores got replaced by ActionA. 17 years ago
rubidium 71d4004a85 (svn r11776) -Codechange: more header splittings to reduce the dependencies. 17 years ago
rubidium 38115acf5a (svn r11776) -Codechange: more header splittings to reduce the dependencies. 17 years ago
belugas a021159e4e (svn r11757) -Fix(r11727): Don't use a function's default parameter when the value can be (more adequately, even better) computed from another source.
Thanks peter1138.
17 years ago
belugas 6b37ab36ea (svn r11757) -Fix(r11727): Don't use a function's default parameter when the value can be (more adequately, even better) computed from another source.
Thanks peter1138.
17 years ago
belugas 361b12eff0 (svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB 17 years ago
belugas 8ee1faca6c (svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium af0616729a (svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
17 years ago
rubidium f546de602b (svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
17 years ago
belugas b604d40584 (svn r11346) -Codechange: Add marker has_newwater to the loaded grf features. Not in used yet. 17 years ago
belugas b5973f12e6 (svn r11346) -Codechange: Add marker has_newwater to the loaded grf features. Not in used yet. 17 years ago
belugas 0f0b58d429 (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
17 years ago
belugas 108ee9bc3e (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
17 years ago
belugas 4c243d099c (svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one. 17 years ago
belugas 4af692558a (svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one. 17 years ago
belugas 311b04e87a (svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file. 17 years ago
belugas 86abe1b229 (svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file. 17 years ago
maedhros 1d05573950 (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 17 years ago
maedhros 889f2ab48c (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 17 years ago
peter1138 9931916345 (svn r9411) -Codechange: Add support for loading of newcargo data. 17 years ago
peter1138 4d81a464e2 (svn r9411) -Codechange: Add support for loading of newcargo data. 17 years ago
belugas 8952924c64 (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 17 years ago
belugas dcd510c81f (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 17 years ago
maedhros 209101391a (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
17 years ago
maedhros 73ff939ddb (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
17 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 17 years ago
rubidium 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 17 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 17 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 17 years ago
peter1138 bc968d23f1 (svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47 18 years ago
peter1138 29c8142784 (svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47 18 years ago
peter1138 719f5c7930 (svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. 18 years ago
peter1138 a23b4594ed (svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. 18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium 013df98f79 (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.
18 years ago
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.
18 years ago