rubidium
de980ef0f9
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
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
terkhen
f45bf2d1af
(svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the scenario editor.
13 years ago
terkhen
bbdc8fdba7
(svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the scenario editor.
13 years ago
rubidium
c691b4c49e
(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88)
13 years ago
rubidium
7b418502ab
(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88)
13 years ago
rubidium
d946841eff
(svn r22413) -Document: even more stuff
14 years ago
rubidium
ff143c6708
(svn r22413) -Document: even more stuff
14 years ago
rubidium
87272273b5
(svn r22405) -Document: some more "random-ish" tidbits
14 years ago
rubidium
1a515e6344
(svn r22405) -Document: some more "random-ish" tidbits
14 years ago
rubidium
3cb12ed89c
(svn r22019) -Codechange: s/functions.h/clear_func.h/
14 years ago
rubidium
0395aab420
(svn r22019) -Codechange: s/functions.h/clear_func.h/
14 years ago
rubidium
7086bb3017
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
46b3d114a8
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
285f369969
(svn r21956) -Cleanup: always draw the bridge pillars
14 years ago
rubidium
71f4067d19
(svn r21956) -Cleanup: always draw the bridge pillars
14 years ago
terkhen
fbad07d3df
(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company.
14 years ago
terkhen
28676531b0
(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company.
14 years ago
rubidium
2773233044
(svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges
14 years ago
rubidium
c8a4d122c5
(svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges
14 years ago
rubidium
0f52366443
(svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels
14 years ago
rubidium
293ede7bdf
(svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels
14 years ago
rubidium
3d6ba9ab0d
(svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height"
14 years ago
rubidium
fe841c3d0b
(svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height"
14 years ago
frosch
0ebd5af86f
(svn r21291) -Fix: Treat objects on water like water in more cases.
14 years ago
frosch
55d604e60d
(svn r21291) -Fix: Treat objects on water like water in more cases.
14 years ago
frosch
dadf68fe1d
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
14 years ago
frosch
0fff26db97
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
14 years ago
rubidium
127a70cb19
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
14 years ago
rubidium
395335c197
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
14 years ago
rubidium
adb1692a4d
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
14 years ago
rubidium
ed18d02e9a
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
14 years ago
rubidium
0b0b1e4d28
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
14 years ago
rubidium
65e6c9fd12
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
14 years ago
rubidium
24fe5e2a62
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
b50aeb9552
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
e08f93b977
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
f118744ff2
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
38b4224078
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
14 years ago
rubidium
8b8b4e083c
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
14 years ago
rubidium
06bb553545
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
14 years ago
rubidium
d1dfb27699
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
14 years ago
belugas
d5c8ea393d
(svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work)
14 years ago
belugas
ab9279b5a0
(svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work)
14 years ago
alberth
063931d435
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
frosch
c7ef47ebb2
(svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo)
14 years ago
frosch
af6c12d586
(svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo)
14 years ago
frosch
1fb1efce25
(svn r21012) -Codechange: Deduplicate some code. (Hirundo)
14 years ago
frosch
b10fbd477d
(svn r21012) -Codechange: Deduplicate some code. (Hirundo)
14 years ago
frosch
587e63f841
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
14 years ago
frosch
bcd006e4fc
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
14 years ago
frosch
31ecda7cdc
(svn r20947) -Change: Draw bridgepillars with correct length on all tile corners by drawing only half of the pillar sprite if required. (based on patch by uni657)
...
Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
14 years ago
frosch
cdf985bff4
(svn r20947) -Change: Draw bridgepillars with correct length on all tile corners by drawing only half of the pillar sprite if required. (based on patch by uni657)
...
Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
14 years ago
frosch
013aba00c3
(svn r20946) -Codechange: Add helper function to draw pillar columns.
14 years ago
frosch
3edf041a43
(svn r20946) -Codechange: Add helper function to draw pillar columns.
14 years ago
frosch
b7ebdb4432
(svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657)
14 years ago
frosch
01be182880
(svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657)
14 years ago
frosch
ede9b2bfcf
(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)
14 years ago
frosch
3866d8e2d1
(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)
14 years ago
frosch
ea905e661e
(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)
14 years ago
frosch
58ed553068
(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)
14 years ago
frosch
98cd443735
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
14 years ago
frosch
3fb7f5aa87
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
14 years ago
yexo
40ab36e19f
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
14 years ago
yexo
2e054c19ad
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
14 years ago
rubidium
34c4e8f259
(svn r20668) -Codechange: add (more) support for bridges over objects
14 years ago
rubidium
41a80490be
(svn r20668) -Codechange: add (more) support for bridges over objects
14 years ago
rubidium
1f78d3f6ec
(svn r20638) -Codechange: split object.h
14 years ago
rubidium
3e9e1b8e65
(svn r20638) -Codechange: split object.h
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
terkhen
2c6a94b445
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
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
cab9bc419b
(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.
14 years ago
frosch
7f1425c333
(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.
14 years ago
frosch
12ed2a7597
(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.
14 years ago
frosch
b6cf38a912
(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.
14 years ago
frosch
548f2cbf4e
(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge.
14 years ago
frosch
c2b1c624dd
(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge.
14 years ago
rubidium
1f2276b785
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
14 years ago
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
14 years ago
rubidium
e72a0a39bb
(svn r20340) -Codechange: introduce some flags for objects and use them in some places
14 years ago
rubidium
1c86321d35
(svn r20340) -Codechange: introduce some flags for objects and use them in some places
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(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
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
035d0ef16b
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
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
rubidium
b4d4e5722a
(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges
15 years ago
rubidium
6328429aac
(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges
15 years ago
rubidium
f2d86acbd9
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
15 years ago
rubidium
548dd91ef0
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
15 years ago
terkhen
3f477acac5
(svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts caused a crash.
15 years ago
terkhen
0107562a86
(svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts caused a crash.
15 years ago
terkhen
170ad8a3c9
(svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks.
15 years ago
terkhen
52ab1c7d40
(svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks.
15 years ago
terkhen
b78e76c138
(svn r19717) -Fix: The cost of the first bridge type was added when building an aqueduct.
15 years ago
terkhen
3be66a5e79
(svn r19717) -Fix: The cost of the first bridge type was added when building an aqueduct.
15 years ago
frosch
ed80045221
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
frosch
0e7653fd7b
(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.
15 years ago
frosch
0f656010c8
(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.
15 years ago
alberth
581c110bfe
(svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge.
15 years ago
alberth
fa8f227a97
(svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge.
15 years ago
alberth
141761a333
(svn r19560) -Fix: Bridge build error message should not show the same message twice.
15 years ago
alberth
fb4ca3e569
(svn r19560) -Fix: Bridge build error message should not show the same message twice.
15 years ago
alberth
f185e5a8d7
(svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability().
15 years ago
alberth
7f5a0751e2
(svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability().
15 years ago
frosch
95ede5ac6f
(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype.
15 years ago
frosch
f45e579923
(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype.
15 years ago
alberth
72d62fd6fc
(svn r19494) -Codechange: Remove _error_message.
15 years ago
alberth
05d705e077
(svn r19494) -Codechange: Remove _error_message.
15 years ago
alberth
21bd55939d
(svn r19487) -Codechange: Removed non-reachable return statement.
15 years ago
alberth
a9d4eb86b8
(svn r19487) -Codechange: Removed non-reachable return statement.
15 years ago
alberth
e93fea29fd
(svn r19486) -Codechange: Code style, move var declarations closer to their first use.
15 years ago
alberth
2dcca0ca76
(svn r19486) -Codechange: Code style, move var declarations closer to their first use.
15 years ago
alberth
885547b884
(svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more readable way without changing computed costs.
15 years ago
alberth
c3471d98f3
(svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more readable way without changing computed costs.
15 years ago
alberth
42946f2a40
(svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() to 'length'.
15 years ago
alberth
cced6b35cb
(svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() to 'length'.
15 years ago
alberth
8109a0ad7f
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
15 years ago
alberth
f05a8635fd
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
15 years ago
alberth
68ee4aa7d6
(svn r19482) -Doc: Doxygen additions/updates.
15 years ago
alberth
073f627930
(svn r19482) -Doc: Doxygen additions/updates.
15 years ago
peter1138
a7b93cdeb5
(svn r19434) -Add: Add rail speed limit to land area information window.
15 years ago
peter1138
604da97364
(svn r19434) -Add: Add rail speed limit to land area information window.
15 years ago
alberth
d5fe3f96c7
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
15 years ago
alberth
7cc68f493d
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
15 years ago
alberth
a4a7465fe7
(svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost.
15 years ago
alberth
19afc9fdc0
(svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost.
15 years ago
alberth
ae5b11321b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
15 years ago
alberth
6b6ff9c52b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
15 years ago
frosch
da82483b83
(svn r19383) -Fix [FS#3680]: Overbuilding bridges cleared PBS reservation.
15 years ago
frosch
c0a9215bad
(svn r19383) -Fix [FS#3680]: Overbuilding bridges cleared PBS reservation.
15 years ago
alberth
6005227ac9
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
15 years ago
alberth
40f106ba7c
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
15 years ago
terkhen
e6878d7ba1
(svn r19345) -Feature: Realistic acceleration for road vehicles.
15 years ago
terkhen
c958c2c31f
(svn r19345) -Feature: Realistic acceleration for road vehicles.
15 years ago
terkhen
963f304f67
(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
...
-Codechange: Move GetSlopeResistance to GroundVehicle.
15 years ago
terkhen
4e6cac84d6
(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
...
-Codechange: Move GetSlopeResistance to GroundVehicle.
15 years ago
alberth
d0ec21fd3f
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
15 years ago
alberth
63dd6ce6b0
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
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
peter1138
898e879bd9
(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...)
15 years ago
rubidium
f618acfb7d
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
15 years ago
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
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
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
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
rubidium
3e481c4027
(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
frosch
a9d4147eb2
(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
peter1138
7b136d1fdd
(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted.
15 years ago
rubidium
0406d7176a
(svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting
15 years ago
rubidium
4047c142eb
(svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting
15 years ago
rubidium
6278f0b8a9
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
15 years ago
rubidium
0ef0e13795
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
15 years ago
rubidium
4ddbe1793e
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
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
2341c2e283
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago
rubidium
76fe20cdcc
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago
rubidium
2f3053508d
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
15 years ago
rubidium
f52e27c688
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
15 years ago
frosch
13a72bb345
(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
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
9cc710ad22
(svn r18271) -Fix [FS#3315]: road vehicles wouldn't reserve a road stop in tunnels/on bridges so when they leave wormhole they're still focussed on the main road stop causing unneededly long queues
15 years ago
rubidium
8193dad106
(svn r18271) -Fix [FS#3315]: road vehicles wouldn't reserve a road stop in tunnels/on bridges so when they leave wormhole they're still focussed on the main road stop causing unneededly long queues
15 years ago
frosch
040404c5d3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
frosch
ba1fc280e3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
ed8788d581
(svn r17682) -Codechange: remove erroneous space before some commas
15 years ago
rubidium
e9624fe0cc
(svn r17682) -Codechange: remove erroneous space before some commas
15 years ago
smatz
f85b8c4e09
(svn r17596) -Codechange: constify some tables
15 years ago
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
06e490fadc
(svn r17567) -Fix: some doxygen warnings
15 years ago
rubidium
04d5b67eb6
(svn r17567) -Fix: some doxygen warnings
15 years ago
yexo
d384908d56
(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names
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
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
yexo
2ced026328
(svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type
15 years ago
yexo
60b68de98e
(svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type
15 years ago
yexo
b39d0577a7
(svn r16995) -Codechange: apply some code style to CmdBuildBridge
15 years ago
yexo
70cb4c27fe
(svn r16995) -Codechange: apply some code style to CmdBuildBridge
15 years ago
rubidium
f1d6561cc4
(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
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
smatz
20fedeb3d6
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
adc5363202
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
837b3628d9
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
smatz
50b5678e26
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
smatz
bd208c30e0
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
c0ac230e3e
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
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
frosch
69107b00cc
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
16 years ago
frosch
8745a30971
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
16 years ago
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
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
580e478e4e
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
16 years ago
alberth
bab70a823d
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
16 years ago
smatz
6c2f88691b
(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu
16 years ago
smatz
d2d66d9e2d
(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu
16 years ago
rubidium
6350648a6c
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from 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
1324100d69
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
489253b630
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
86fc432293
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
16 years ago
rubidium
441011b782
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
16 years ago
smatz
512db5248e
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
05db91dc65
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
16 years ago
smatz
0af27062c4
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
5c5b357043
(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
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
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
smatz
4c6afbbbe2
(svn r15704) -Cleanup: remove further includes from recently split files
16 years ago
smatz
40745dc0d9
(svn r15704) -Cleanup: remove further includes from recently split files
16 years ago
yexo
111e2691b0
(svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible.
16 years ago
yexo
9eef8f77e2
(svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible.
16 years ago
yexo
efd0607688
(svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself.
16 years ago
yexo
bdab37b11a
(svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself.
16 years ago
yexo
3f9a117ad2
(svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies.
16 years ago
yexo
da0cbb2a2f
(svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies.
16 years ago
rubidium
9f2a906bc1
(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
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
frosch
d5525b8f2d
(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.
16 years ago
frosch
032346cf8a
(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.
16 years ago
rubidium
5c8cf85613
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
rubidium
283b3d16ab
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
Yexo
e3c69b7c4e
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
d3144b6f04
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
16 years ago
rubidium
1357b0a4c2
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
16 years ago
rubidium
e83cca7d13
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
frosch
aaf21df68b
(svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings.
16 years ago
frosch
e35be92a3a
(svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings.
16 years ago
rubidium
b5e467978b
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
16 years ago
rubidium
272b2ef0e9
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
16 years ago
rubidium
e589c7e580
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
f56e630e5c
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
c70f745de8
(svn r14326) -Fix: some wrong comments (Yexo)
16 years ago
rubidium
497ded7e40
(svn r14326) -Fix: some wrong comments (Yexo)
16 years ago
smatz
70525eaa7f
(svn r14293) -Change: do not show PBS track reservation in the intro game
16 years ago
smatz
37edc141e2
(svn r14293) -Change: do not show PBS track reservation in the intro game
16 years ago
frosch
f1a7f57cb9
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
16 years ago
frosch
33c2b798fb
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
16 years ago
rubidium
6e67ea1f9d
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
...
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
16 years ago
rubidium
9474db5cb6
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
...
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
16 years ago
smatz
6074de33d0
(svn r14176) -Fix: better 'safe' than ... 'save'
16 years ago
smatz
e840aabf8d
(svn r14176) -Fix: better 'safe' than ... 'save'
16 years ago
peter1138
18032db8c1
(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.
16 years ago
peter1138
b60ff46806
(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.
16 years ago
rubidium
f0fdbf9644
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
16 years ago
rubidium
753da05bc6
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
16 years ago
rubidium
bef1770590
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
16 years ago
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
16 years ago
rubidium
f0fd3f6c57
(svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either.
16 years ago
rubidium
24bb768450
(svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either.
16 years ago
rubidium
6898a76c5f
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
belugas
ba53aa91a1
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
16 years ago
belugas
5b48371867
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
16 years ago
smatz
6f3b1745c2
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
17 years ago
smatz
0b75129c24
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
17 years ago
rubidium
d87b6c3937
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
17 years ago
rubidium
67e610a8a8
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
17 years ago
smatz
a3e0078ef2
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
17 years ago
smatz
1a043128e1
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
17 years ago
smatz
c009a253dc
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
17 years ago
smatz
881d384e56
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
17 years ago