Mon, 20 Feb 2006 21:49:31 +0000(svn r3631) - 2cc: Remove use of some temporary variables and perform minor optimization in the form of the ternary operator.
peter1138 [Mon, 20 Feb 2006 21:49:31 +0000] rev 3049
(svn r3631) - 2cc: Remove use of some temporary variables and perform minor optimization in the form of the ternary operator.

Mon, 20 Feb 2006 19:58:46 +0000(svn r3628) - Add BOOL and STRING types to saveload capabilities. String is unused up till now and it saves the full-buffer, regardless of how many characters the string actually has. So give a warning for that and figure it out later.
Darkvater [Mon, 20 Feb 2006 19:58:46 +0000] rev 3048
(svn r3628) - Add BOOL and STRING types to saveload capabilities. String is unused up till now and it saves the full-buffer, regardless of how many characters the string actually has. So give a warning for that and figure it out later.

Mon, 20 Feb 2006 19:43:26 +0000(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
Darkvater [Mon, 20 Feb 2006 19:43:26 +0000] rev 3047
(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION

Mon, 20 Feb 2006 19:42:39 +0000(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: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.

Mon, 20 Feb 2006 19:12:46 +0000(svn r3625) - Move sl_version inside the functions where they are used to force usage.
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.

Mon, 20 Feb 2006 19:04:18 +0000(svn r3624) - CodeChange: Some cosmetic changes in the saveload code;
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

Mon, 20 Feb 2006 18:01:38 +0000(svn r3623) - Standardize DEBUG() messages in saveload.c
Darkvater [Mon, 20 Feb 2006 18:01:38 +0000] rev 3043
(svn r3623) - Standardize DEBUG() messages in saveload.c

Mon, 20 Feb 2006 17:54:25 +0000(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: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 :)

Mon, 20 Feb 2006 17:49:26 +0000(svn r3621) - Codechange: Only define the server and bans list if network is enabled. Preparatory work for saving patches/settings to savegame.
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.

Mon, 20 Feb 2006 09:26:07 +0000(svn r3620) - 2cc: Replace use of macro to determine colour map with a function call for drawing of vehicles.
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.