pasky
6dc963e246
(svn r2110) - Fix: Fixed test for various flags (e.g. newtrains in usset). result is bool so !! any non-zero values before assigning them to it - they apparently didn't fit. ;-)
2005-03-30 12:27:50 +00:00
pasky
7ff930af04
(svn r2110) - Fix: Fixed test for various flags (e.g. newtrains in usset). result is bool so !! any non-zero values before assigning them to it - they apparently didn't fit. ;-)
2005-03-30 12:27:50 +00:00
truelight
4c9f0eefb4
(svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0)
2005-03-30 09:25:20 +00:00
truelight
95541fa52d
(svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0)
2005-03-30 09:25:20 +00:00
truelight
9ebe54c1ae
(svn r2108) -Fix: the server now also unpause when a client desyncs or something
2005-03-30 08:50:34 +00:00
truelight
d97ff67129
(svn r2108) -Fix: the server now also unpause when a client desyncs or something
2005-03-30 08:50:34 +00:00
pasky
afcfbdf852
(svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange.
2005-03-29 21:42:51 +00:00
pasky
e7937998d6
(svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange.
2005-03-29 21:42:51 +00:00
truelight
40a9b91b37
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
...
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you
can auto-pause the game when a client wants to join the game. This to
avoid connection losses because of big maps (200+ trains). (with tnx to
#openttdcoop for the ideas and testing)
2005-03-29 19:10:13 +00:00
truelight
508738f836
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
...
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you
can auto-pause the game when a client wants to join the game. This to
avoid connection losses because of big maps (200+ trains). (with tnx to
#openttdcoop for the ideas and testing)
2005-03-29 19:10:13 +00:00
celestar
58a72bf483
(svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains
2005-03-29 11:19:10 +00:00
celestar
c68cfdeeca
(svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains
2005-03-29 11:19:10 +00:00
tron
e39cb78b73
(svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check
2005-03-29 08:37:44 +00:00
tron
3a8665f796
(svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check
2005-03-29 08:37:44 +00:00
Darkvater
a4e17642a8
(svn r2103) - Fix: Remove unnused variable from OS2 file
2005-03-28 21:14:36 +00:00
Darkvater
eb96f89960
(svn r2103) - Fix: Remove unnused variable from OS2 file
2005-03-28 21:14:36 +00:00
tron
b2dd47f565
(svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926])
2005-03-28 18:59:33 +00:00
tron
9d2406729e
(svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926])
2005-03-28 18:59:33 +00:00
tron
72dbefdebd
(svn r2101) statvfs() is availible on POSIX.1 conformant systems.
...
Also use a different field, which has a better chance of containing meaningful information, of the returned struct to determine the free space on the filesystem and fix a small bug introduced in r2100 (s/!=/==/)
2005-03-28 15:40:05 +00:00
tron
6ec727d15c
(svn r2101) statvfs() is availible on POSIX.1 conformant systems.
...
Also use a different field, which has a better chance of containing meaningful information, of the returned struct to determine the free space on the filesystem and fix a small bug introduced in r2100 (s/!=/==/)
2005-03-28 15:40:05 +00:00
darkvater
d643ca6271
(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
2005-03-28 13:30:51 +00:00
darkvater
6bca4c041a
(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
2005-03-28 13:30:51 +00:00
truelight
555a78aaac
(svn r2099) -Fix: no longer chat-messages hang when the game wraps around 2090
...
-Codechange: while trying to find this bug, made texteff.c a bit more readable :)
2005-03-28 12:38:02 +00:00
truelight
4573a9f872
(svn r2099) -Fix: no longer chat-messages hang when the game wraps around 2090
...
-Codechange: while trying to find this bug, made texteff.c a bit more readable :)
2005-03-28 12:38:02 +00:00
tron
fbe7139358
(svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic
2005-03-28 08:48:41 +00:00
tron
e4cb9dbb77
(svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic
2005-03-28 08:48:41 +00:00
celestar
b505d1782f
(svn r2097) -Codechange: [Multistop] Prettified the previous commit
2005-03-28 08:17:35 +00:00
celestar
51eeea477b
(svn r2097) -Codechange: [Multistop] Prettified the previous commit
2005-03-28 08:17:35 +00:00
celestar
b0aa584794
(svn r2096) -Codechange: [Multistop] Modfied some debug stuff
2005-03-28 08:12:21 +00:00
celestar
f42d17c6b3
(svn r2096) -Codechange: [Multistop] Modfied some debug stuff
2005-03-28 08:12:21 +00:00
tron
407b80656e
(svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability
2005-03-28 07:25:36 +00:00
tron
bba102e624
(svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability
2005-03-28 07:25:36 +00:00
tron
b0006b2009
(svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch
2005-03-28 07:02:51 +00:00
tron
ae359d0d02
(svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch
2005-03-28 07:02:51 +00:00
tron
1086f772bb
(svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once
2005-03-27 18:15:27 +00:00
tron
9e53b86dca
(svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once
2005-03-27 18:15:27 +00:00
Darkvater
fe9bb7e176
(svn r2092) - Fix: old commands/lines in the console (history) did not show when they used 'special' characters like öä, etc. Diff approved by the code-police.
2005-03-27 17:20:27 +00:00
Darkvater
a494f96cfe
(svn r2092) - Fix: old commands/lines in the console (history) did not show when they used 'special' characters like öä, etc. Diff approved by the code-police.
2005-03-27 17:20:27 +00:00
tron
c6b211d0aa
(svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()
2005-03-27 16:40:01 +00:00
tron
c4133f2535
(svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()
2005-03-27 16:40:01 +00:00
pasky
6552c22785
(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
2005-03-27 16:19:07 +00:00
pasky
31c36d3dd4
(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
2005-03-27 16:19:07 +00:00
pasky
730986eeb9
(svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746.
2005-03-27 15:56:54 +00:00
pasky
aafb136cd0
(svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746.
2005-03-27 15:56:54 +00:00
pasky
68da823951
(svn r2088) - Fix: [ 1155158 ] Make extmidi command a config option in addition to the compile-time MIDI switch. Patch by macbaine.
2005-03-27 15:42:25 +00:00
pasky
04dc6441aa
(svn r2088) - Fix: [ 1155158 ] Make extmidi command a config option in addition to the compile-time MIDI switch. Patch by macbaine.
2005-03-27 15:42:25 +00:00
pasky
b9252a268b
(svn r2087) Show also the modified filenames along each change in svn log. Prevents enraging Darkvater, and we show the commit messages along changed files everywhere else too (on IRC and in mail).
2005-03-27 15:13:51 +00:00
pasky
60bb2374d6
(svn r2087) Show also the modified filenames along each change in svn log. Prevents enraging Darkvater, and we show the commit messages along changed files everywhere else too (on IRC and in mail).
2005-03-27 15:13:51 +00:00
pasky
6ecac0a6f0
(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208.
2005-03-27 15:12:26 +00:00
pasky
8acc24f000
(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208.
2005-03-27 15:12:26 +00:00