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.
2007-10-19 22:46:55 +00:00
rubidium
3bcfe14cd1
(svn r11276) -Codechange: be more consistent with naming of some accessors.
...
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-10-16 19:48:58 +00:00
maedhros
ee4823857f
(svn r11265) -Feature: Make more advanced rail types more expensive to build.
2007-10-14 21:20:12 +00:00
rubidium
7a20f662ac
(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch.
2007-10-14 20:16:44 +00:00
rubidium
646615307e
(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
2007-10-08 20:42:33 +00:00
rubidium
af5399fa41
(svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge.
2007-10-05 22:10:15 +00:00
rubidium
0827b314f9
(svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses owned land. Patch by frosch.
2007-10-05 17:55:12 +00:00
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.
2007-09-19 16:36:42 +00:00
rubidium
ba55c4cef2
(svn r11112) -Fix (r11107) [FS#1229]: in some cases one could destroy (parts of) buildings when building tunnels.
2007-09-15 09:39:23 +00:00
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.
2007-09-14 22:27:40 +00:00
rubidium
643ffb270c
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
2007-09-09 11:23:49 +00:00
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.
2007-09-08 09:52:02 +00:00
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.
2007-08-30 17:17:04 +00:00
rubidium
e93f41676f
(svn r10979) -Fix [FS#1157]: catenary on tunnel tiles was drawn non-transparant when the other catenary was drawn transparant. Patch by smatz.
2007-08-25 20:32:18 +00:00
rubidium
537025e63b
(svn r10776) -Fix [FS#1081]: you would not pay for some foundations of bridges whereas you would pay for others.
2007-08-03 23:18:56 +00:00
rubidium
c60988a1d5
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
2007-08-02 22:33:53 +00:00
rubidium
2800a49f03
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
2007-07-29 23:42:59 +00:00
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.
2007-07-26 16:51:10 +00:00
rubidium
a26ef1ee3a
(svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
2007-07-26 14:07:11 +00:00
truelight
c239884287
(svn r10660) -Codechange: simplified tunnel cost algorithm (bilbo)
2007-07-23 16:15:40 +00:00
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
2007-07-16 09:16:58 +00:00
rubidium
46a6b03940
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
2007-07-13 15:12:36 +00:00
rubidium
b9db0b8cf1
(svn r10362) -Codechange: make tunnel costs less exponential for (very) long tunnels.
2007-06-27 19:00:14 +00:00
rubidium
71295c7d9e
(svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge entrances reveals one of the bugs that will be fixed when FS#119 is fixed.
2007-06-24 20:17:39 +00:00
rubidium
949fc3d78c
(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
2007-06-24 20:06:10 +00:00
rubidium
d92d65a99a
(svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this bug from happening.
2007-06-24 16:44:06 +00:00
rubidium
75ebd2c5a8
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
2007-06-21 17:27:21 +00:00
rubidium
d0fa4eb9de
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
...
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
rubidium
dffad5260b
(svn r10248) -Codechange: don't limit the cost of tunnels.
2007-06-21 14:58:30 +00:00
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
2007-06-18 10:48:15 +00:00
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.
2007-06-11 14:00:16 +00:00
rubidium
5ac10d4d2b
(svn r9966) -Fix: bridges and tunnels were not always removed on bankruptcy, thus leaving tunnels/bridges with an invalid owner that would crash the game when clicking with the query tool on them.
2007-05-28 21:32:26 +00:00
rubidium
fba2106536
(svn r9944) -Fix: tile selection drawn on the wrong height for some road bridges.
2007-05-26 21:34:38 +00:00
rubidium
a88d005c76
(svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes.
2007-05-26 20:30:40 +00:00
rubidium
01709037c0
(svn r9931) -Fix: some glitches with catenary and bridges.
2007-05-26 10:40:34 +00:00
rubidium
a8d9b4e040
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
2007-05-25 22:07:40 +00:00
rubidium
ce84250249
(svn r9919) -Codechange: prepare some more places for more road types.
2007-05-25 11:01:44 +00:00
rubidium
821e58ac95
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
2007-05-24 22:41:50 +00:00
rubidium
34c3ecc80b
(svn r9894) -Fix (r9892): catenary was drawn on road bridges ;)
2007-05-20 22:43:26 +00:00
rubidium
51109475a2
(svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
2007-05-20 19:14:08 +00:00
rubidium
87b07694a5
(svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it.
2007-04-27 20:01:25 +00:00
belugas
0eaa72e324
(svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections...
2007-04-18 00:41:09 +00:00
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.
2007-04-05 07:49:04 +00:00
belugas
4c4f2a34ef
(svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done
2007-04-04 03:21:14 +00:00
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
2007-04-01 11:11:49 +00:00
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
2007-03-24 09:12:03 +00:00
belugas
691f8578fd
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
2007-03-22 03:42:43 +00:00
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.
2007-03-20 13:47:00 +00:00
rubidium
36cea84b11
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
2007-03-08 16:27:54 +00:00