Commit Graph

283 Commits (a1049fbe6690c0a6e6d7e6d1d1b83de80fbae8e0)

Author SHA1 Message Date
yexo f85bd1f37f (svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium 9901b84729 (svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump 14 years ago
alberth b97aba9da7 (svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at the first ownership error (Krille). 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 60b93f5c69 (svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld 14 years ago
terkhen 6e226dc1fb (svn r20113) -Add [FS#3895]: Show an specific error message when trying to remove nonexistant roads (Krille). 14 years ago
terkhen ca7172bc94 (svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads. 14 years ago
alberth 83fd89b606 (svn r20097) -Codechange: Share constant bitset of safe level crossing slopes. 14 years ago
michi_cc e94f75095a (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 14 years ago
rubidium e3eb45a18a (svn r20036) -Fix [FS#3911]: tram tracks didn't show at level crossing with the new railtypes 14 years ago
yexo ec723b7744 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
rubidium 7f43b93eae (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 14 years ago
rubidium 00422b37ef (svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88) 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 9036e7437a (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth 25907d12b8 (svn r19491) -Codechange: Keep track of last error in CmdRemoveLongRoad(). 14 years ago
frosch a974195284 (svn r19436) -Fix: With certain game settings one could clear tiles for free when building long roads. 14 years ago
peter1138 a7b93cdeb5 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
alberth bf54baf991 (svn r19420) -Codechange: Don't use _error_message to keep track of success/failure, use a had_success boolean. 15 years ago
alberth cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth e5529f46f4 (svn r19412) -Codechange (r9942): One pair of parentheses is enough. 15 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth 59caa8ea94 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 15 years ago
alberth ae5b11321b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 15 years ago
alberth 6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth 4c0d4990f5 (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
alberth d0ec21fd3f (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 15 years ago
smatz cdaeead70f (svn r19249) -Fix [FS#3642](r18803): start and end tiles were swapped in CMD_REMOVE_LONG_ROAD 15 years ago
alberth a2af272a52 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 15 years ago
peter1138 7cc76dcbda (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
smatz 6c1ab1a2fa (svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible 15 years ago
terkhen c6d7d42606 (svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations. 15 years ago
terkhen 7f26268d0e (svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way. 15 years ago
frosch 6ade772f01 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 15 years ago
frosch 15f0fcf3c4 (svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run. 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
frosch eded89633c (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 15 years ago
frosch fc2ceddce8 (svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 45a978a104 (svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen. 15 years ago
belugas 17eaca2694 (svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen 15 years ago
rubidium b77739c512 (svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads 15 years ago
frosch bf3fa7522b (svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences. 15 years ago
peter1138 10753a6199 (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 15 years ago