yexo
|
6a272233b3
|
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
|
13 years ago |
michi_cc
|
fe574b7e0c
|
(svn r23129) -Add: [NewGRF] Property for the rail type name.
|
13 years ago |
rubidium
|
2a2c102b0b
|
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
|
13 years ago |
rubidium
|
459c9523e8
|
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
|
13 years ago |
rubidium
|
19eabdba2c
|
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
|
13 years ago |
rubidium
|
798f5a8608
|
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
|
13 years ago |
rubidium
|
1dc685aeea
|
(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
|
13 years ago |
rubidium
|
69162621d8
|
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
|
13 years ago |
rubidium
|
2ed0f93bfb
|
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
|
13 years ago |
rubidium
|
7757a2ed40
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
13 years ago |
frosch
|
8d5c1479f4
|
(svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes.
|
13 years ago |
frosch
|
36dd5cd685
|
(svn r22854) -Change: [NewGRF] Allow replacing depot sprites without having to provide rail overlays. (Hirundo)
|
13 years ago |
frosch
|
76c7cbff70
|
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
|
14 years ago |
rubidium
|
bc3ce1e53b
|
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
|
14 years ago |
rubidium
|
2f6c840ebf
|
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
|
14 years ago |
rubidium
|
9ca4b629cd
|
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
|
14 years ago |
rubidium
|
6371b75bcc
|
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
|
14 years ago |
planetmaker
|
9b4beb0a5c
|
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
|
14 years ago |
terkhen
|
48b7916458
|
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
|
14 years ago |
rubidium
|
a1d923700f
|
(svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well
|
14 years ago |
rubidium
|
42dc2e63f2
|
(svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites
|
14 years ago |
frosch
|
f2c84e0120
|
(svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore).
|
14 years ago |
alberth
|
7e48d85104
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
frosch
|
236737b2f2
|
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
|
14 years ago |
frosch
|
a0520bb8bf
|
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
|
14 years ago |
terkhen
|
78fd08c7b2
|
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
|
14 years ago |
frosch
|
48c5091a7c
|
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
|
14 years ago |
frosch
|
5f874b90f9
|
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
|
14 years ago |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
terkhen
|
88ca183191
|
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
|
14 years ago |
michi_cc
|
e8cabbdc56
|
(svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail.
|
14 years ago |
frosch
|
3767ae5196
|
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
|
14 years ago |
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
14 years ago |
rubidium
|
b8487afe54
|
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
|
14 years ago |
rubidium
|
5a836cdec7
|
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
|
14 years ago |
frosch
|
72ee11a7c6
|
(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
|
14 years ago |
terkhen
|
066aa61a45
|
(svn r20116) -Add: Show an specific error message when trying to convert/remove nonexistant signals.
|
14 years ago |
terkhen
|
191389fa8d
|
(svn r20114) -Add: Show an specific error message when trying to remove rail or build/convert/remove signals over nonexistant railways.
|
14 years ago |
alberth
|
b06d18b19a
|
(svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water using a tree-tile.
|
14 years ago |
terkhen
|
5ea472650c
|
(svn r20100) -Fix: Give priority to ownership errors while removing rails.
|
14 years ago |
alberth
|
82fc340a0a
|
(svn r20097) -Codechange: Share constant bitset of safe level crossing slopes.
|
14 years ago |
michi_cc
|
34f32cbbf4
|
(svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype.
|
14 years ago |
yexo
|
9cfb61adf5
|
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
|
14 years ago |
frosch
|
1d3adb2b66
|
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
15 years ago |
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
|
15 years ago |
frosch
|
9db3cde73a
|
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
|
15 years ago |
rubidium
|
241dd9a9f5
|
(svn r19817) -Fix: MSVC compile warnings
|
15 years ago |
rubidium
|
062dd0e24c
|
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
rubidium
|
93ff7d78e1
|
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
|
15 years ago |
rubidium
|
f56ebd81c3
|
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
|
15 years ago |
frosch
|
75d4bc947d
|
(svn r19654) -Codechange: Use Extract<> in more places.
|
15 years ago |
frosch
|
b76f0185d4
|
(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits.
|
15 years ago |
peter1138
|
8c4c691448
|
(svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots with original acceleration model.
|
15 years ago |
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
15 years ago |
alberth
|
c9b0e9d25f
|
(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.
|
15 years ago |
alberth
|
f05a8635fd
|
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
|
15 years ago |
peter1138
|
604da97364
|
(svn r19434) -Add: Add rail speed limit to land area information window.
|
15 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.
|
15 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 |
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
15 years ago |
rubidium
|
d79439fb3c
|
(svn r17963) -Codechange: some documentation style
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
frosch
|
e261d8d9a0
|
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
|
15 years ago |
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
15 years ago |
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
15 years ago |
rubidium
|
55ddce8da2
|
(svn r17493) -Codechange: store the depot index on the map
|
15 years ago |
yexo
|
ec63a0fc14
|
(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names
|
15 years ago |
rubidium
|
167d632e16
|
(svn r17447) -Codechange: rename a local variable so it doesn't collide with the name of a global function
|
15 years ago |
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 :)
|
15 years ago |
rubidium
|
6b2ff71e2c
|
(svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of vehicles, otherwise it gets distracted and bails out
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
rubidium
|
2c6b5237f6
|
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
|
15 years ago |
rubidium
|
2962d8f0fc
|
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
|
15 years ago |
rubidium
|
cb0409fe52
|
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
|
15 years ago |
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.
|
15 years ago |
rubidium
|
2646a99d29
|
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
|
15 years ago |
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?
|
15 years ago |
rubidium
|
861a2163f6
|
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
|
15 years ago |
rubidium
|
4e5af51d1f
|
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
|
15 years ago |
rubidium
|
d8f16ea199
|
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
|
15 years ago |
rubidium
|
c9cab7ba19
|
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
|
15 years ago |
rubidium
|
665fa7f9c1
|
(svn r16851) -Codechange: use StationSpecList in waypoint too
|
15 years ago |
rubidium
|
594070194f
|
(svn r16842) -Cleanup: add some spaces around a few operators
|
15 years ago |
smatz
|
d86e17d65a
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
15 years ago |
smatz
|
50b5678e26
|
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
|
15 years ago |
smatz
|
e6a165881c
|
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
|
15 years ago |
smatz
|
c0ac230e3e
|
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
|
15 years ago |
smatz
|
c30a87758f
|
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
15 years ago |
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
16 years ago |
frosch
|
8745a30971
|
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
|
16 years ago |
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
16 years ago |
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
16 years ago |
rubidium
|
da5661a0c8
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
16 years ago |
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
16 years ago |
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
16 years ago |
smatz
|
9af2e38d44
|
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
|
16 years ago |
smatz
|
0af27062c4
|
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
|
16 years ago |
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
16 years ago |
frosch
|
8ffb93c358
|
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
|
16 years ago |
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.
|
16 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
aea8e7291e
|
(svn r15709) -Change [FS#2729]: be a tad more specific about the fact that you're building incompatible tracks when building incompatible track types on the same tile.
|
16 years ago |
rubidium
|
8ed58f2b94
|
(svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail builds nothing when trying to build over signals in the wrong way.
|
16 years ago |
rubidium
|
7831346ef8
|
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
|
16 years ago |
yexo
|
8beca127dd
|
(svn r15567) -Fix [FS#2674]: When building signals by dragging from a pre/entry/combo block signal, the signal you started at became a normal block signal.
|
16 years ago |
rubidium
|
87751dc95d
|
(svn r15548) -Fix: incorrect error message when removing non-existing diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail).
|
16 years ago |
rubidium
|
d846eef0b6
|
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
|
16 years ago |
rubidium
|
c0a8d09ca7
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
16 years ago |