Commit Graph

52 Commits

Author SHA1 Message Date
frosch
76fc242666 (svn r27534) -Fix [FS#6435]: [NewGRF] Station spritelayouts did not accept the var10 flag for the palette. 2016-04-02 16:02:22 +00:00
frosch
7b238142b8 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 2014-01-12 18:00:39 +00:00
frosch
3484660ab1 (svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID. 2014-01-12 18:00:19 +00:00
rubidium
710a35d8fe (svn r26071) -Fix: always initialise GRFFileProps 2013-11-23 18:11:22 +00:00
planetmaker
f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
rubidium
0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 2012-01-03 20:26:05 +00:00
rubidium
33d71b45fe (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 2011-11-12 13:00:29 +00:00
frosch
e29221a31e (svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium) 2011-11-08 17:29:01 +00:00
frosch
ebf19d6219 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 2011-11-08 17:26:49 +00:00
frosch
1900d7fcb6 (svn r23140) -Add: ErrorUnknownCallbackResult() 2011-11-08 17:24:15 +00:00
frosch
bf664cd68d (svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset. 2011-09-11 15:10:09 +00:00
frosch
bd696a6288 (svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters(). 2011-09-11 15:09:13 +00:00
frosch
92b69aa8f8 (svn r22848) -Add: The missing bits in station variable 43. 2011-08-27 08:42:24 +00:00
michi_cc
5a85a32413 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 2011-07-11 16:32:35 +00:00
michi_cc
b31cf48c3a (svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks. 2011-07-11 16:32:19 +00:00
terkhen
9de81ed956 (svn r22575) -Fix (r22574): Compilation error. 2011-06-13 07:01:36 +00:00
terkhen
db879d5bd1 (svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function. 2011-06-12 20:42:23 +00:00
frosch
becf6c823f (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 2011-05-29 16:56:22 +00:00
frosch
90337d88dd (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 2011-05-14 17:25:45 +00:00
yexo
36e3b0ea0c (svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for industry vars 60,61,62,63 are unsigned instead of signed 2010-10-19 21:00:45 +00:00
rubidium
3f6dab2127 (svn r20648) -Codechange: implement the NewGRF override manager for objects 2010-08-28 17:30:55 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
5aab3e1948 (svn r20448) -Codechange: make some functions that can be const const 2010-08-11 18:50:23 +00:00
frosch
2221efd1e8 (svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs. 2010-08-11 07:42:47 +00:00
rubidium
3e1888287e (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 2010-08-10 15:49:35 +00:00
terkhen
2c6a94b445 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 2010-08-09 10:59:30 +00:00
frosch
cab9bc419b (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 2010-08-09 07:32:04 +00:00
frosch
b2ea8b196a (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 2010-08-09 07:10:42 +00:00
rubidium
c9c46be3fb (svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase 2010-08-07 20:51:07 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
frosch
e5691636e6 (svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently. 2010-07-11 17:28:19 +00:00
yexo
cc23ebd446 (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
fa9d25eb2c (svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks 2010-03-16 16:04:35 +00:00
yexo
966382f3d8 (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager 2010-02-22 14:15:48 +00:00
frosch
eded89633c (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 2010-01-17 15:05:25 +00:00
frosch
119de3a5fe (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 2010-01-16 22:25:44 +00:00
rubidium
9467b7c6d6 (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
yexo
5cad8dac74 (svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses 2010-01-08 22:42:00 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
frosch
a64298ebb9 (svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
-Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22 16:04:11 +00:00
glx
37e27a296e (svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries when mapping newgrf entities to 'real' entities 2008-02-08 16:56:52 +00:00
frosch
90ee6a16ab (svn r12028) -Codechange: Split common part of station var 0x67, house var 0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'. 2008-01-31 17:46:08 +00:00
glx
60ccc5bbce (svn r11423) -Codechange: store grfid when adding an override 2007-11-12 20:40:58 +00:00
belugas
cfb9cb8cec (svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override 2007-10-04 00:59:52 +00:00
belugas
e4c4c40753 (svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking. 2007-09-26 02:15:00 +00:00
rubidium
23e1cf76e5 (svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups. 2007-07-25 17:18:13 +00:00
belugas
ad446daf33 (svn r10256) -Add: Addition of IndustryTileOverrideManager 2007-06-21 17:09:10 +00:00
belugas
1a2f889a52 (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 2007-06-09 02:05:51 +00:00
belugas
9fe860f5f9 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 2007-06-08 17:54:18 +00:00