summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
AgeCommit message (Collapse)Author
2010-01-05(svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation.peter1138
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2010-01-03(svn r18708) -Feature: [NewGRF] Add support for custom station foundation ↵peter1138
graphics.
2010-01-01(svn r18681) -Codechange: Use existing TILE_LOOP method for iterating ↵peter1138
trigger area.
2010-01-01(svn r18680) -Fix: Whole station area is already correct size.peter1138
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-03(svn r17050) -Codechange: replace custom implementation of TILE_LOOP with ↵rubidium
TILE_LOOP.
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/rubidium
2009-07-21(svn r16907) -Codechange: make a more clear distinction between reservation ↵rubidium
functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
2009-07-21(svn r16897) -Codechange: use the 'generic' station spec to station ↵rubidium
allocation for waypoints too
2009-07-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-20(svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypointsrubidium
2009-07-17(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.rubidium
2009-07-17(svn r16859) -Codechange: split the Station struct into two so parts of it ↵rubidium
can be reused for Waypoints.
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
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.