summaryrefslogtreecommitdiff
path: root/station_cmd.c
AgeCommit message (Collapse)Author
2004-12-11(svn r1017) Solved a Segfault if a station was built too close to the ↵Celestar
northern corner
2004-12-08(svn r979) Allow more realistically sized catchment areasCelestar
2004-12-05(svn r955) Replace uint16 for orders with struct Ordertron
This adds no functionality, but is a stepping stone for future improvement (like 16bit order indices) and is easier to read. This changes preserves binary compatibility wrt savegames.
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-03(svn r907) Sprinkle holy ANSI water:tron
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-24(svn r793) Merge INLINE -> inline replacement (revision 376)tron
2004-11-23(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent ↵tron
with its own name and all other DO_* flags. Now it is active-true.
2004-11-23(svn r780) Always report a bus/lorry station as unpassable.tron
The current behavior just causes bugs and the pathfinder does the necessary magic to handle stations as destinations and enter them anyway. This fixes [ 1058809 ]
2004-11-21(svn r724) Remove restriction that a tile can only accept 3 cargo types.tron
This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-17(svn r667) Fix bug in rendering stations from savegamestron
Also don't pitch custom station sprites by railtype (pasky)
2004-11-17(svn r662) [newgrf] Moved grfspecial.c to newgrf.c/newgrf.hdominik
2004-11-17(svn r659) Support for cutomized TTDPatch-style new stations (no selector ↵tron
GUI yet) (pasky)
2004-11-17(svn r654) Hopefully complete support for randomized variational ↵tron
spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky)
2004-11-17(svn r647) Cleanup custom station classes handling. (pasky)miham
2004-11-15(svn r635) Fix choosing a spritegroup from deterministic variational ↵tron
spritegroups if there is no structure to search (i.e. in purchase lists) (pasky)
2004-11-15(svn r625) Almost complete support for deterministic variational vehicle ↵tron
spritegroups. (pasky)
2004-11-14(svn r610) -newgrf: Support for some basic deterministical spritegroups ↵darkvater
regarding stations. Waypoints look changes based on year now :^) (pasky).
2004-11-14(svn r605) -newgrf: Framework for supporting variational spritegroups . ↵darkvater
Deterministic only at the moment, but random ones support shouldn't be that difficult now It doesn't do anything, but makes these actions actually possible (pasky).
2004-11-14(svn r602) -newgrf: Move DrawTileSeqStruct & co and struct SpriteGroup to ↵darkvater
sprite.h (pasky)
2004-11-14(svn r600) -newgrf: Relocation offset for custom station sprites is now ↵darkvater
stored separately, making it possible to show different sprites in waypoint selection dialog (pasky).
2004-11-14(svn r592) -newgrf: Dynamically allocate global custom station IDs (pasky).darkvater
2004-11-14(svn r591) -newgrf: Store whole struct StationSpec in SetCustomStation(), ↵darkvater
not just the rendering data. This will be needed for variational stationspecs (pasky).
2004-11-14(svn r581) -newgrf: Basic support for new stations - only waypoints ↵celestar
supported now and only the first custom one can be placed (no selector GUI, coming soon). This also moves some global variables to {struct GRFFile} and reorders which actions are processed in what stage, to get it all working together -- (pasky)
2004-11-14(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h ↵darkvater
DrawTileSeqStruct hacks needed for custom station supports (pasky)
2004-11-11(svn r542) -Fix: Display correct rail type in "build railway station" windowtron
Thanks, ln--
2004-09-25(svn r319) -Fix: [ 1029064 ] Building a station acted weird in some rare ↵truelight
situations
2004-09-14(svn r244) -Fix: Stations were not sorted for non-player-0 playersdarkvater
-Fix: Correctly resorting vehicle list of player when the list of another player is open.
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-05(svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs)truelight
-Fix: some minor fixes around GetTileTrackStatus (blathijs)
2004-09-03(svn r150) -Fix: [1010833] Turning on the magic bulldozer removes oil rigsdarkvater
-Fix: [993493] Buildings on water -Feature: Water floods everything, including vehicles.
2004-08-23(svn r124) Prepared code for removal of block_months variable in next major ↵dominik
savegame version
2004-08-23(svn r122) Change: exclusive transport rights are now stored per town ↵dominik
instead of per station Exclusive rights from old savegames will be reset.
2004-08-20(svn r85) -Add: initial commit of new AI (enable in Patch menu)truelight
-Add: generalised A* Algorithm -Add: generalised queues (Fifo, Stack, InsSort, BinaryHeap)
2004-08-17(svn r72) -Add: build_date of station (viewable with Query tool)truelight
2004-08-16(svn r66) -Fix Station list updated on station deletion/station renamedarkvater
-Changed debug messages to comply with DEBUG(name, level) heuristics
2004-08-15(svn r60) -Fix: signal_density is given as a parameter to autosignal. This ↵darkvater
means all players can define it for themselves. -Fix a few warnings
2004-08-15(svn r56) Improved order checker + patch setting for it (celestar)dominik
2004-08-13(svn r44) Fix: Coast line near edge of map and near oilrigs (Dribbel)dominik
2004-08-13(svn r40) Final slope graphics fixdominik
2004-08-12(svn r29) -Fix You cannot take ownership of an oilrig by building right next ↵darkvater
to it -Fix when adding parts to a statin max size is not 15x15 anymore, but _patches.station_spread
2004-08-12(svn r28) -Fix removing station merged with oilrig, will reset oilrigs ownershipdarkvater
2004-08-11(svn r23) -Some omments on the code (blathijs)darkvater
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight