diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index fb76d519dfcef27660f37db6336f21f7fef7029c..35530016786688639acf4254fd6435302c00bf47 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
AddCommand('segfault', segfault, 'make segfault');
+ AddCommand('r_reset', g_Options_Commands);
+ AddCommand('g_language', g_Options_Commands);
+
AddCommand('bind', BindCommands);
AddCommand('bindlist', BindCommands);
AddCommand('unbind', BindCommands);
end
end
end;
+ if gAskLanguage then
+ WriteLn(f, 'g_language ask')
+ else
+ WriteLn(f, 'g_language ', gLanguage);
+ WriteLn(f, 'r_reset');
CloseFile(f)
end;
end
end;
-initialization
+procedure Init;
+ var i: Integer;
+begin
conRegVar('chat_at_top', @ChatTop, 'draw chat at top border', 'draw chat at top border');
conRegVar('console_height', @ConsoleHeight, 0.0, 1.0, 'set console size', 'set console size');
conRegVar('console_trans', @ConsoleTrans, 0.0, 1.0, 'set console transparency', 'set console transparency');
{$ENDIF}
ConsoleTrans := 0.1;
ConsoleStep := 0.07;
+ conRegVar('d_eres', @debug_e_res, '', '');
+ for i := 1 to e_MaxJoys do
+ conRegVar('joy' + IntToStr(i) + '_deadzone', @e_JoystickDeadzones[i - 1], '', '')
+end;
+
+initialization
+ Init
end.