Commit Graph

288 Commits (548dd91ef0ed6d470dc3553b994022ead99ece95)

Author SHA1 Message Date
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 93ff7d78e1 (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 14 years ago
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
peter1138 8c4c691448 (svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots with original acceleration model. 14 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth c9b0e9d25f (svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well. 14 years ago
alberth f05a8635fd (svn r19483) -Codechange: Code layout fixes, and parentheses reduction. 14 years ago
peter1138 604da97364 (svn r19434) -Add: Add rail speed limit to land area information window. 14 years ago
peter1138 0dd8110484 (svn r19433) -Codechange: Limit rail clearance earnings to 3/4s of rail build cost, to avoid money making loophole when rail build cost is less than rail removal earnings. 14 years ago
alberth 6eb0816c70 (svn r19421) -Codechange: Remove explicit use of _error_message from CmdConvertRail(). 15 years ago
alberth 05e549ccdc (svn r19420) -Codechange: Don't use _error_message to keep track of success/failure, use a had_success boolean. 15 years ago
alberth 6601ecc87a (svn r19418) -Codechange: Code style fix for ValParamTrackOrientation(). 15 years ago
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth 777123c228 (svn r19414) -Doc: Several doxygen additions and corrections. 15 years ago
alberth 40f106ba7c (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth aac4a21abe (svn r19370) -Codechange: EnsureNoTrainOnTrack() returns a CommandCost. 15 years ago
alberth 55f8d5d802 (svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now. 15 years ago
alberth 29b79e03e8 (svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp. 15 years ago
alberth 5881a80b6d (svn r19363) -Codechange: Remove use of _error_message global from TerraformTile_Track. 15 years ago
alberth 71d28afe67 (svn r19320) -Fix (r19291): Forgot to set error message. 15 years ago
alberth c395b93acd (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
alberth 63dd6ce6b0 (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 15 years ago
alberth 5052777d0b (svn r19190) -Add: Improve error message with track building when signals are in the way. 15 years ago
alberth 2b07389fe6 (svn r19189) -Codechange: CheckTrackCombination() returns a CommandCost. 15 years ago
frosch f02d6783e9 (svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays. 15 years ago
frosch 239279e795 (svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots. 15 years ago
alberth 80225cf246 (svn r19140) -Codechange: Move variables closer to their first use. 15 years ago
alberth e8d40d6a19 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 15 years ago
peter1138 1bd72e28f0 (svn r19060) -Codechange: Draw custom depot sprites in GUI. 15 years ago
peter1138 898e879bd9 (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
terkhen 2798fdf082 (svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way. 15 years ago
peter1138 32ef582c37 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 15 years ago
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium 4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
frosch 24e0945bc4 (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 15 years ago
frosch 381bf04bab (svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI. 15 years ago
frosch d27999e446 (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 15 years ago
rubidium 199091600a (svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen) 15 years ago
rubidium aaf0b4b46c (svn r18812) -Codechange: make some functions in train.h functions of Train. 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
frosch ed83388faa (svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints. 15 years ago
michi_cc 182b0b5c14 (svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal. 15 years ago
peter1138 7b136d1fdd (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 15 years ago
rubidium 9426f2b173 (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 15 years ago
rubidium 76fe20cdcc (svn r18367) -Codechange: unify the ship pathfinder 'calls' 15 years ago
rubidium f52e27c688 (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 15 years ago
frosch 830231e2bd (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
15 years ago
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 15 years ago