diff --git a/src/game/g_options.pas b/src/game/g_options.pas
index 706ca33a1a357d740a82b0282c9557e590a8f929..23ddc36a259a6a5d04531e64b3ff5243253b8e5a 100644 (file)
--- a/src/game/g_options.pas
+++ b/src/game/g_options.pas
gcMonsters: Boolean;
gcBotsVS: String;
gcDeathmatchKeys: Boolean = True;
- gcRespawnItems: Boolean = True;
gcSpawnInvul: Integer = 0;
gnMap: String;
gnGameMode: String;
gnMonsters: Boolean;
gnBotsVS: String;
gnDeathmatchKeys: Boolean = True;
- gnRespawnItems: Boolean = True;
gnSpawnInvul: Integer = 0;
gsSDLSampleRate: Integer;
gsSDLBufferSize: Integer;
gcMonsters := False;
gcBotsVS := 'Everybody';
gcDeathmatchKeys := True;
- gcRespawnItems := True;
gcSpawnInvul := 0;
(* section GameplayNetwork *)
gnMonsters := False;
gnBotsVS := 'Everybody';
gnDeathmatchKeys := True;
- gnRespawnItems := True;
gnSpawnInvul := 0;
(* section MasterServer *)
ReadBoolean(gcMonsters, 'Monsters');
ReadString(gcBotsVS, 'BotsVS');
ReadBoolean(gcDeathmatchKeys, 'DeathmatchKeys');
- ReadBoolean(gcRespawnItems, 'RespawnItems');
ReadInteger(gcSpawnInvul, 'SpawnInvul');
with gGameSettings do
Options := Options or GAME_OPTION_BOTVSMONSTER;
if gcDeathmatchKeys then
Options := Options or GAME_OPTION_DMKEYS;
- if gcRespawnItems then
- Options := Options or GAME_OPTION_RESPAWNITEMS;
end;
section := 'GameplayNetwork';
ReadBoolean(gnMonsters, 'Monsters');
ReadString(gnBotsVS, 'BotsVS');
ReadBoolean(gnDeathmatchKeys, 'DeathmatchKeys');
- ReadBoolean(gnRespawnItems, 'RespawnItems');
ReadInteger(gnSpawnInvul, 'SpawnInvul');
section := 'MasterServer';
config.WriteBool('GameplayCustom', 'Monsters', gcMonsters);
config.WriteStr ('GameplayCustom', 'BotsVS', gcBotsVS);
config.WriteBool('GameplayCustom', 'DeathmatchKeys', gcDeathmatchKeys);
- config.WriteBool('GameplayCustom', 'RespawnItems', gcRespawnItems);
config.WriteInt ('GameplayCustom', 'SpawnInvul', gcSpawnInvul);
config.WriteStr ('GameplayNetwork', 'Map', gnMap);
config.WriteBool('GameplayNetwork', 'Monsters', gnMonsters);
config.WriteStr ('GameplayNetwork', 'BotsVS', gnBotsVS);
config.WriteBool('GameplayNetwork', 'DeathmatchKeys', gnDeathmatchKeys);
- config.WriteBool('GameplayNetwork', 'RespawnItems', gnRespawnItems);
config.WriteInt ('GameplayNetwork', 'SpawnInvul', gnSpawnInvul);
config.WriteStr('MasterServer', 'IP', NetSlistIP);
config.WriteBool('GameplayCustom', 'Monsters', gcMonsters);
config.WriteStr ('GameplayCustom', 'BotsVS', gcBotsVS);
config.WriteBool('GameplayCustom', 'DeathmatchKeys', gcDeathmatchKeys);
- config.WriteBool('GameplayCustom', 'RespawnItems', gcRespawnItems);
config.WriteInt ('GameplayCustom', 'SpawnInvul', gcSpawnInvul);
config.SaveFile(FileName);
config.WriteBool('GameplayNetwork', 'Monsters', gnMonsters);
config.WriteStr ('GameplayNetwork', 'BotsVS', gnBotsVS);
config.WriteBool('GameplayNetwork', 'DeathmatchKeys', gnDeathmatchKeys);
- config.WriteBool('GameplayNetwork', 'RespawnItems', gnRespawnItems);
config.WriteInt ('GameplayNetwork', 'SpawnInvul', gnSpawnInvul);
config.SaveFile(FileName);
conRegVar('r_vsync', @gVSync, '', '');
conRegVar('r_texfilter', @gTextureFilter, '', '');
conRegVar('r_npot', @glNPOTOverride, '', '');
- conRegVar('r_fbo', @glRenderToFBO, '', '');
(* Sound *)
conRegVar('s_nosound', @gNoSound, '', '');