Commit Graph

84 Commits (e8cc7d8009fadecd3794724249277a3d8d393480)

Author SHA1 Message Date
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. 13 years ago
terkhen ac4f4447e0 (svn r22563) -Codechange: Use a function for storing values inside the persistent storage. 13 years ago
terkhen 58e70e26f2 (svn r22561) -Codechange: Remove constness from Object in ResolverObject. 13 years ago
terkhen 92c429e3ee (svn r22560) -Codechange: Remove constness from House in ResolverObject. 13 years ago
terkhen 431fba8852 (svn r22559) -Codechange: Remove constness from Station in ResolverObject. 13 years ago
terkhen faa77c9bc4 (svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject. 13 years ago
frosch becf6c823f (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 13 years ago
frosch 5ca3ac41f0 (svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately. 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
frosch 7130afef14 (svn r22452) -Fix (r18708): Zero register 0x100 as specified before resolving custom station foundations. 13 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
frosch 253fd969fd (svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR. 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
frosch d67e221af1 (svn r20108) -Change: [NewGRF] Report substitute industry type in AI railstation selection callback. 14 years ago
frosch bca1abe146 (svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds. 14 years ago
frosch dc1a95a9fd (svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks. 14 years ago
frosch d006eff7a9 (svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo) 14 years ago
yexo 1975efea58 (svn r19195) -Codechange: actually draw newgrf airport tiles 15 years ago
peter1138 7cc76dcbda (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 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
rubidium c719069e05 (svn r18514) -Codechange: make it a bit clearer that for tile layouts num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites) 15 years ago
frosch 3cb949a17d (svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h 15 years ago
frosch a6f09889e5 (svn r17857) -Fix (r10442): [NewGRF] 'subtract-in' is also signed for production callback version 0. 15 years ago
frosch 01737c0a52 (svn r17672) -Revert (r8081): 'last_value' and 'reseed' are shared between procedure and main chain.
-Fix (r8075): 'scope' and 'count' are not.
15 years ago
frosch 8c7bb55da2 (svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them. 15 years ago
frosch 7903e2be91 (svn r17670) -Cleanup (r12819): ResolverObject::procedure_call is not used anymore. 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 46d94fdfed (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 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
rubidium 9f5d8d0f56 (svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved when the new pool was added, which mean there weren't enough spritegroups when you have more than about a dozen ECS vectors.
-Change: increase the spritegroup pool's maximum size to something more than the number of real sprites that OpenTTD can handle; for example ECS has about 30 spritegroups per real sprite. With the 'old' limit that would mean 'only' about 4000 real sprites worth of spritegroups could be loaded.
15 years ago
rubidium 846382a0f3 (svn r16402) -Codechange: make Resolve a function of SpriteGroup 15 years ago