alberth
|
82fc340a0a
|
(svn r20097) -Codechange: Share constant bitset of safe level crossing slopes.
|
2010-07-09 12:14:02 +00:00 |
michi_cc
|
34f32cbbf4
|
(svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype.
|
2010-07-02 16:34:11 +00:00 |
yexo
|
9cfb61adf5
|
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
|
2010-06-20 19:13:02 +00:00 |
frosch
|
1d3adb2b66
|
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
2010-06-05 12:16:12 +00:00 |
rubidium
|
e7f70987a4
|
(svn r19925) -Fix [FS#3859]: one didn't pay for rail when building depots and stations, so with expensive railtypes building stations and then removing the station would be cheaper than just building the rail
|
2010-06-04 21:00:17 +00:00 |
frosch
|
9db3cde73a
|
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
|
2010-05-31 20:22:57 +00:00 |
rubidium
|
241dd9a9f5
|
(svn r19817) -Fix: MSVC compile warnings
|
2010-05-13 12:42:56 +00:00 |
rubidium
|
062dd0e24c
|
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
|
2010-05-13 10:14:29 +00:00 |
rubidium
|
93ff7d78e1
|
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
|
2010-05-12 19:21:00 +00:00 |
rubidium
|
f56ebd81c3
|
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
|
2010-04-24 13:39:11 +00:00 |
frosch
|
75d4bc947d
|
(svn r19654) -Codechange: Use Extract<> in more places.
|
2010-04-17 13:31:41 +00:00 |
frosch
|
b76f0185d4
|
(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits.
|
2010-04-13 17:29:19 +00:00 |
peter1138
|
8c4c691448
|
(svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots with original acceleration model.
|
2010-04-03 20:25:23 +00:00 |
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
2010-03-20 17:58:24 +00:00 |
alberth
|
c9b0e9d25f
|
(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.
|
2010-03-20 17:08:16 +00:00 |
alberth
|
f05a8635fd
|
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
|
2010-03-20 15:30:57 +00:00 |
peter1138
|
604da97364
|
(svn r19434) -Add: Add rail speed limit to land area information window.
|
2010-03-16 06:43:41 +00:00 |
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.
|
2010-03-16 06:30:31 +00:00 |
alberth
|
6eb0816c70
|
(svn r19421) -Codechange: Remove explicit use of _error_message from CmdConvertRail().
|
2010-03-14 16:42:55 +00:00 |
alberth
|
05e549ccdc
|
(svn r19420) -Codechange: Don't use _error_message to keep track of success/failure, use a had_success boolean.
|
2010-03-14 15:42:26 +00:00 |
alberth
|
6601ecc87a
|
(svn r19418) -Codechange: Code style fix for ValParamTrackOrientation().
|
2010-03-14 14:30:51 +00:00 |
alberth
|
3b367ab708
|
(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.
|
2010-03-14 12:58:51 +00:00 |
alberth
|
777123c228
|
(svn r19414) -Doc: Several doxygen additions and corrections.
|
2010-03-14 12:39:24 +00:00 |
alberth
|
40f106ba7c
|
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
|
2010-03-07 20:44:05 +00:00 |
alberth
|
aac4a21abe
|
(svn r19370) -Codechange: EnsureNoTrainOnTrack() returns a CommandCost.
|
2010-03-07 18:29:53 +00:00 |
alberth
|
55f8d5d802
|
(svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now.
|
2010-03-07 18:24:41 +00:00 |
alberth
|
29b79e03e8
|
(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.
|
2010-03-07 15:54:58 +00:00 |
alberth
|
5881a80b6d
|
(svn r19363) -Codechange: Remove use of _error_message global from TerraformTile_Track.
|
2010-03-07 14:00:53 +00:00 |
alberth
|
71d28afe67
|
(svn r19320) -Fix (r19291): Forgot to set error message.
|
2010-03-05 21:34:12 +00:00 |
alberth
|
c395b93acd
|
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
|
2010-03-05 21:20:22 +00:00 |
alberth
|
63dd6ce6b0
|
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
|
2010-02-28 18:15:19 +00:00 |
alberth
|
5052777d0b
|
(svn r19190) -Add: Improve error message with track building when signals are in the way.
|
2010-02-21 20:55:31 +00:00 |
alberth
|
2b07389fe6
|
(svn r19189) -Codechange: CheckTrackCombination() returns a CommandCost.
|
2010-02-21 20:34:57 +00:00 |
frosch
|
f02d6783e9
|
(svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays.
|
2010-02-17 21:19:33 +00:00 |
frosch
|
239279e795
|
(svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots.
|
2010-02-17 21:07:32 +00:00 |
alberth
|
80225cf246
|
(svn r19140) -Codechange: Move variables closer to their first use.
|
2010-02-15 19:52:40 +00:00 |
alberth
|
e8d40d6a19
|
(svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this.
|
2010-02-14 15:30:08 +00:00 |
peter1138
|
1bd72e28f0
|
(svn r19060) -Codechange: Draw custom depot sprites in GUI.
|
2010-02-08 16:07:46 +00:00 |
peter1138
|
898e879bd9
|
(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...)
|
2010-02-07 22:22:54 +00:00 |
terkhen
|
2798fdf082
|
(svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way.
|
2010-02-02 22:27:03 +00:00 |
peter1138
|
32ef582c37
|
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
|
2010-01-30 21:49:22 +00:00 |
rubidium
|
f94c83a387
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
2010-01-21 01:38:13 +00:00 |
rubidium
|
4d93b704d9
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
2010-01-18 22:57:21 +00:00 |
frosch
|
24e0945bc4
|
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
|
2010-01-17 15:05:25 +00:00 |
frosch
|
381bf04bab
|
(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.
|
2010-01-16 22:44:03 +00:00 |
frosch
|
d27999e446
|
(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file.
|
2010-01-16 22:25:44 +00:00 |
rubidium
|
199091600a
|
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
|
2010-01-16 22:16:28 +00:00 |
rubidium
|
aaf0b4b46c
|
(svn r18812) -Codechange: make some functions in train.h functions of Train.
|
2010-01-15 18:23:52 +00:00 |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
frosch
|
ed83388faa
|
(svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints.
|
2010-01-14 22:56:54 +00:00 |
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.
|
2009-12-27 14:37:46 +00:00 |
peter1138
|
7b136d1fdd
|
(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted.
|
2009-12-15 13:59:20 +00:00 |
rubidium
|
9426f2b173
|
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
|
2009-12-02 16:48:55 +00:00 |
rubidium
|
76fe20cdcc
|
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
|
2009-12-01 23:56:04 +00:00 |
rubidium
|
f52e27c688
|
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
|
2009-12-01 22:45:39 +00:00 |
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.
|
2009-11-24 22:15:42 +00:00 |
rubidium
|
860b9b1cea
|
(svn r18028) -Codechange: unglobalise some functions
|
2009-11-09 10:40:33 +00:00 |
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
rubidium
|
d79439fb3c
|
(svn r17963) -Codechange: some documentation style
|
2009-11-03 17:30:08 +00:00 |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
frosch
|
e261d8d9a0
|
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
|
2009-09-22 19:28:57 +00:00 |
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
2009-09-20 23:11:01 +00:00 |
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
2009-09-18 14:23:58 +00:00 |
rubidium
|
55ddce8da2
|
(svn r17493) -Codechange: store the depot index on the map
|
2009-09-10 14:33:07 +00:00 |
yexo
|
ec63a0fc14
|
(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names
|
2009-09-07 13:38:57 +00:00 |
rubidium
|
167d632e16
|
(svn r17447) -Codechange: rename a local variable so it doesn't collide with the name of a global function
|
2009-09-07 09:07:56 +00:00 |
rubidium
|
130781102e
|
(svn r17443) -Fix (r17442): clear the depot tile after removing the depot in all cases instead of only for ships; makes removing road/rail depots not crash :)
|
2009-09-07 08:35:45 +00:00 |
rubidium
|
6b2ff71e2c
|
(svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of vehicles, otherwise it gets distracted and bails out
|
2009-09-01 21:54:59 +00:00 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
rubidium
|
2c6b5237f6
|
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
|
2009-07-24 11:15:11 +00:00 |
rubidium
|
2962d8f0fc
|
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
|
2009-07-22 20:17:07 +00:00 |
rubidium
|
cb0409fe52
|
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
|
2009-07-22 10:18:19 +00:00 |
rubidium
|
68ead6b84f
|
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions 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 08:59:57 +00:00 |
rubidium
|
2646a99d29
|
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
|
2009-07-22 08:52:41 +00:00 |
rubidium
|
8405d7d7e7
|
(svn r16907) -Codechange: make a more clear distinction between reservation 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 22:37:10 +00:00 |
rubidium
|
861a2163f6
|
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
|
2009-07-18 10:01:31 +00:00 |
rubidium
|
4e5af51d1f
|
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
|
2009-07-17 21:06:06 +00:00 |
rubidium
|
d8f16ea199
|
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
|
2009-07-17 20:51:24 +00:00 |
rubidium
|
c9cab7ba19
|
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
|
2009-07-17 20:40:29 +00:00 |
rubidium
|
665fa7f9c1
|
(svn r16851) -Codechange: use StationSpecList in waypoint too
|
2009-07-16 20:29:08 +00:00 |
rubidium
|
594070194f
|
(svn r16842) -Cleanup: add some spaces around a few operators
|
2009-07-16 10:13:33 +00:00 |
smatz
|
d86e17d65a
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
2009-07-01 23:57:20 +00:00 |
smatz
|
50b5678e26
|
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
|
2009-06-27 17:05:20 +00:00 |
smatz
|
e6a165881c
|
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
|
2009-06-26 13:44:14 +00:00 |
smatz
|
c0ac230e3e
|
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
|
2009-06-25 20:08:59 +00:00 |
smatz
|
c30a87758f
|
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
2009-06-25 19:23:09 +00:00 |
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
2009-06-24 19:26:41 +00:00 |
frosch
|
8745a30971
|
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
|
2009-06-07 13:25:21 +00:00 |
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
2009-06-06 16:54:22 +00:00 |
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
2009-06-01 11:43:36 +00:00 |
rubidium
|
da5661a0c8
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
2009-05-22 22:55:41 +00:00 |
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
2009-05-22 22:33:05 +00:00 |
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
2009-05-22 22:22:46 +00:00 |
smatz
|
9af2e38d44
|
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
|
2009-05-18 01:35:15 +00:00 |
smatz
|
0af27062c4
|
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
|
2009-05-18 01:26:23 +00:00 |
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
2009-05-17 01:00:56 +00:00 |
frosch
|
8ffb93c358
|
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
|
2009-05-15 16:07:36 +00:00 |
rubidium
|
59d45a04d6
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
2009-04-21 23:40:56 +00:00 |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |