tron
7984a9a500
(svn r1593) Remove yet another alloca()
2005-01-22 19:41:30 +00:00
tron
54e78e114c
(svn r1592) -Fix: [1090495] Slopes under high bridges weren't flooded
2005-01-22 19:05:30 +00:00
tron
6fb79d5f33
(svn r1591) Make dedicated servers on OS/2 check for input the UNIX way
2005-01-22 18:59:53 +00:00
darkvater
b49547b2b5
(svn r1590) -Fix: [1107347] ban 1 crashes dedicated server. Dedicated server cannot ban itself :)
2005-01-22 18:51:09 +00:00
tron
c0a0d1bb22
(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() introduced in r1585
2005-01-22 18:46:30 +00:00
celestar
f40ff3c134
(svn r1588) -Fix: [ 1105959 ] coded a workaround in the acceleration code so that
...
trains don't think they're on a slope while they drive around in a
tunnel
2005-01-22 18:39:52 +00:00
darkvater
7c28bafba9
(svn r1587) -CodeChange: fixed up the graph loop a little..numd now shows the exact amount, no +1 needed
...
-CodeMotion: moved 'Company performancerating detail' to the end of the file; it fits there
2005-01-22 16:24:21 +00:00
dominik
6e17ee9fe2
(svn r1586) Fix: [ 1107340 ] Graphs don't show comapany info for company #8
2005-01-22 15:50:54 +00:00
tron
5d443a2482
(svn r1585) Rewrite CmdBuildSignals()
...
This addresses several issues:
- Correct comments
- Check input parameters for validity (and don't assert() them)
- Reorder checks if action is possible to produce more meaningful error messages
- Correct bug where money was charged for an action which should be free
- Kill warning about uninitialized variable, because the variable exists no more
- Make more clear how the function works (at least i hope so)
2005-01-22 14:52:20 +00:00
dominik
4ce10986b5
(svn r1584) Fix: Highlighlighting tiles under bridges works again correctly for square selection tools.
2005-01-22 09:17:58 +00:00
darkvater
0a944dc950
(svn r1583) -Fix: You should no longer be able to delete bridges on any type of underground when there is a vehicle on it
2005-01-21 19:52:32 +00:00
dominik
5290d5f667
(svn r1582) Fix: Only the train orders GUI has a non-stop button now.
2005-01-21 18:36:17 +00:00
celestar
962dd27a8c
(svn r1581) Added a display for the total map population to the town display (Jango)
2005-01-21 16:51:25 +00:00
dominik
2f4959dcd8
(svn r1580) Fix: [ 1106354 ] Graph's keys get confused
...
Fix: Graphs were not updated correctly when one graph with a certain selection was already open and another graph window was opened
2005-01-21 11:12:17 +00:00
dominik
ef93fcfe48
(svn r1579) Fix: [ 1105963 ] Buoys can now only be removed if no ship has it in their schedule.
...
This makes buoys more useable in multiplayer games again, as buoys can't be deleted by other players if they are used.
2005-01-20 22:19:34 +00:00
darkvater
c245d93e7d
(svn r1578) -Fix: [1102454] dedicated server crashes after some hours (highscore problems for dedicated...should be really solved now)
2005-01-20 18:57:09 +00:00
tron
2e0d576e6b
(svn r1577) Fix: [1103301] Railroad tracks on slopes weren't flooded
2005-01-20 18:19:37 +00:00
tron
44dae05c3d
(svn r1576) Clean TileLoopWaterHelper() a bit up
2005-01-20 18:18:32 +00:00
Celestar
1af764c4d0
(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if
...
you have newgrfs loaded)
2005-01-20 10:31:59 +00:00
celestar
f8345b3fe6
(svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridge
2005-01-20 09:12:20 +00:00
celestar
f0e616ea2b
(svn r1573) -Fix: Station and depot building mode is now terminated if the
...
corresponding windows are closed [ 1104277 ]
2005-01-20 08:36:15 +00:00
tron
e9c25f8274
(svn r1572) Remove dead code from ludde's autorail implementation which was left over by revision 1571
2005-01-19 21:50:38 +00:00
dominik
aaf09ceb26
(svn r1571) Feature: Visually enhanced autorail placing
...
When using the autorail tool, the rail pieces which are going to be build are highlighted.
If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
2005-01-19 20:55:23 +00:00
tron
28df4a0e25
(svn r1570) Make the gcc version test work with old versions of test (i.e. don't use the < operator)
2005-01-19 20:22:10 +00:00
darkvater
7837be0575
(svn r1569) -Fix: signed/unsigned mismatch
2005-01-19 19:32:33 +00:00
bjarni
2fd3553d78
(svn r1568) made an enum of train subtypes to make the code more readable
2005-01-19 19:15:03 +00:00
darkvater
e4a3d284b2
(svn r1567) -Fix: [110452] On horizontal/vertical tracks you are also charged for building/removing signals on the parallel track on the same tile. Signal updating is also correct. (Hackykid)
2005-01-19 13:31:46 +00:00
darkvater
15630855dd
(svn r1566) -Fix eol-style on script files, as well as update them a bit (sign_de)
2005-01-19 13:22:01 +00:00
celestar
941da5dc94
(svn r1565) -Fix: [ 1104969 ] Aircraft in hangar messages are now revalidated before
...
display
-CodeChange: replaced one if (foo) return true else return false by
return (foo)
2005-01-19 10:00:37 +00:00
tron
a6d1544447
(svn r1564) ISO C90 forbids mixed declarations and code (bad bjarni, no cookie)
2005-01-19 05:55:30 +00:00
bjarni
69065b53c8
(svn r1563) fix: autoreplaced trains now sets wagon override properly
2005-01-19 01:18:29 +00:00
bjarni
f09b0def11
(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
2005-01-18 23:48:55 +00:00
bjarni
b1c4b0f07d
(svn r1561) Fix: autoreplacing a singleheaded engine into a dualheaded engine now adds the the rear engine
...
autoreplacing a dualheaded engine into a singleheaded engine now sells the rear engine
as a sideeffect of this, the price for replacing both engines are now added and displayed once from the depot(instead of two identical numbers written on top of each other, looking like one)
fix: cost for autorenew dualheaded engines were doubled and their value where doubled too
2005-01-18 23:27:06 +00:00
tron
31d6f87d80
(svn r1560) Introduce SetTileType() and SetTileHeight()
...
Replace direct references to _map_type_and_height with these
2005-01-18 18:41:56 +00:00
tron
64b08311b9
(svn r1559) Use IsTileType() instead of bit shifting and comparisons
2005-01-18 17:19:34 +00:00
Celestar
389a4bf44d
(svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle
...
message anymore
2005-01-18 16:01:35 +00:00
tron
eaa6bf3f42
(svn r1557) Replace strange if () do while () construct with a plain for ()
2005-01-18 15:26:14 +00:00
Celestar
5bcf3d2bc0
(svn r1556) -Fix: Vehicle list updates should now really work
2005-01-18 09:35:31 +00:00
miham
4559279686
(svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates
2005-01-17 22:44:33 +00:00
celestar
e0471187d0
(svn r1554) -Fix: [ 1103187 ] Order Check messages are now validated before
...
displayed, so that there are no stray error messages any more.
-Feature/Fix: Order Checking is only execute for ONE vehicle in an
order-share system
2005-01-17 21:54:45 +00:00
tron
9fadf6cf84
(svn r1553) Check which gcc version is present and only set availible compiler flags
2005-01-17 13:21:10 +00:00
tron
f4f705e723
(svn r1552) Make ottd compile on Zeta
2005-01-17 13:13:11 +00:00
tron
1847b99461
(svn r1551) Silence a warning and simplify a preprocessor check
2005-01-17 10:17:18 +00:00
tron
5adad6c1b4
(svn r1550) Remove useless function declaration
2005-01-17 09:43:02 +00:00
tron
fb0c3c8061
(svn r1549) Clean up some functions:
...
uint tile -> TileIndex tile
if () cascade -> switch ()
2005-01-17 09:41:46 +00:00
tron
d4beff7954
(svn r1548) Move AI_PATHFINDER_IS_ROAD from ai.h to ai_pathfinder.c to avoid global namespace pollution, turn it into a function called IsRoad and improve the commments a bit
2005-01-17 09:16:43 +00:00
darkvater
a1e94b67d5
(svn r1547) -Feature: windows dedicated (if anyone would run that, but ok), is now functioning correctly. There is no other way but to create a new thread, but that's only MS braindeadness
...
-Fix: [1103113] font size changing. Dedicated server did not have code filtering, 'tab' could result in bigger fonts
-Fix: [1103069] console backspace key with ded server; fixed due to normal console handling
-Fix: [1101963] console in dedicated server; see above
-Fix: dedicated server also writes to log file if active
2005-01-16 18:19:33 +00:00
truelight
8521367373
(svn r1546) -Fix: possible buffer-overflow in network
2005-01-16 17:19:37 +00:00
tron
022b8cea37
(svn r1545) Add TileHeight() which returns the height (not multiplied by 8)
...
Replace some direct references to _map_type_and_height with TileHeight()/IsTileType()
2005-01-16 14:50:01 +00:00
truelight
8e404a26f6
(svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to
...
crash from time to time
-Codechange: added const before 'Order *' where possible
2005-01-16 14:42:53 +00:00