Commit Graph

105 Commits (5b226adc759e195a5cedc91dbeef3180102af938)

Author SHA1 Message Date
frosch ffdcbb8f21 (svn r27928) -Fix: [NewGRF] While executing random triggers, var 5F should include the new triggers.
-Fix: [NewGRF] Reset used random triggers only after all A123 chains have been resolved, so that all RA2 in all chains can test the shard triggers. This also includes multiple RA2 in the same A123 chain.
-Fix: [NewGRF] Industry random triggers are stored per tile, even when randomising the shared random bits of the parent industry.
7 years ago
frosch ce92faf682 (svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject constructor. 11 years ago
frosch b0680afaa5 (svn r26387) -Cleanup (r26173): No need to manually clear registers before resolving. 11 years ago
frosch badbd2f894 (svn r26172) -Codechange: Make SpriteGroup::Resolve aware of nested calls. 11 years ago
frosch 6c63c98d7f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch f5131bd588 (svn r24695) -Fix/Cleanup: Remove remaining (incorrect) usages of ResolverObject::scope and count. 12 years ago
alberth 6c1ff5f772 (svn r24693) -Doc: Add some doxymentation into the newgrf code. 12 years ago
alberth 8a297ca5f1 (svn r24692) -Cleanup: Cleanup final parts of the old resolver code. 12 years ago
alberth 7b18c31f37 (svn r24691) -Codechange: Add resolver classes for vehicles. 12 years ago
alberth c70c67d5b0 (svn r24690) -Codechange: Add resolver classes for industry tiles. 12 years ago
alberth 189758f2ef (svn r24688) -Codechange: Add resolver classes for generics. 12 years ago
alberth 44a364565d (svn r24687) -Codechange: Add resolver classes for airports. 12 years ago
alberth a2fe66cc02 (svn r24685) -Codechange: Add resolver classes for rail types. 12 years ago
alberth 87122038fc (svn r24684) -Codechange: Add resolver classes for stations. 12 years ago
alberth 687d34e844 (svn r24683) -Codechange: Add resolver classes for objects. 12 years ago
alberth 2609cce514 (svn r24682) -Codechange: Add resolver classes for houses. 12 years ago
alberth 4b20318b5d (svn r24681) -Codechange: Add resolver classes for cargoes. 12 years ago
alberth bc123873cf (svn r24680) -Codechange: Add resolver classes for canals. 12 years ago
alberth 818332f3e8 (svn r24679) -Codechange: Add resolver classes for towns. 12 years ago
alberth 6a619b40d5 (svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes. 12 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
frosch 46e77ee24f (svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60. 13 years ago
frosch 6eb0ebf7df (svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??. 13 years ago
michi_cc f0ffa534de (svn r23072) -Feature: [NewGRF] House callback 0x148. 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 7a7b16336f (svn r22731) -Fix: [NewGRF] The construction stage sprites were incorrectly selected in cases other than 1 or 4 sprites per set. 13 years ago
frosch 1e0ac7f232 (svn r22723) -Fix: Do not restrict AdvVarAct2 to 255 operations. 13 years ago
michi_cc 5a85a32413 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 13 years ago
frosch 0f8065fef4 (svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles. 13 years ago
frosch e2a5d69cb7 (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 13 years ago
terkhen 3d96adb03f (svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue. 14 years ago
terkhen ac4f4447e0 (svn r22563) -Codechange: Use a function for storing values inside the persistent storage. 14 years ago
terkhen 58e70e26f2 (svn r22561) -Codechange: Remove constness from Object in ResolverObject. 14 years ago
terkhen 92c429e3ee (svn r22560) -Codechange: Remove constness from House in ResolverObject. 14 years ago
terkhen 431fba8852 (svn r22559) -Codechange: Remove constness from Station in ResolverObject. 14 years ago
terkhen faa77c9bc4 (svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject. 14 years ago
frosch becf6c823f (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 14 years ago
frosch 5ca3ac41f0 (svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately. 14 years ago
frosch 90337d88dd (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 14 years ago
frosch 7130afef14 (svn r22452) -Fix (r18708): Zero register 0x100 as specified before resolving custom station foundations. 14 years ago
smatz c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
rubidium e590fe22ac (svn r21454) -Codechange: add support for object variable 48 14 years ago
rubidium e014667eae (svn r20660) -Codechange: implement (most) of action2 support 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 3a6c4c2f85 (svn r20624) -Codechange: some constifying for NewGRF house 14 years ago
frosch 12ed2a7597 (svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile. 14 years ago
frosch b2ea8b196a (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 14 years ago
yexo c072b50dc6 (svn r20364) -Codechange: add infrastructure for airport callbacks 14 years ago