Darkvater
047f6a096c
(svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize
2005-05-07 10:26:45 +00:00
Darkvater
f2bc27718a
(svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize
2005-05-07 10:26:45 +00:00
Darkvater
419af5cece
(svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
2005-05-07 10:26:12 +00:00
Darkvater
3ad11e0ad4
(svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
2005-05-07 10:26:12 +00:00
tron
af42781042
(svn r2278) When renaming a station, check if the station exists and belongs to the correct player
2005-05-07 08:14:06 +00:00
tron
b90e9d49ca
(svn r2278) When renaming a station, check if the station exists and belongs to the correct player
2005-05-07 08:14:06 +00:00
Darkvater
1a9c87bfe4
(svn r2277) - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron
2005-05-06 22:06:40 +00:00
Darkvater
0618a6d0df
(svn r2277) - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron
2005-05-06 22:06:40 +00:00
Darkvater
5e4080b547
(svn r2276) - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode
2005-05-06 20:38:18 +00:00
Darkvater
81474c2623
(svn r2276) - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode
2005-05-06 20:38:18 +00:00
Darkvater
2c01a24474
(svn r2275) - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers
2005-05-06 18:34:28 +00:00
Darkvater
18bc5ae77e
(svn r2275) - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers
2005-05-06 18:34:28 +00:00
Darkvater
132f8673db
(svn r2274) - Codechange: some comments, parentheses and EngineID typedef for engine_type
2005-05-06 16:13:44 +00:00
Darkvater
adf929fef5
(svn r2274) - Codechange: some comments, parentheses and EngineID typedef for engine_type
2005-05-06 16:13:44 +00:00
celestar
3e0028c0df
(svn r2273) -Fix: Road vehicles no longer try to obtain a slot when they have crashed. (peter1138)
2005-05-06 12:00:25 +00:00
celestar
61ca460457
(svn r2273) -Fix: Road vehicles no longer try to obtain a slot when they have crashed. (peter1138)
2005-05-06 12:00:25 +00:00
tron
3f83bba96e
(svn r2272) Remove unused attribute from struct Station
2005-05-06 06:59:24 +00:00
tron
69a09c6f77
(svn r2272) Remove unused attribute from struct Station
2005-05-06 06:59:24 +00:00
tron
52c89cf477
(svn r2271) CMD_SET_PLAYER_FACE, CMD_SET_PLAYER_COLOR, CMD_INCREASE_LOAN, CMD_DECREASE_LOAN only make sense for the current player, so don't explicitly pass a player number
2005-05-06 06:56:30 +00:00
tron
d17476b058
(svn r2271) CMD_SET_PLAYER_FACE, CMD_SET_PLAYER_COLOR, CMD_INCREASE_LOAN, CMD_DECREASE_LOAN only make sense for the current player, so don't explicitly pass a player number
2005-05-06 06:56:30 +00:00
Darkvater
b0f58568f0
(svn r2270) - Fix/Codechange: fix up selling rail vehicles. Try to be smart about it. When selling dual-headed trains, also sell the rear end; if the now-first wagon is an engine, make it a train. When selling the whole train, try to leave dual-headed setups intact
2005-05-05 20:46:14 +00:00
Darkvater
203a84dd0b
(svn r2270) - Fix/Codechange: fix up selling rail vehicles. Try to be smart about it. When selling dual-headed trains, also sell the rear end; if the now-first wagon is an engine, make it a train. When selling the whole train, try to leave dual-headed setups intact
2005-05-05 20:46:14 +00:00
Darkvater
34066edd68
(svn r2269) - CodeChange: no else after return; exchange some magic 0xffff with INVALID_VEHICLE, vehicle index is of type VehicleID
2005-05-05 20:44:52 +00:00
Darkvater
42eb63a7de
(svn r2269) - CodeChange: no else after return; exchange some magic 0xffff with INVALID_VEHICLE, vehicle index is of type VehicleID
2005-05-05 20:44:52 +00:00
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