X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_options.pas;h=25b55d142e70b0a90d134319743ebd98aafef387;hb=5ddaede3fa99cd9757167d18c953f019214bfb04;hp=cc9a71400bc4a4a7cf159a0392e171f0c8c4cae8;hpb=ded89321df07e3f5832331127637375840c25e6f;p=d2df-sdl.git diff --git a/src/game/g_options.pas b/src/game/g_options.pas index cc9a714..25b55d1 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -357,6 +357,7 @@ begin gShowMessages := True; gRevertPlayers := False; gChatBubble := 4; + gPlayerIndicator := True; gSFSDebug := False; gSFSFastMode := False; e_FastScreenshots := True; @@ -614,10 +615,10 @@ begin ReadBoolean(g_touch_alt, 'Alt'); section := 'Game'; - ReadInteger(i, 'MaxParticles', 1000, 50000); g_GFX_SetMax(i); - ReadInteger(i, 'MaxShells', 300, 600); g_Shells_SetMax(i); - ReadInteger(i, 'MaxGibs', 150, 500); g_Gibs_SetMax(i); - ReadInteger(i, 'MaxCorpses', 20, 100); g_Corpses_SetMax(i); + ReadInteger(i, 'MaxParticles', 0, 50000); g_GFX_SetMax(i); + ReadInteger(i, 'MaxShells', 0, 600); g_Shells_SetMax(i); + ReadInteger(i, 'MaxGibs', 0, 500); g_Gibs_SetMax(i); + ReadInteger(i, 'MaxCorpses', 0, 100); g_Corpses_SetMax(i); ReadInteger(i, 'GibsCount'); case i of 0: gGibsCount := 0; @@ -636,6 +637,7 @@ begin ReadBoolean(gShowMessages, 'Messages'); ReadBoolean(gRevertPlayers, 'RevertPlayers'); ReadInteger(gChatBubble, 'ChatBubble', 0, 4); + ReadBoolean(gPlayerIndicator, 'PlayerIndicator'); ReadBoolean(gSFSDebug, 'SFSDebug'); wadoptDebug := gSFSDebug; ReadBoolean(gSFSFastMode, 'SFSFastMode'); wadoptFast := gSFSFastMode; ReadBoolean(e_FastScreenshots, 'FastScreenshots'); @@ -874,6 +876,7 @@ begin config.WriteBool('Game', 'Messages', gShowMessages); config.WriteBool('Game', 'RevertPlayers', gRevertPlayers); config.WriteInt('Game', 'ChatBubble', gChatBubble); + config.WriteBool('Game', 'PlayerIndicator', gPlayerIndicator); config.WriteBool('Game', 'SFSDebug', gSFSDebug); config.WriteBool('Game', 'SFSFastMode', gSFSFastMode); config.WriteBool('Game', 'FastScreenshots', e_FastScreenshots);