Commit Graph

51 Commits (60733359fa7e638b8e5a54fa82a5367c26644dda)

Author SHA1 Message Date
frosch 7b238142b8 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 11 years ago
frosch 3484660ab1 (svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID. 11 years ago
rubidium 710a35d8fe (svn r26071) -Fix: always initialise GRFFileProps 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
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 13 years ago
frosch e29221a31e (svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium) 13 years ago
frosch ebf19d6219 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 13 years ago
frosch 1900d7fcb6 (svn r23140) -Add: ErrorUnknownCallbackResult() 13 years ago
frosch bf664cd68d (svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset. 13 years ago
frosch bd696a6288 (svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters(). 13 years ago
frosch 92b69aa8f8 (svn r22848) -Add: The missing bits in station variable 43. 13 years ago
michi_cc 5a85a32413 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 13 years ago
michi_cc b31cf48c3a (svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks. 13 years ago
terkhen 9de81ed956 (svn r22575) -Fix (r22574): Compilation error. 13 years ago
terkhen db879d5bd1 (svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function. 13 years ago
frosch becf6c823f (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 13 years ago
frosch 90337d88dd (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 13 years ago
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 14 years ago
rubidium 3f6dab2127 (svn r20648) -Codechange: implement the NewGRF override manager for objects 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 5aab3e1948 (svn r20448) -Codechange: make some functions that can be const const 14 years ago
frosch 2221efd1e8 (svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs. 14 years ago
rubidium 3e1888287e (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 14 years ago
terkhen 2c6a94b445 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 14 years ago
frosch cab9bc419b (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 14 years ago
frosch b2ea8b196a (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 14 years ago
rubidium c9c46be3fb (svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
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. 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 fa9d25eb2c (svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks 14 years ago
yexo 966382f3d8 (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager 15 years ago
frosch eded89633c (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 15 years ago
frosch 119de3a5fe (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 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
yexo 5cad8dac74 (svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
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.
16 years ago
glx 37e27a296e (svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries when mapping newgrf entities to 'real' entities 17 years ago
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'. 17 years ago
glx 60ccc5bbce (svn r11423) -Codechange: store grfid when adding an override 17 years ago
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 17 years ago
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. 17 years ago
rubidium 23e1cf76e5 (svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups. 17 years ago
belugas ad446daf33 (svn r10256) -Add: Addition of IndustryTileOverrideManager 17 years ago
belugas 1a2f889a52 (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 17 years ago
belugas 9fe860f5f9 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 17 years ago
belugas 46d4d0d989 (svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it 17 years ago