frosch
d4dc5e0775
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
17 years ago
frosch
6f6708e844
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
17 years ago
smatz
74af65e556
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
17 years ago
smatz
5a7c903770
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
17 years ago
smatz
8be486c27e
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
17 years ago
smatz
0b888ccc00
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
17 years ago
smatz
d89c5e945f
(svn r11953) -Fix (r11172): do not allow modifying roadbits when other roadtypes would need different foundation
17 years ago
smatz
983fdb8a4f
(svn r11953) -Fix (r11172): do not allow modifying roadbits when other roadtypes would need different foundation
17 years ago
smatz
8dbf03e322
(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
...
-Fix: crossing sound is bound to tile, not to vehicle
17 years ago
smatz
8d077b16d8
(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
...
-Fix: crossing sound is bound to tile, not to vehicle
17 years ago
smatz
b20d1eee6c
(svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame
17 years ago
smatz
822242f411
(svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame
17 years ago
belugas
88206b8808
(svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones
17 years ago
belugas
7a66d5e21d
(svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones
17 years ago
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
2fc62eab05
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
glx
8ee8d1b964
(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a command can be executed.
17 years ago
glx
785572ea32
(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a command can be executed.
17 years ago
rubidium
0365c1f33b
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
17 years ago
rubidium
46650c54b6
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
17 years ago
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
444e77d8bc
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
17 years ago
rubidium
b0ac283aec
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
17 years ago
smatz
f02cf9281b
(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
...
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
17 years ago
smatz
7302d8c88b
(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
...
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
17 years ago
glx
bf57e3d868
(svn r11750) -Revert (r11749): commited too much
17 years ago
glx
72afdb8d34
(svn r11750) -Revert (r11749): commited too much
17 years ago
glx
e9a35fd75d
(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color
17 years ago
glx
42bddcf723
(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color
17 years ago
rubidium
445a733eb6
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
17 years ago
rubidium
e5e75bd8f8
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
17 years ago
rubidium
722613f7f3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
f82aeb82c5
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
1f6043458c
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
3074bca136
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
17 years ago
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
17 years ago
rubidium
766551b0bc
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
be923601bf
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
17 years ago
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
17 years ago
rubidium
8bfbfd0031
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
rubidium
efc18e8ab3
(svn r11663) -Codechange: moving of the road related types and functions.
17 years ago
rubidium
e4ef359f47
(svn r11663) -Codechange: moving of the road related types and functions.
17 years ago
smatz
531651293e
(svn r11657) -Fix: show better error message when trying to convert rail
...
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
17 years ago
smatz
0b08f7370d
(svn r11657) -Fix: show better error message when trying to convert rail
...
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
17 years ago
smatz
d56a690ba4
(svn r11649) -Codechange: some code can be simplified thanks to changes in r11642
17 years ago
smatz
145517fb8e
(svn r11649) -Codechange: some code can be simplified thanks to changes in r11642
17 years ago
smatz
926fe5c9e9
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
17 years ago
smatz
3cee0abdba
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
17 years ago
smatz
60f9bbd17e
(svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks
17 years ago
smatz
acf6e08f78
(svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks
17 years ago
smatz
76391f4498
(svn r11636) -Fix: it was possible to build/remove road/tram in tunnel/bridge when there was vehicle in it
17 years ago
smatz
46724104fe
(svn r11636) -Fix: it was possible to build/remove road/tram in tunnel/bridge when there was vehicle in it
17 years ago
smatz
911273948b
(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic
17 years ago
smatz
dfba33819b
(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic
17 years ago
skidd13
e36dba227b
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
...
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
17 years ago
skidd13
bdc7fd2d76
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
...
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
17 years ago
skidd13
815b8d8df1
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
truelight
58e5282e38
(svn r11407) -Fix: do not allow building of tram-tracks when they are not available (SmatZ)
17 years ago
truelight
8b3e278897
(svn r11407) -Fix: do not allow building of tram-tracks when they are not available (SmatZ)
17 years ago
belugas
f26a591e6c
(svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
...
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
17 years ago
belugas
f55fdfb7c4
(svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
...
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
17 years ago
truelight
f1df43ec21
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
17 years ago
truelight
69b1d97c03
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
17 years ago
truelight
19d13f90b3
(svn r11369) -Codechange [FS#1390]: changes some int to int8 in macros.h, as they describe a bit-position, which fits perfectly in an int8 (max 64) (skidd13)
...
-Codechange [FS#1390]: added consts in macros.h functions, so compilers can optimise better (skidd13)
-Codechange [FS#1390]: remove HAS_SINGLE_BIT, as COUNTBITS does the same (skidd13)
17 years ago
truelight
71ba45cdfb
(svn r11369) -Codechange [FS#1390]: changes some int to int8 in macros.h, as they describe a bit-position, which fits perfectly in an int8 (max 64) (skidd13)
...
-Codechange [FS#1390]: added consts in macros.h functions, so compilers can optimise better (skidd13)
-Codechange [FS#1390]: remove HAS_SINGLE_BIT, as COUNTBITS does the same (skidd13)
17 years ago
rubidium
eadd6765e1
(svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
17 years ago
rubidium
8212088c03
(svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
17 years ago
rubidium
8342c18fb5
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
17 years ago
rubidium
95f2181a1d
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
17 years ago
maedhros
ee4823857f
(svn r11265) -Feature: Make more advanced rail types more expensive to build.
17 years ago
maedhros
675a826601
(svn r11265) -Feature: Make more advanced rail types more expensive to build.
17 years ago
rubidium
ea433ffc64
(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. Based on patches by frosch and skidd13.
17 years ago
rubidium
a88d0a88b8
(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. Based on patches by frosch and skidd13.
17 years ago
rubidium
f54a823129
(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ.
17 years ago
rubidium
7788c04b78
(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ.
17 years ago
rubidium
80a3590bf5
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
17 years ago
rubidium
01edaeec57
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
17 years ago
rubidium
5c9553d48b
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
17 years ago
rubidium
7d325672eb
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
17 years ago
rubidium
3055d42fc4
(svn r11107) -Feature: some tool so one can still build tunnels under rails (and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
17 years ago
rubidium
fef64185b8
(svn r11107) -Feature: some tool so one can still build tunnels under rails (and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
17 years ago
rubidium
c97804461e
(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
17 years ago
rubidium
91a49cee55
(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
17 years ago
rubidium
88133a97b5
(svn r11056) -Fix [FS#1213]: road/tram tiles would not always get marked dirty properly, causing glitches for non-local players. Patch by SmatZ.
17 years ago
rubidium
c25655d4ae
(svn r11056) -Fix [FS#1213]: road/tram tiles would not always get marked dirty properly, causing glitches for non-local players. Patch by SmatZ.
17 years ago
rubidium
6f76bc2449
(svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
17 years ago
rubidium
56ab253307
(svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
17 years ago
rubidium
f4482907da
(svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
...
-Codechange: barren the rail grounds on terraforming.
17 years ago
rubidium
b284b5fa92
(svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
...
-Codechange: barren the rail grounds on terraforming.
17 years ago
rubidium
235ad4ab6b
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
17 years ago
rubidium
cb7eaff353
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
17 years ago
rubidium
71dec585f3
(svn r10890) -Fix [FS#1125]: removing road with the road removal tool would also work with a negative bank account, making the bank account even more negative than it was.
17 years ago
rubidium
b169fceabc
(svn r10890) -Fix [FS#1125]: removing road with the road removal tool would also work with a negative bank account, making the bank account even more negative than it was.
17 years ago
rubidium
36da8a2a38
(svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel.
17 years ago
rubidium
2bff32afb0
(svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel.
17 years ago
rubidium
c60988a1d5
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
17 years ago
rubidium
549450d31a
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
17 years ago
rubidium
2800a49f03
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
17 years ago
rubidium
7fb3f54584
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
17 years ago
rubidium
8cc340681d
(svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear.
17 years ago
rubidium
b0f2653eb8
(svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear.
17 years ago
rubidium
903a0a08c2
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
17 years ago
rubidium
d624f66c79
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
17 years ago
rubidium
a26ef1ee3a
(svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
17 years ago
rubidium
02ab86631e
(svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
17 years ago
rubidium
e97c2bf621
(svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected.
17 years ago
rubidium
d031da78d8
(svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected.
17 years ago
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
17 years ago
rubidium
efc7fdf2fd
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
17 years ago
rubidium
fd93cd0411
(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can never be associated with a town.
17 years ago
rubidium
255102d223
(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can never be associated with a town.
17 years ago
rubidium
bf0be8f0bc
(svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits.
17 years ago
rubidium
b11bf3e157
(svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits.
17 years ago
rubidium
911f37ee94
(svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases.
17 years ago
rubidium
e51a513eb8
(svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases.
17 years ago
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
17 years ago
rubidium
49220cc6f1
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
17 years ago
rubidium
82e79b847e
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
17 years ago
rubidium
b09431478d
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
17 years ago
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
17 years ago
rubidium
966e2738b9
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
17 years ago
maedhros
c186f91cbd
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
...
road vehicles for those who prefer the technical explanation.
18 years ago
maedhros
3e326085fa
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
...
road vehicles for those who prefer the technical explanation.
18 years ago
rubidium
740eb9d89a
(svn r10053) -Fix: could not clear a level-crossing tile with tram tracks.
18 years ago
rubidium
770d7188ac
(svn r10053) -Fix: could not clear a level-crossing tile with tram tracks.
18 years ago
rubidium
4a62006c39
(svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries).
18 years ago
rubidium
01f80cf343
(svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries).
18 years ago
rubidium
294a154bf7
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
18 years ago
rubidium
253aa1b0b0
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
18 years ago
rubidium
a4750af656
(svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops.
18 years ago
rubidium
52f612d711
(svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops.
18 years ago
rubidium
1e371a99d2
(svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa.
18 years ago
rubidium
2db0d81cc1
(svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa.
18 years ago
rubidium
0bdd409765
(svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart).
18 years ago
rubidium
a31e944149
(svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart).
18 years ago
rubidium
4f9a0f750a
(svn r9964) -Fix: removing of road should not be free of charge.
18 years ago
rubidium
66c23060e2
(svn r9964) -Fix: removing of road should not be free of charge.
18 years ago
maedhros
4f6ffd4e12
(svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious.
18 years ago
maedhros
21454957b5
(svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious.
18 years ago
glx
39463156df
(svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
...
-Fix: you could build a drive-through station over a sloped road/tram track
18 years ago
glx
8c9b4ee548
(svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
...
-Fix: you could build a drive-through station over a sloped road/tram track
18 years ago
rubidium
fe9bf75436
(svn r9949) -Fix: (road) depots got deowned on bankrupts.
18 years ago
rubidium
c69458d894
(svn r9949) -Fix: (road) depots got deowned on bankrupts.
18 years ago
rubidium
9e8f500f7f
(svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire?
18 years ago
rubidium
35f1299d40
(svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire?
18 years ago
rubidium
5bdf6833b3
(svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type.
18 years ago
rubidium
7088cedb7a
(svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type.
18 years ago
rubidium
ff0bf9fb1f
(svn r9946) -Fix: more places that weren't correctly marked dirty...
18 years ago
rubidium
997901189f
(svn r9946) -Fix: more places that weren't correctly marked dirty...
18 years ago
rubidium
567035ebb5
(svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes.
18 years ago
rubidium
54d7cb8f7c
(svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes.
18 years ago
rubidium
336c9a5cc4
(svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype.
18 years ago
rubidium
0e07a938b7
(svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype.
18 years ago
rubidium
b741bd1b1e
(svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge.
18 years ago
rubidium
016e651ffd
(svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge.
18 years ago
rubidium
7e6f19ac1c
(svn r9934) -Fix (r9923): towns could remove 'half' tram tracks.
18 years ago
rubidium
04f9b1ab61
(svn r9934) -Fix (r9923): towns could remove 'half' tram tracks.
18 years ago
rubidium
01709037c0
(svn r9931) -Fix: some glitches with catenary and bridges.
18 years ago
rubidium
78be11be40
(svn r9931) -Fix: some glitches with catenary and bridges.
18 years ago
rubidium
1360c8c116
(svn r9929) -Fix [FS#803]: fix several drawing issues.
18 years ago
rubidium
ceae5eaeba
(svn r9929) -Fix [FS#803]: fix several drawing issues.
18 years ago
rubidium
a8d9b4e040
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
18 years ago
rubidium
17390241e6
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
18 years ago
rubidium
9fc73931f1
(svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes.
18 years ago
rubidium
8484a9a2e5
(svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes.
18 years ago
rubidium
821e58ac95
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
18 years ago
rubidium
440d723d84
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
18 years ago
rubidium
75f0cb28cd
(svn r9910) -Codechange: prepare road building/removing commands for more road types.
18 years ago
rubidium
04c07c9388
(svn r9910) -Codechange: prepare road building/removing commands for more road types.
18 years ago
rubidium
33c3420ef4
(svn r9897) -Codechange: prepare the toolbar for more road types.
18 years ago
rubidium
b7748a686e
(svn r9897) -Codechange: prepare the toolbar for more road types.
18 years ago
rubidium
fe420111e8
(svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads.
18 years ago
rubidium
07535d857b
(svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads.
18 years ago
rubidium
51109475a2
(svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
18 years ago
rubidium
d86b5e5e93
(svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
18 years ago
truelight
b605f68631
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
truelight
765c466b8d
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
truelight
dc191785db
(svn r9844) -Codechange: replace zoomlevel with an enum
...
-Codechange: use predefined enums for viewport zoomlevels
18 years ago
truelight
d3f375231f
(svn r9844) -Codechange: replace zoomlevel with an enum
...
-Codechange: use predefined enums for viewport zoomlevels
18 years ago
peter1138
e4ada15d49
(svn r9805) -Codechange: Use HASBIT() et al for display options bits.
18 years ago
peter1138
0de85b7eb0
(svn r9805) -Codechange: Use HASBIT() et al for display options bits.
18 years ago
maedhros
1d05573950
(svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles.
18 years ago
maedhros
889f2ab48c
(svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles.
18 years ago
rubidium
7577954ced
(svn r9672) -Cleanup: lots of coding style fixes around operands.
18 years ago
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
18 years ago
belugas
76faa0f759
(svn r9664) -Documentation: Doxygen corrections,errors and omissions
18 years ago
belugas
addcae43fa
(svn r9664) -Documentation: Doxygen corrections,errors and omissions
18 years ago
peter1138
51d72c11c8
(svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
18 years ago
peter1138
a2cec54c9d
(svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
18 years ago
belugas
27311537ce
(svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words
18 years ago
belugas
65bc46082e
(svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words
18 years ago
belugas
34272ad201
(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"
18 years ago
belugas
386e298acd
(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"
18 years ago
celestar
44be40052f
(svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
18 years ago
celestar
49ff7cb938
(svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
18 years ago
belugas
691f8578fd
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
18 years ago
belugas
06d3669bb5
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
18 years ago
maedhros
94db6aa1a2
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
...
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
18 years ago
maedhros
48f2bf9bb1
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
...
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
18 years ago
rubidium
36cea84b11
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
18 years ago
rubidium
ce919e8c71
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
18 years ago
rubidium
4ca294dfff
(svn r9065) -Fix: possible dereference of NULL pointer.
18 years ago
rubidium
c517f8fd6e
(svn r9065) -Fix: possible dereference of NULL pointer.
18 years ago
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
b5a997a446
(svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
18 years ago
rubidium
4908115355
(svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
18 years ago
rubidium
191a739d31
(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.
18 years ago
rubidium
aaeeef3d88
(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.
18 years ago
tron
47b677abfe
(svn r8876) -Fix
...
Replace tests with magic numbers by a simple extraction template for command parameters
18 years ago
tron
d3b29bcacb
(svn r8876) -Fix
...
Replace tests with magic numbers by a simple extraction template for command parameters
18 years ago
tron
ac75cf0ae1
(svn r8875) -Fix
...
Remove unnecessary EnsureNoVehicle() checks because they are
- pointless per se (f.e. there are no vehicles on house tiles)
- done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
18 years ago
tron
1d1121f85a
(svn r8875) -Fix
...
Remove unnecessary EnsureNoVehicle() checks because they are
- pointless per se (f.e. there are no vehicles on house tiles)
- done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
18 years ago
rubidium
a5697946d1
(svn r8852) -Fix (r8735): make the dynamite tool for drive through road stops as if it were removing a normal road tile (consider the local authority and such).
...
-Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
18 years ago
rubidium
202702c007
(svn r8852) -Fix (r8735): make the dynamite tool for drive through road stops as if it were removing a normal road tile (consider the local authority and such).
...
-Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
18 years ago
rubidium
eb5648f382
(svn r8698) -Codechange: enumify the returns of VehicleEnterTile
18 years ago
rubidium
a419f4aeda
(svn r8698) -Codechange: enumify the returns of VehicleEnterTile
18 years ago
rubidium
69d4888c29
(svn r8608) -Fix: you were unable to build roads in the scenario editor when there is no town 0, even though there are other towns.
18 years ago
rubidium
8c3793a088
(svn r8608) -Fix: you were unable to build roads in the scenario editor when there is no town 0, even though there are other towns.
18 years ago
peter1138
ca9843424b
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
...
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
18 years ago
peter1138
92d418b031
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
...
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
18 years ago
Darkvater
43343d640b
(svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast
18 years ago
Darkvater
5863a6088d
(svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast
18 years ago
Darkvater
64f34d322d
(svn r8096) -Codechange: Invert the check if you are allowed to clear a road tile so there are not so many negations (too confusing) and added some comments to further clarify what happens.
18 years ago
Darkvater
fc78ef95e1
(svn r8096) -Codechange: Invert the check if you are allowed to clear a road tile so there are not so many negations (too confusing) and added some comments to further clarify what happens.
18 years ago
rubidium
a7d0cdf95f
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago