Commit Graph

75 Commits

Author SHA1 Message Date
Henry Wilson cc62f4163f Cleanup: Remove unused size template parameters from SmallMap and Auto[Free|Delete]SmallVector 2019-03-26 20:15:57 +00:00
Henry Wilson c01a2e2a81 Codechange: Removed SmallVector completely 2019-03-26 20:15:57 +00:00
frosch 1aedadb49b (svn r27730) -Change: Split openttd.grf into openttd.grf and orig_extra.grf
openttd.grf is now always loaded and provides all extra graphics in case the (possibly outdated) baseset does not.
  orig_extra.grf contains graphics specific to the original baseset only.
2017-01-14 15:48:19 +00:00
frosch a3b356e057 (svn r27725) -Codechange: Remove IsOpenTTDBaseGRF and test for GCF_CONFIG instead, which does the same in all use-cases. 2017-01-07 21:36:25 +00:00
frosch 4d310eafc5 (svn r27200) -Feature/Fix [FS#6260]: [NewGRF] Add Misc. GRF Feature Flag 6 to enable the second rocky tile set. 2015-03-20 19:27:15 +00:00
rubidium 2b10ee1891 (svn r26364) -Fix [FS#5892]: writing out of the bounds of the rail type map 2014-02-22 21:12:28 +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 522e5ec86b (svn r24277) -Codechange: Store cargo and railtype translation tables in a SmallVector. 2012-05-25 20:57:36 +00:00
frosch b8f6b300d6 (svn r24276) -Codechange: Enhance GRFFile with constructor and destructor. 2012-05-25 20:54:54 +00:00
michi_cc 6db39410a1 (svn r23887) -Feature: [NewGRF] Support for container version 2. 2012-02-04 13:29:04 +00:00
truebrain da460f6928 (svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often 2012-01-01 16:38:38 +00:00
rubidium df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 2011-12-19 17:48:04 +00:00
rubidium 3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
frosch 5aaecae6e2 (svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0. 2011-11-08 17:28:52 +00:00
michi_cc 707b0f48e6 (svn r23114) -Feature: [NewGRF] Ambient sound effect callback. 2011-11-04 21:05:08 +00:00
rubidium 1842622d81 (svn r22973) -Add: support for replacing the buoy via action123 2011-10-02 20:26:43 +00:00
planetmaker 3b70f697e1 (svn r22918) -Fix: [NewGRF] Properties for feature 0x05 were not zeroed for each NewGRF, thus waterfeatures could glitch when the properties were set by a previous NewGRF and the NewGRF assumed the properties to be unmodified 2011-09-11 09:31:57 +00:00
rubidium 8e5f433b22 (svn r22826) -Codechange: pass sub directory to NewGRF loading functions 2011-08-24 13:48:29 +00:00
frosch 236075e944 (svn r22784) -Fix: Move Action 2 references from GRFFile to GrfProcessingState, and reset them after each loading stage. 2011-08-21 12:07:15 +00:00
frosch bb57e0934a (svn r22783) -Fix: Move Action 1 references from GRFFile to GrfProcessingState, and reset them after each loading stage. 2011-08-21 12:06:54 +00:00
frosch c9e920f1eb (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 2011-07-29 22:23:17 +00:00
yexo 6a1eb377ae (svn r22408) -Cleanup: remove unused variable GRFFile::sprite_offset 2011-05-01 20:46:36 +00:00
rubidium 0500c92003 (svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names 2010-11-16 12:47:22 +00:00
frosch a54b711dc1 (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. 2010-09-25 21:59:22 +00:00
smatz 82949024f1 (svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings 2010-09-06 18:20:07 +00:00
rubidium 23ba40d385 (svn r20654) -Codechange: implement reading action0 of objects 2010-08-28 18:21:09 +00:00
rubidium 412bb37f59 (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 2010-08-08 09:07:40 +00:00
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 2010-05-13 09:44:44 +00:00
rubidium 21883a84d7 (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 2010-04-24 13:36:29 +00:00
rubidium 3461430a34 (svn r19704) -Codechange: unify the style of GSF enums; now they're plural instead of mixed 2010-04-24 11:52:58 +00:00
yexo 92e36c87fd (svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect properties from other newgrfs 2010-04-20 05:52:51 +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
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 2010-03-18 23:12:38 +00:00
yexo 80fb5c70c8 (svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles 2010-02-22 14:16:19 +00:00
peter1138 32ef582c37 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 2010-01-30 21:49:22 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
frosch 666c856457 (svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range. 2010-01-03 19:29:56 +00:00
rubidium 3e6c530e1e (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 2009-12-15 00:00:51 +00:00
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. 2009-11-24 13:15:58 +00:00
frosch e3c7e3c169 (svn r18253) -Codechange: Convert the linked list of loaded GRFFiles into a SmallVector. 2009-11-23 13:14:45 +00:00
rubidium c2221885f4 (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 2009-11-09 09:59:35 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
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. 2009-07-17 22:00:13 +00:00
smatz e6a165881c (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 2009-06-26 13:44:14 +00:00
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
2009-05-10 17:27:25 +00:00
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. 2009-03-08 16:51:08 +00:00
peter1138 a68e0ee42f (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 2009-02-08 18:11:06 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +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