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.
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
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.
15 years ago
frosch
dc1a95a9fd
(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks.
15 years ago
frosch
d006eff7a9
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
15 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.
16 years ago
rubidium
846382a0f3
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
rubidium
fd016d5d09
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
16 years ago
rubidium
730b411878
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
smatz
3793b966c3
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
rubidium
b27adec700
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
16 years ago
frosch
d54d8bf295
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
16 years ago
rubidium
1ce0b03bf0
(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.
17 years ago
rubidium
877ca99198
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
17 years ago
glx
90616adcb0
(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
17 years ago
frosch
c9c870b768
(svn r12352) -Fix: Some callback-results were treated as 8 bit, when they were 15 bit, and vice versa.
...
Var 0x7E procedure-results are always 15 bit.
Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit.
Non-varaction2-calculated callback-results are also affected by the 8bit masking.
17 years ago
peter1138
d6670eed6b
(svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use.
17 years ago
belugas
4bbe046499
(svn r11797) -Fix: Add protection against not already created industry while doing industry callback.
...
Some variables used were linked to invalid industry.
17 years ago
rubidium
71d4004a85
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago