Darkvater [Wed, 01 Jun 2005 23:08:33 +0000] rev 1885
(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
hackykid [Wed, 01 Jun 2005 11:52:44 +0000] rev 1884
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
hackykid [Wed, 01 Jun 2005 11:34:37 +0000] rev 1883
(svn r2389) - Feature: [newgrf] Implement the mechanism for handling newgrf callbacks.
- Feature: [newgrf] Implement the 'refit capacity' callback.
hackykid [Wed, 01 Jun 2005 10:30:45 +0000] rev 1882
(svn r2388) - Fix: [realistic accel] Very slow trains no longer get an increase in maximum speed when part of them is in a depot.
Darkvater [Mon, 30 May 2005 22:16:05 +0000] rev 1881
(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.
matthijs [Mon, 30 May 2005 21:46:10 +0000] rev 1880
(svn r2386) * Blaat
Darkvater [Mon, 30 May 2005 16:03:21 +0000] rev 1879
(svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.
Darkvater [Mon, 30 May 2005 15:50:20 +0000] rev 1878
(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 [Mon, 30 May 2005 14:45:36 +0000] rev 1877
(svn r2383) - Fix: Monkey-testing turned up some command crashes.
Darkvater [Mon, 30 May 2005 13:35:39 +0000] rev 1876
(svn r2382) - Fix: Check the airport type when building an airport