Darkvater
674eaeeb59
(svn r2268) - Fix [ 1195595 ] high resolutions don't work. Clamp all possible inputs of resolutions to the maximum availble
2005-05-05 15:22:20 +00:00
Darkvater
df21566f9f
(svn r2268) - Fix [ 1195595 ] high resolutions don't work. Clamp all possible inputs of resolutions to the maximum availble
2005-05-05 15:22:20 +00:00
matthijs
fbed2d4bbb
(svn r2267) - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code.
2005-05-04 22:13:07 +00:00
matthijs
c85f049f52
(svn r2267) - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code.
2005-05-04 22:13:07 +00:00
Darkvater
a29a5b14a0
(svn r2266) - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output
2005-05-04 19:09:25 +00:00
Darkvater
b12c6bac57
(svn r2266) - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output
2005-05-04 19:09:25 +00:00
Darkvater
f1631ebed7
(svn r2265) - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode
2005-05-04 10:17:00 +00:00
Darkvater
effca9f6ec
(svn r2265) - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode
2005-05-04 10:17:00 +00:00
matthijs
59291dc63f
(svn r2264) - Fix: [ 1060686 1187655 ] Changing the full-load flag on the current order doesn't take effect immediately. (glx)
2005-05-03 22:18:40 +00:00
matthijs
95c040b723
(svn r2264) - Fix: [ 1060686 1187655 ] Changing the full-load flag on the current order doesn't take effect immediately. (glx)
2005-05-03 22:18:40 +00:00
Darkvater
dc4e959b48
(svn r2263) - Fix: If the seperator string is empty for custom currencies, everything after that is cut off. Fix it by replacing nothing with ' '. Thanks for noticing peter1138
2005-05-03 22:05:34 +00:00
Darkvater
b2efecd9b4
(svn r2263) - Fix: If the seperator string is empty for custom currencies, everything after that is cut off. Fix it by replacing nothing with ' '. Thanks for noticing peter1138
2005-05-03 22:05:34 +00:00
matthijs
f04ba0b679
(svn r2262) - Fix: Assertion when vehicle in a depot wants to do pathfinding.
...
GetVehicleTrackdir now tries to get a valid trackdir as much as possibly, by assuming that a vehicle is facing outwards in a depot or road station, for example.
- Codechange: [Multistop] Multistop now also tries to find a slot for road vehicles that are in stations, since the pathfinder now properly handles that.
2005-05-03 20:45:23 +00:00
matthijs
0699c54c45
(svn r2262) - Fix: Assertion when vehicle in a depot wants to do pathfinding.
...
GetVehicleTrackdir now tries to get a valid trackdir as much as possibly, by assuming that a vehicle is facing outwards in a depot or road station, for example.
- Codechange: [Multistop] Multistop now also tries to find a slot for road vehicles that are in stations, since the pathfinder now properly handles that.
2005-05-03 20:45:23 +00:00
matthijs
f7eb57c0fc
(svn r2261) - Fix: When crashed vehicles try to find a depot for servicing, openttd asserts.
...
Crashed vehicles shouldn't find depots anyway...
2005-05-03 19:31:33 +00:00
matthijs
24943a4759
(svn r2261) - Fix: When crashed vehicles try to find a depot for servicing, openttd asserts.
...
Crashed vehicles shouldn't find depots anyway...
2005-05-03 19:31:33 +00:00
Darkvater
d082989dc9
(svn r2260) - Fix (regression): custom currency input works again ingame
2005-05-03 15:20:08 +00:00
Darkvater
9b8aa4c101
(svn r2260) - Fix (regression): custom currency input works again ingame
2005-05-03 15:20:08 +00:00
Darkvater
6e342942a9
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
2005-05-03 11:48:55 +00:00
Darkvater
ad6b37a423
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
2005-05-03 11:48:55 +00:00
Darkvater
22c76e14fd
(svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there
2005-05-03 11:14:06 +00:00
Darkvater
a1e27b1606
(svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there
2005-05-03 11:14:06 +00:00
matthijs
64d7dbe4ca
(svn r2257) - Fix: [NPF] NPF debug markings modify _map2 instead of _map3_hi for street tiles, corrupting them.
...
Some info got moved around in r1768 for street tiles, but NPF did not get updated.
2005-05-03 00:11:30 +00:00
matthijs
b22ebeda61
(svn r2257) - Fix: [NPF] NPF debug markings modify _map2 instead of _map3_hi for street tiles, corrupting them.
...
Some info got moved around in r1768 for street tiles, but NPF did not get updated.
2005-05-03 00:11:30 +00:00
matthijs
f8302a137a
(svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
...
- Add: GetVehicleTrackdir() helper function.
- Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed.
- Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte".
- Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called.
2005-05-02 23:59:11 +00:00
matthijs
6eb094c726
(svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
...
- Add: GetVehicleTrackdir() helper function.
- Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed.
- Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte".
- Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called.
2005-05-02 23:59:11 +00:00
matthijs
ba733c005d
(svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships
...
Buoys will now try to get within 3 tiles of a buoy instead of a the actual buoy tile. This gets ships to got past buoys in a realistic (IMO) way instead of barging right through them.
- Fix: [NPF] Trains get curves penalties sometimes even when the track is straight.
- Add: [NPF] Ships get a penalty for going over buoys now, so they will try to go around.
- Add: [NPF] Ships get a penalty for curves too, yay for straight lines.
- Add: TrackdirToTrack(), TrackToTrackdir(), IsDiagonalTrack() and IsDiagonalTrackdir() helper functions.
- Add: IsBuoy() and IsBuoyTile() helper functions.
- Codechange: Rearranged part of the control flow of ShipController(), removing a goto.
2005-05-02 22:13:20 +00:00
matthijs
2ab5eee78b
(svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships
...
Buoys will now try to get within 3 tiles of a buoy instead of a the actual buoy tile. This gets ships to got past buoys in a realistic (IMO) way instead of barging right through them.
- Fix: [NPF] Trains get curves penalties sometimes even when the track is straight.
- Add: [NPF] Ships get a penalty for going over buoys now, so they will try to go around.
- Add: [NPF] Ships get a penalty for curves too, yay for straight lines.
- Add: TrackdirToTrack(), TrackToTrackdir(), IsDiagonalTrack() and IsDiagonalTrackdir() helper functions.
- Add: IsBuoy() and IsBuoyTile() helper functions.
- Codechange: Rearranged part of the control flow of ShipController(), removing a goto.
2005-05-02 22:13:20 +00:00
Darkvater
a7b661d47b
(svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog
2005-05-02 21:56:01 +00:00
Darkvater
d26052c7df
(svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog
2005-05-02 21:56:01 +00:00
matthijs
a2d7015248
(svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx)
2005-05-02 18:53:06 +00:00
matthijs
3b3a2b890f
(svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx)
2005-05-02 18:53:06 +00:00
Darkvater
6e9ef3e30a
(svn r2252) - ReFix: Redo r2251. Just remove the 'default widget handler', WDF_STD_BTN, instead of doing the "workaround" of the previous commit
2005-05-02 18:22:16 +00:00
Darkvater
5a35c8cc4e
(svn r2252) - ReFix: Redo r2251. Just remove the 'default widget handler', WDF_STD_BTN, instead of doing the "workaround" of the previous commit
2005-05-02 18:22:16 +00:00
Darkvater
5ee09dd208
(svn r2251) - Fix: [ 1193945 ] Clicking on the chat text box causes an assertion failure
2005-05-02 18:08:34 +00:00
Darkvater
ece616ff22
(svn r2251) - Fix: [ 1193945 ] Clicking on the chat text box causes an assertion failure
2005-05-02 18:08:34 +00:00
Darkvater
df46ae6e6a
(svn r2250) - Fix (regression): arguments with spaces in them were incorrectly parsed
2005-05-02 17:58:11 +00:00
Darkvater
4e1fbe54b2
(svn r2250) - Fix (regression): arguments with spaces in them were incorrectly parsed
2005-05-02 17:58:11 +00:00
matthijs
827808f906
(svn r2249) - Fix: [ 1187703 ] [NPF] Road vehicles cannot find a depot when in a roadstop
2005-05-02 17:52:35 +00:00
matthijs
5a69201451
(svn r2249) - Fix: [ 1187703 ] [NPF] Road vehicles cannot find a depot when in a roadstop
2005-05-02 17:52:35 +00:00
Darkvater
17d1d4a750
(svn r2248) - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash)
2005-05-02 17:14:31 +00:00
Darkvater
63784c5b5a
(svn r2248) - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash)
2005-05-02 17:14:31 +00:00
Darkvater
1fb4a182e7
(svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)).
...
- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\'
2005-05-02 17:05:59 +00:00
Darkvater
8f6b3154e5
(svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)).
...
- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\'
2005-05-02 17:05:59 +00:00
Darkvater
bc7f5e5099
(svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day
2005-05-02 16:02:24 +00:00
Darkvater
ab0a6f2e73
(svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day
2005-05-02 16:02:24 +00:00
Darkvater
6e56a30c07
(svn r2245) - CodeChange: simplify the clamping of values for patch-settings by using clamp()
2005-05-02 16:01:53 +00:00
Darkvater
57dbe50597
(svn r2245) - CodeChange: simplify the clamping of values for patch-settings by using clamp()
2005-05-02 16:01:53 +00:00
Darkvater
07d5d86c1a
(svn r2244) - Fix: 'scrollto' is not debug only..sorry :)
2005-05-02 16:00:49 +00:00
Darkvater
2cc10f829f
(svn r2244) - Fix: 'scrollto' is not debug only..sorry :)
2005-05-02 16:00:49 +00:00