smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
rubidium
168ae6f7e2
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
f2317d0d9d
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
rubidium
f490394aa8
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
peter1138
5551e3d2c6
(svn r15957) -Fix (r4767): Set callback_param1 (var 10) to 1 only when requested.
16 years ago
peter1138
679248fb51
(svn r15956) -Codechange: Enumorize station spec flags.
16 years ago
peter1138
ad30a3c4ca
(svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium
db546e607f
(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs).
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
frosch
259a073f0c
(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
frosch
2e6894b7bb
(svn r14487) -Fix: The station picker preview did not draw child sprites.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
smatz
f503c7c99e
(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places
16 years ago
rubidium
88b1ee0b43
(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc)
16 years ago
frosch
93d0ca8731
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
16 years ago
frosch
1aa6e00b48
(svn r13851) -Fix (r9393): GetTownByTile() is only valid for houses and roads.
16 years ago
smatz
05c2a8eba4
(svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries
16 years ago
rubidium
bfa66f70b3
(svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on the same axis as connected, even when the tunnel faces the wrong direction.
16 years ago
rubidium
dce1b33196
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
17 years ago
rubidium
a40bba8bac
(svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations.
17 years ago
rubidium
181b36ca0b
(svn r12801) -Codechange: remove the dependency of function.h in town_map.h
17 years ago
rubidium
15680e477a
(svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
17 years ago
peter1138
4f8409daf6
(svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+
17 years ago
peter1138
210d757499
(svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes)
17 years ago
peter1138
0cd14f9ebb
(svn r12747) -Codechange: Add varaction retrieval of station animation frame
17 years ago
peter1138
a45c1d45e5
(svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours.
17 years ago
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
17 years ago
glx
bbdb831301
(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
17 years ago
smatz
bfae49aeb2
(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script
17 years ago
frosch
b7993793c8
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
17 years ago
frosch
a40d761d7f
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
17 years ago
frosch
fd0f57a794
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
17 years ago
frosch
fe9891c8ec
(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
peter1138
69cb009075
(svn r11881) -Cleanup: Code style for global variables.
17 years ago
peter1138
68a3df82b9
(svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
6c954cad5f
(svn r11801) -Codechange: remove some unneeded includes from some header files.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
17 years ago
glx
1b53dbf9cc
(svn r11679) -Add: [newgrf] support for station vars 67 and 68
17 years ago
skidd13
eeaa348f8b
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
skidd13
8be526e499
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
rubidium
127c7c9b0f
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
17 years ago
rubidium
a0d37ea7b9
(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too.
17 years ago
rubidium
9e3ee0e689
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
17 years ago
rubidium
3dd6362bb8
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
17 years ago
peter1138
42c58e913c
(svn r10509) -Codechange: cache expensive newgrf station variables during
...
sprite lookups/callbacks.
17 years ago
peter1138
0543657b75
(svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, preventing overflow and incorrect graphics shown past a certain date.
17 years ago
peter1138
0645454aaa
(svn r10431) -Codechange: constness on static array
18 years ago
rubidium
e5c352818d
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
18 years ago
maedhros
96a3a89c86
(svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
...
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
18 years ago
rubidium
440d723d84
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
18 years ago
belugas
607a55f4ec
(svn r9662) -Documentation: Doxygen corrections and @file omissions
18 years ago
peter1138
59399480b3
(svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65
18 years ago
peter1138
69982b1f01
(svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID
18 years ago
belugas
06d3669bb5
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
18 years ago
peter1138
e2801aa320
(svn r9393) -Codechange: Use newgrf town resolver as station parent scope handler
18 years ago
belugas
dcd510c81f
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
18 years ago
maedhros
48f2bf9bb1
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
...
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
18 years ago
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
peter1138
4c4b035175
(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
18 years ago
peter1138
7e73413709
(svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active.
18 years ago
belugas
a723770836
(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style
18 years ago
peter1138
6062004960
(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions.
18 years ago
tron
103d119c51
(svn r8841) -Fix
...
Remove {,u}intswap() and replace them by Swap()
18 years ago
tron
e7dd766c1e
(svn r8423) -Fix
...
Do not explicitly pass the station specification and the station to ResolveStation(). They are already contained in the ResolverObject
18 years ago
peter1138
20e0a91506
(svn r8391) -Codechange: Make normal/desert/rainforest detection for newgrf stations work
18 years ago
peter1138
92d418b031
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
...
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
18 years ago
KUDr
33be1ecfb1
(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
18 years ago
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago