summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
AgeCommit message (Collapse)Author
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
2007-12-21(svn r11679) -Add: [newgrf] support for station vars 67 and 68glx
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-08-26(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-11(svn r10509) -Codechange: cache expensive newgrf station variables during peter1138
sprite lookups/callbacks.
2007-07-07(svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, ↵peter1138
preventing overflow and incorrect graphics shown past a certain date.
2007-07-04(svn r10431) -Codechange: constness on static arraypeter1138