Darkvater [Mon, 20 Feb 2006 19:42:39 +0000] rev 3046
(svn r3626) - Merge the SlGlobVarList (global variables) and SaveLoad (offset in struct, variable determined runtime) structs. The only difference between these two is the last element that either holds the address or the offset in the struct. Which one to take is determined by which function is called; SlObject or SlGlobList.
Darkvater [Mon, 20 Feb 2006 19:12:46 +0000] rev 3045
(svn r3625) - Move sl_version inside the functions where they are used to force usage.
Darkvater [Mon, 20 Feb 2006 19:04:18 +0000] rev 3044
(svn r3624) - CodeChange: Some cosmetic changes in the saveload code;
- hide and validate variable-size calculation (SlCalcConvMemLen/SlCalcConvFileLen)
- some signed/unsigned fixes
- handle conditional variables the same way for global -and struct types, through checking version_from and version_to
Darkvater [Mon, 20 Feb 2006 18:01:38 +0000] rev 3043
(svn r3623) - Standardize DEBUG() messages in saveload.c
Darkvater [Mon, 20 Feb 2006 17:54:25 +0000] rev 3042
(svn r3622) - Partly revert r3214. The patch setting max_num_autosaves stays to help control PDA-troubles which the commit was intended for. Didn't revert makefile-config version since it would cause trouble. But Bjarni promised to rewrite it :)
Darkvater [Mon, 20 Feb 2006 17:49:26 +0000] rev 3041
(svn r3621) - Codechange: Only define the server and bans list if network is enabled. Preparatory work for saving patches/settings to savegame.
peter1138 [Mon, 20 Feb 2006 09:26:07 +0000] rev 3040
(svn r3620) - 2cc: Replace use of macro to determine colour map with a function call for drawing of vehicles.
Darkvater [Mon, 20 Feb 2006 01:36:48 +0000] rev 3039
(svn r3619) - Codechange: Simplify a NullStruct initialization in the vehicle array (merge the two together to avoid confusion)
bjarni [Sun, 19 Feb 2006 10:21:01 +0000] rev 3038
(svn r3618) -Codechange: [OSX] reduce the time spend in the cocoa video driver
by caching global vars in local vars, the CPU keeps them in registers when looping all pixels on screen
this reduce reading from RAM, which is much slower (Tron wrote this after I detected that those loops used a lot of time)
Note: since the reduced time is waiting for the RAM, the actual CPU usage is not reduced.
This means that it's only detectable while fast forwarding and other situations when OTTD wants to use more than 100% of the CPU time
tron [Sat, 18 Feb 2006 18:27:17 +0000] rev 3037
(svn r3617) Fix warning introduced in r3616