Darkvater
200b81ee6e
(svn r2193) - SVN: Set ignore on the last couple of annoying files
2005-04-13 23:07:13 +00:00
Darkvater
3a4c1ce351
(svn r2193) - SVN: Set ignore on the last couple of annoying files
2005-04-13 23:07:13 +00:00
Darkvater
e25dfa6e7e
(svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
...
- I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type.
- Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
2005-04-13 23:03:31 +00:00
Darkvater
febae668fe
(svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
...
- I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type.
- Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
2005-04-13 23:03:31 +00:00
truelight
f36354a70f
(svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard)
2005-04-13 18:36:29 +00:00
truelight
7f4b636559
(svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard)
2005-04-13 18:36:29 +00:00
darkvater
5960857d9d
(svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix)
2005-04-13 13:09:25 +00:00
darkvater
860242b811
(svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix)
2005-04-13 13:09:25 +00:00
tron
53d30138b2
(svn r2189) Introduce and use IsCompatibleTrainStationTile()
...
This should prevent trains, which are longer than the station, to turn around without stopping under certain circumstances and fix speed limit for trains entering a station, when realistic accerlation is used
2005-04-12 10:31:26 +00:00
tron
02f5818912
(svn r2189) Introduce and use IsCompatibleTrainStationTile()
...
This should prevent trains, which are longer than the station, to turn around without stopping under certain circumstances and fix speed limit for trains entering a station, when realistic accerlation is used
2005-04-12 10:31:26 +00:00
tron
beb185248b
(svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar)
2005-04-12 09:21:04 +00:00
tron
277d9d237b
(svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar)
2005-04-12 09:21:04 +00:00
tron
2b0c6b6acc
(svn r2187) Implement a slightly better workaround than r1588 did. (Joint effort with Celestar)
2005-04-12 09:17:51 +00:00
tron
e00785a855
(svn r2187) Implement a slightly better workaround than r1588 did. (Joint effort with Celestar)
2005-04-12 09:17:51 +00:00
miham
35e5844be3
(svn r2186) [Translations] Refreshed translations (20 strs/3 langs)
2005-04-12 07:29:37 +00:00
miham
8724ba8e01
(svn r2186) [Translations] Refreshed translations (20 strs/3 langs)
2005-04-12 07:29:37 +00:00
celestar
cc53b11637
(svn r2185) -Fix: Made sure that the realistic acceleration does not freeze trains anymore
2005-04-11 21:10:47 +00:00
celestar
4601cd1366
(svn r2185) -Fix: Made sure that the realistic acceleration does not freeze trains anymore
2005-04-11 21:10:47 +00:00
Darkvater
4719c452e8
(svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago
2005-04-11 20:54:25 +00:00
Darkvater
2397ff86e6
(svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago
2005-04-11 20:54:25 +00:00
matthijs
78eeb84d6b
(svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding...
2005-04-11 20:19:41 +00:00
matthijs
90cc36f7e2
(svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding...
2005-04-11 20:19:41 +00:00
matthijs
1858c37346
(svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf.
...
- Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline.
2005-04-11 19:53:44 +00:00
matthijs
f5d9cb58eb
(svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf.
...
- Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline.
2005-04-11 19:53:44 +00:00
matthijs
81fd47ac28
(svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks.
...
- Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic().
- Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic.
- Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions.
2005-04-11 19:14:48 +00:00
matthijs
b02dde1982
(svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks.
...
- Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic().
- Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic.
- Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions.
2005-04-11 19:14:48 +00:00
celestar
ec0358f850
(svn r2180) -Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance
2005-04-11 14:59:06 +00:00
celestar
a714444a8e
(svn r2180) -Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance
2005-04-11 14:59:06 +00:00
matthijs
b1245a4984
(svn r2179) - Fix: [ 1121437, 1114228
] Vehicles not entering depots for auto servicing.
2005-04-11 12:08:09 +00:00
matthijs
6409e6efaf
(svn r2179) - Fix: [ 1121437, 1114228
] Vehicles not entering depots for auto servicing.
2005-04-11 12:08:09 +00:00
Darkvater
00df5da8eb
(svn r2178) Postprevcommitaddendum: add debug.h if you use DEBUG()
2005-04-10 21:54:29 +00:00
Darkvater
e82f724e9a
(svn r2178) Postprevcommitaddendum: add debug.h if you use DEBUG()
2005-04-10 21:54:29 +00:00
Darkvater
11920607e4
(svn r2177) - Fix: Fix a slot desync with setting the invalid slot to the correct value
2005-04-10 21:51:11 +00:00
Darkvater
9876fb54bd
(svn r2177) - Fix: Fix a slot desync with setting the invalid slot to the correct value
2005-04-10 21:51:11 +00:00
tron
8b1d334927
(svn r2176) Revise CheckOprhanedSlot():
...
- Don't assert the vehicle type, as it can be anything
- Don't touch the slot information of the vehicle, because it's possible that it is not a road vehicle anymore and even if it is, it has nothing to to with that slot
- Trim the debug printout, because the information about the vehicle is arbitrary
(Joint effort with Darkvater)
2005-04-10 20:48:43 +00:00
tron
4dbf5b37cc
(svn r2176) Revise CheckOprhanedSlot():
...
- Don't assert the vehicle type, as it can be anything
- Don't touch the slot information of the vehicle, because it's possible that it is not a road vehicle anymore and even if it is, it has nothing to to with that slot
- Trim the debug printout, because the information about the vehicle is arbitrary
(Joint effort with Darkvater)
2005-04-10 20:48:43 +00:00
miham
88a0e06cfc
(svn r2175) [Translations] Updated translations (11 strs/3 langs)
2005-04-10 18:02:48 +00:00
miham
41f38775a1
(svn r2175) [Translations] Updated translations (11 strs/3 langs)
2005-04-10 18:02:48 +00:00
miham
a1f8eb1d32
(svn r2174) [Translations] Updated translations (7 strs/2 langs)
2005-04-09 22:42:12 +00:00
miham
6f15593ce2
(svn r2174) [Translations] Updated translations (7 strs/2 langs)
2005-04-09 22:42:12 +00:00
celestar
23b1617cdf
(svn r2173) -Fix: [ 1179380 ] Rail now builds on reserved land. Cause by the problem that CMD_ERROR is just the highest bit of the return value, but CMD_CLEAR_LANDSCAPE returns a negative value for owned land. So the highest bit is set as well. Note to self: Finish Command Patch
2005-04-09 06:20:03 +00:00
celestar
91d44ef577
(svn r2173) -Fix: [ 1179380 ] Rail now builds on reserved land. Cause by the problem that CMD_ERROR is just the highest bit of the return value, but CMD_CLEAR_LANDSCAPE returns a negative value for owned land. So the highest bit is set as well. Note to self: Finish Command Patch
2005-04-09 06:20:03 +00:00
miham
0844159786
(svn r2172) [Translations] Translations from the last two days (37 strs/11 langs)
2005-04-09 06:19:08 +00:00
miham
5a65140cb4
(svn r2172) [Translations] Translations from the last two days (37 strs/11 langs)
2005-04-09 06:19:08 +00:00
miham
e3226dba1e
(svn r2171) [Translations] Manually fixed string-order in english.txt (someone fscked it up!)
2005-04-09 06:15:16 +00:00
miham
13969f5940
(svn r2171) [Translations] Manually fixed string-order in english.txt (someone fscked it up!)
2005-04-09 06:15:16 +00:00
bjarni
7707f0b732
(svn r2170) -fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid)
2005-04-08 23:46:18 +00:00
bjarni
4af271c494
(svn r2170) -fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid)
2005-04-08 23:46:18 +00:00
celestar
dbffb060c1
(svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)
2005-04-08 22:50:22 +00:00
celestar
5d02a2c295
(svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)
2005-04-08 22:50:22 +00:00