d0cdb45b6c
(svn r2431) - Fix: [newgrf] clamp() instead of assert() on the result of the vehicle length calculation, as it can depend on external input. (thanks tron)
hackykid
2005-06-07 16:44:54 +00:00
f723540fbb
(svn r2431) - Fix: [newgrf] clamp() instead of assert() on the result of the vehicle length calculation, as it can depend on external input. (thanks tron)
hackykid
2005-06-07 16:44:54 +00:00
0d926eee37
(svn r2429) - Fix: Oops, forgot to increase the size of the autoreplace window to fit the extra info from powered wagons.
hackykid
2005-06-07 01:21:56 +00:00
dc75e1d58b
(svn r2429) - Fix: Oops, forgot to increase the size of the autoreplace window to fit the extra info from powered wagons.
hackykid
2005-06-07 01:21:56 +00:00
6d78b70075
(svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it. - Codechange: Remove some magic numbers (PALETTE_CRASH)
hackykid
2005-06-06 22:44:11 +00:00
daae0d315a
(svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it. - Codechange: Remove some magic numbers (PALETTE_CRASH)
hackykid
2005-06-06 22:44:11 +00:00
4184611d3a
(svn r2427) - Fix: CmdMoveRailVehice; Prevent possible assertion failure when moving vehicles within one chain.
hackykid
2005-06-06 21:32:04 +00:00
5e8b14df3e
(svn r2427) - Fix: CmdMoveRailVehice; Prevent possible assertion failure when moving vehicles within one chain.
hackykid
2005-06-06 21:32:04 +00:00
b2b0f6f3ce
(svn r2425) - Fix (regression): wrong sprite for level-land cursor (thx Tron) - CodeChange: change MapSizeX() - 1 to MapMaxX() in the smallmap drawing code
Darkvater
2005-06-06 17:30:52 +00:00
ab7bf18d23
(svn r2425) - Fix (regression): wrong sprite for level-land cursor (thx Tron) - CodeChange: change MapSizeX() - 1 to MapMaxX() in the smallmap drawing code
Darkvater
2005-06-06 17:30:52 +00:00
7dd5578477
(svn r2424) - Fix: backport the smallmap_gui.c changes from the map/ branch into trunk. This also implicitely fixes the bug where the game would crash in certain resolutions with certain minimap masks when dragged partly outside the game-area.
Darkvater
2005-06-06 15:58:58 +00:00
4198418d77
(svn r2424) - Fix: backport the smallmap_gui.c changes from the map/ branch into trunk. This also implicitely fixes the bug where the game would crash in certain resolutions with certain minimap masks when dragged partly outside the game-area.
Darkvater
2005-06-06 15:58:58 +00:00
2d19785e43
(svn r2423) - CodeChange: Include first_engine in the train cache, instead of calculating it all over the place. - Fix: Also recalculate the train cache values for 'wagon chains' (in the depot without an engine), to avoid possible desyncs later. - Fix: Make CmdMoveRailVehicle update the caches of the correct trains in all cases.
hackykid
2005-06-06 14:26:15 +00:00
16ab34615f
(svn r2423) - CodeChange: Include first_engine in the train cache, instead of calculating it all over the place. - Fix: Also recalculate the train cache values for 'wagon chains' (in the depot without an engine), to avoid possible desyncs later. - Fix: Make CmdMoveRailVehicle update the caches of the correct trains in all cases.
hackykid
2005-06-06 14:26:15 +00:00
d549523f96
(svn r2422) - Codechange: magic number fix in network window (anonymous)
Darkvater
2005-06-06 14:11:15 +00:00
871e21e991
(svn r2422) - Codechange: magic number fix in network window (anonymous)
Darkvater
2005-06-06 14:11:15 +00:00
fd80208af9
(svn r2421) - how come you didn't get committed you evil file? Be gone!
Darkvater
2005-06-06 14:07:50 +00:00
095cdb9df1
(svn r2421) - how come you didn't get committed you evil file? Be gone!
Darkvater
2005-06-06 14:07:50 +00:00
5fed47964e
(svn r2420) - Codechange: magic number elminitation of cursorsprites.
Darkvater
2005-06-06 13:47:06 +00:00
c3c69ff5cb
(svn r2420) - Codechange: magic number elminitation of cursorsprites.
Darkvater
2005-06-06 13:47:06 +00:00
71c2a573e1
(svn r2419) - Fix: saving no longer changes your cursor if it is in a non-mouse state. - Fix: autosaving/loading; it no longer returns a fail code when saving is already in progress. In the case of a load, the game pauses to wait for the save to finish. (glx) - Fix (regression): fix a bug in the 'buggy load' code where a wrong offset was used for the LZO format.
Darkvater
2005-06-06 13:11:35 +00:00
f87df93a70
(svn r2419) - Fix: saving no longer changes your cursor if it is in a non-mouse state. - Fix: autosaving/loading; it no longer returns a fail code when saving is already in progress. In the case of a load, the game pauses to wait for the save to finish. (glx) - Fix (regression): fix a bug in the 'buggy load' code where a wrong offset was used for the LZO format.
Darkvater
2005-06-06 13:11:35 +00:00
2bcb41293f
(svn r2417) - Fix: threads on morphos are apparently unexistent, so implement stubs for them (tokai)
Darkvater
2005-06-06 12:11:44 +00:00
a6f2b8ae74
(svn r2417) - Fix: threads on morphos are apparently unexistent, so implement stubs for them (tokai)
Darkvater
2005-06-06 12:11:44 +00:00
7992e105f9
(svn r2416) [Translations] Updated to 2005-06-06 (lots of strings has changed in english, therefore further changes ahead..)
miham
2005-06-06 05:29:06 +00:00
8d3ad041e0
(svn r2416) [Translations] Updated to 2005-06-06 (lots of strings has changed in english, therefore further changes ahead..)
miham
2005-06-06 05:29:06 +00:00
2fbb96bfa5
(svn r2415) - Fix: [newgrf] Powered Wagons - Don't assume an undefined callback will fail.
hackykid
2005-06-06 01:31:36 +00:00
f847736b5d
(svn r2415) - Fix: [newgrf] Powered Wagons - Don't assume an undefined callback will fail.
hackykid
2005-06-06 01:31:36 +00:00
1018d3b786
(svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.
hackykid
2005-06-06 00:19:24 +00:00
26e87892e2
(svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.
hackykid
2005-06-06 00:19:24 +00:00
09aadafda1
(svn r2413) - Codechange: Rewrite the displaying of purchase details a bit, make it easyer to add lines later. - Add: In the purchase details for trains display "(refittable)" after the capacity if the vehicle is refittable.
hackykid
2005-06-05 23:01:10 +00:00
eebe82c983
(svn r2413) - Codechange: Rewrite the displaying of purchase details a bit, make it easyer to add lines later. - Add: In the purchase details for trains display "(refittable)" after the capacity if the vehicle is refittable.
hackykid
2005-06-05 23:01:10 +00:00
ea57dee837
(svn r2412) - Fix: [ 1214948 ] building vehicles without depot crashes game. (Chris Huebsch)
hackykid
2005-06-05 20:45:04 +00:00
c4b426ef8c
(svn r2412) - Fix: [ 1214948 ] building vehicles without depot crashes game. (Chris Huebsch)
hackykid
2005-06-05 20:45:04 +00:00
eb173099e9
(svn r2411) - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time. - Fix: Station ratings now depends on the max speed of a consist, without being affected by other speed limits from realistic acceleration.
hackykid
2005-06-05 15:37:00 +00:00
e878e4d815
(svn r2411) - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time. - Fix: Station ratings now depends on the max speed of a consist, without being affected by other speed limits from realistic acceleration.
hackykid
2005-06-05 15:37:00 +00:00
9ac03e7181
(svn r2410) - Fix: [newgrf] When resolving callbacks, dont ignore wagon overrides.
hackykid
2005-06-05 05:35:12 +00:00
b30a413cfe
(svn r2410) - Fix: [newgrf] When resolving callbacks, dont ignore wagon overrides.
hackykid
2005-06-05 05:35:12 +00:00
c2e977a0b8
(svn r2409) Missed one _map_owner -> IsTileOwner()
tron
2005-06-04 12:14:51 +00:00
24fd817420
(svn r2409) Missed one _map_owner -> IsTileOwner()
tron
2005-06-04 12:14:51 +00:00
74541c1dcc
(svn r2408) Introduce SetTileOwner() and use it
tron
2005-06-04 12:13:24 +00:00
ff0030936e
(svn r2408) Introduce SetTileOwner() and use it
tron
2005-06-04 12:13:24 +00:00
0c4ecbe9ec
(svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
tron
2005-06-04 11:56:32 +00:00
a9b95b3cbb
(svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
tron
2005-06-04 11:56:32 +00:00
a51cfd58b8
(svn r2391) - Feature: saving games happen in a seperate thread so you no longer will have to wait such a long time (especially handy on bigger maps and multiplayer games). The mouse also changes into the 'ZZZ' state :P. The thread on windows is currently given a little-bit-less-than-normal priority so it should not interfere that much with the gameplay; it will take a bit longer though. Upon the exit of the game any pending saves are waited upon. - Fix: fixed GetSavegameFormat() so that it takes the best compressor (highest), or a forced one added with the parameter - Open issues: 1. Don't attempt to load a game while saving is in progress, it will kick you back to the intro-screen with only the vast ocean to look at. 2. The server is disabled from threaded-saving, but might be enabled in the future. 3. Current implementation only allows 1 additional running thread. 4. Stupid global variables.....grrr Big thanks for TrueLight and the amazing memorypool :D
Darkvater
2005-06-01 23:08:33 +00:00
13c7b2b337
(svn r2391) - Feature: saving games happen in a seperate thread so you no longer will have to wait such a long time (especially handy on bigger maps and multiplayer games). The mouse also changes into the 'ZZZ' state :P. The thread on windows is currently given a little-bit-less-than-normal priority so it should not interfere that much with the gameplay; it will take a bit longer though. Upon the exit of the game any pending saves are waited upon. - Fix: fixed GetSavegameFormat() so that it takes the best compressor (highest), or a forced one added with the parameter - Open issues: 1. Don't attempt to load a game while saving is in progress, it will kick you back to the intro-screen with only the vast ocean to look at. 2. The server is disabled from threaded-saving, but might be enabled in the future. 3. Current implementation only allows 1 additional running thread. 4. Stupid global variables.....grrr Big thanks for TrueLight and the amazing memorypool :D
Darkvater
2005-06-01 23:08:33 +00:00
f7dcd2e834
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
hackykid
2005-06-01 11:52:44 +00:00
2f1a224ea9
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
hackykid
2005-06-01 11:52:44 +00:00
351d7aaa9f
(svn r2389) - Feature: [newgrf] Implement the mechanism for handling newgrf callbacks. - Feature: [newgrf] Implement the 'refit capacity' callback.
hackykid
2005-06-01 11:34:37 +00:00
799e1f5c50
(svn r2389) - Feature: [newgrf] Implement the mechanism for handling newgrf callbacks. - Feature: [newgrf] Implement the 'refit capacity' callback.
hackykid
2005-06-01 11:34:37 +00:00
d1c1a7cba7
(svn r2388) - Fix: [realistic accel] Very slow trains no longer get an increase in maximum speed when part of them is in a depot.
hackykid
2005-06-01 10:30:45 +00:00
80cbf3a0ee
(svn r2388) - Fix: [realistic accel] Very slow trains no longer get an increase in maximum speed when part of them is in a depot.
hackykid
2005-06-01 10:30:45 +00:00
55423efb06
(svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big. - Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types.
Darkvater
2005-05-30 22:16:05 +00:00
f4f5cb93f8
(svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big. - Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types.
Darkvater
2005-05-30 22:16:05 +00:00
d0a0d6fcb5
(svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.
Darkvater
2005-05-30 16:03:21 +00:00
53b1de7d70
(svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.
Darkvater
2005-05-30 16:03:21 +00:00
0cd53574ec
(svn r2384) - Fix: Check selling land and setting player colour. Also an extra map-bounds check for terraforming; inspired by the monkey (and Tron :) )
Darkvater
2005-05-30 15:50:20 +00:00
2d355e0826
(svn r2384) - Fix: Check selling land and setting player colour. Also an extra map-bounds check for terraforming; inspired by the monkey (and Tron :) )
Darkvater
2005-05-30 15:50:20 +00:00
00cf2eae38
(svn r2383) - Fix: Monkey-testing turned up some command crashes.
Darkvater
2005-05-30 14:45:36 +00:00
9c552d1631
(svn r2383) - Fix: Monkey-testing turned up some command crashes.
Darkvater
2005-05-30 14:45:36 +00:00
feec9cc7cf
(svn r2382) - Fix: Check the airport type when building an airport
Darkvater
2005-05-30 13:35:39 +00:00
3d9ff47f93
(svn r2382) - Fix: Check the airport type when building an airport
Darkvater
2005-05-30 13:35:39 +00:00