summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
AgeCommit message (Collapse)Author
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-06-25(svn r16655) -Codechange: use IsRailwayStationTile() moresmatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
2009-05-24(svn r16422) -Codechange: use const_cast for removing const and warn when ↵rubidium
const is (accidentally?) removed using C-style casts.
2009-05-23(svn r16402) -Codechange: make Resolve a function of SpriteGrouprubidium
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-04-05(svn r15957) -Fix (r4767): Set callback_param1 (var 10) to 1 only when ↵peter1138
requested.
2009-04-05(svn r15956) -Codechange: Enumorize station spec flags.peter1138
2009-02-09(svn r15436) -Codechange: Return index of station spec within station class ↵peter1138
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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
2009-01-10(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a ↵rubidium
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).
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-11-22(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and ↵frosch
PALETTE_MODIFIER_COLOR in spritelayout drawing. -Fix [FS#2419]: The modifiers were not applied in all cases.
2008-10-18(svn r14487) -Fix: The station picker preview did not draw child sprites.frosch
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-09(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() ↵smatz
and IsRailWaypoint() checks at several places
2008-08-02(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS ↵rubidium
reservation state). (michi_cc)
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
2008-07-27(svn r13851) -Fix (r9393): GetTownByTile() is only valid for houses and roads.frosch
2008-07-25(svn r13830) -Feature: show additional NewGRF info in the Tile Info window ↵smatz
for stations, houses and industries
2008-07-19(svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on ↵rubidium
the same axis as connected, even when the tunnel faces the wrong direction.
2008-04-23(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station ↵rubidium
code.
2008-04-21(svn r12817) -Feature: the ability to play NewGRF sounds for industries and ↵rubidium
stations.
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-20(svn r12800) -Codechange: move the animated tile related functions out of ↵rubidium
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
2008-04-19(svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+peter1138
2008-04-19(svn r12798) -Feature: Add some support for NewGRF station animation. ↵peter1138
(Thanks to mart3p for samples and fixes)
2008-04-17(svn r12747) -Codechange: Add varaction retrieval of station animation framepeter1138
2008-04-12(svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked ↵peter1138
for company colours.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-27(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.glx
2008-03-15(svn r12368) -Codechange: use explicit body for loops and conditions and ↵smatz
remove -Wno-empty-body from the configure script
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-01-31(svn r12028) -Codechange: Split common part of station var 0x67, house var ↵frosch
0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
2008-01-16(svn r11881) -Cleanup: Code style for global variables.peter1138
2008-01-15(svn r11859) -Codechange: Update newgrf station class dropdown to use new ↵peter1138
method of generating list.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium