Commit Graph

58 Commits (3ed8b083fdf1d52d48d4c8833d214123b2e738ca)

Author SHA1 Message Date
rubidium af80e9106e (svn r22826) -Codechange: pass sub directory to NewGRF loading functions 13 years ago
frosch 702e983a73 (svn r22784) -Fix: Move Action 2 references from GRFFile to GrfProcessingState, and reset them after each loading stage. 13 years ago
frosch 8345ffbe07 (svn r22783) -Fix: Move Action 1 references from GRFFile to GrfProcessingState, and reset them after each loading stage. 13 years ago
frosch 31ad03e4d2 (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
yexo cd4379aada (svn r22408) -Cleanup: remove unused variable GRFFile::sprite_offset 13 years ago
rubidium d16c4c77c6 (svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names 14 years ago
frosch 81b35213f2 (svn r20848) -Add: _loaded_newgrf_features.used_liveries to keep track which liveries are used by some vehicle resp. which are not used at all. 14 years ago
smatz 8456217bf4 (svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings 14 years ago
rubidium 4ec93f6bab (svn r20654) -Codechange: implement reading action0 of objects 14 years ago
rubidium 92767f454e (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 14 years ago
rubidium f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium ab8562f71c (svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables 14 years ago
rubidium 54473f0cda (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
smatz d2e99657fa (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 bc156f754a (svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles 15 years ago
peter1138 91c42bb596 (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
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
rubidium 25d04c0777 (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 f48f252a2d (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 99d46e0ad7 (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
smatz d39c08fd9d (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
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. 16 years ago
peter1138 793eabf61e (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
rubidium 33e18c236d (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 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 c51b81c247 (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. 17 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
peter1138 57aacb50c8 (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
rubidium 71d4004a85 (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 361b12eff0 (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 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
belugas b604d40584 (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 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 311b04e87a (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
peter1138 9931916345 (svn r9411) -Codechange: Add support for loading of newcargo data. 18 years ago