mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
CLIENTONLY isn't MINIMAL.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3626 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
103efed5e2
commit
633eb8dffb
1 changed files with 9 additions and 9 deletions
|
@ -2123,7 +2123,7 @@ void M_Menu_Singleplayer_Cheats_Hexen2_f (void)
|
||||||
singleplayerh2info_t *info;
|
singleplayerh2info_t *info;
|
||||||
int cursorpositionY;
|
int cursorpositionY;
|
||||||
int currentmap;
|
int currentmap;
|
||||||
#ifndef MINIMAL
|
#ifndef CLIENTONLY
|
||||||
int currentskill;
|
int currentskill;
|
||||||
extern cvar_t sv_gravity, sv_cheats, sv_maxspeed, skill;
|
extern cvar_t sv_gravity, sv_cheats, sv_maxspeed, skill;
|
||||||
#endif
|
#endif
|
||||||
|
@ -2134,7 +2134,7 @@ void M_Menu_Singleplayer_Cheats_Hexen2_f (void)
|
||||||
|
|
||||||
cursorpositionY = (y + 24);
|
cursorpositionY = (y + 24);
|
||||||
|
|
||||||
#ifndef MINIMAL
|
#ifndef CLIENTONLY
|
||||||
currentskill = skill.value;
|
currentskill = skill.value;
|
||||||
|
|
||||||
if ( !currentskill )
|
if ( !currentskill )
|
||||||
|
@ -2223,23 +2223,23 @@ void M_Menu_Singleplayer_Cheats_Hexen2_f (void)
|
||||||
MC_AddRedText(menu, 16, y, " Hexen2 Singleplayer Cheats", false); y+=8;
|
MC_AddRedText(menu, 16, y, " Hexen2 Singleplayer Cheats", false); y+=8;
|
||||||
MC_AddWhiteText(menu, 16, y, " €<><E282AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‚ ", false); y+=8;
|
MC_AddWhiteText(menu, 16, y, " €<><E282AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‚ ", false); y+=8;
|
||||||
y+=8;
|
y+=8;
|
||||||
#ifndef MINIMAL
|
#ifndef CLIENTONLY
|
||||||
info->skillcombo = MC_AddCombo(menu,16, y, " Difficulty", skilloptions, currentskill); y+=8;
|
info->skillcombo = MC_AddCombo(menu,16, y, " Difficulty", skilloptions, currentskill); y+=8;
|
||||||
#endif
|
#endif
|
||||||
info->mapcombo = MC_AddCombo(menu,16, y, " Map", mapoptions, currentmap); y+=8;
|
info->mapcombo = MC_AddCombo(menu,16, y, " Map", mapoptions, currentmap); y+=8;
|
||||||
#ifndef MINIMAL
|
#ifndef CLIENTONLY
|
||||||
MC_AddCheckBox(menu, 16, y, " Cheats", &sv_cheats,0); y+=8;
|
MC_AddCheckBox(menu, 16, y, " Cheats", &sv_cheats,0); y+=8;
|
||||||
#endif
|
#endif
|
||||||
MC_AddConsoleCommand(menu, 16, y, " Toggle Godmode", "god\n"); y+=8;
|
MC_AddConsoleCommand(menu, 16, y, " Toggle Godmode", "god\n"); y+=8;
|
||||||
MC_AddConsoleCommand(menu, 16, y, " Toggle Flymode", "fly\n"); y+=8;
|
MC_AddConsoleCommand(menu, 16, y, " Toggle Flymode", "fly\n"); y+=8;
|
||||||
MC_AddConsoleCommand(menu, 16, y, " Toggle Noclip", "noclip\n"); y+=8;
|
MC_AddConsoleCommand(menu, 16, y, " Toggle Noclip", "noclip\n"); y+=8;
|
||||||
#ifndef MINIMAL
|
#ifndef CLIENTONLY
|
||||||
MC_AddSlider(menu, 16, y, " Gravity", &sv_gravity,0,800,25); y+=8;
|
MC_AddSlider(menu, 16, y, " Gravity", &sv_gravity,0,800,25); y+=8;
|
||||||
#endif
|
#endif
|
||||||
MC_AddSlider(menu, 16, y, " Forward Speed", &cl_forwardspeed,0,1000,50); y+=8;
|
MC_AddSlider(menu, 16, y, " Forward Speed", &cl_forwardspeed,0,1000,50); y+=8;
|
||||||
MC_AddSlider(menu, 16, y, " Side Speed", &cl_sidespeed,0,1000,50); y+=8;
|
MC_AddSlider(menu, 16, y, " Side Speed", &cl_sidespeed,0,1000,50); y+=8;
|
||||||
MC_AddSlider(menu, 16, y, " Back Speed", &cl_backspeed,0,1000,50); y+=8;
|
MC_AddSlider(menu, 16, y, " Back Speed", &cl_backspeed,0,1000,50); y+=8;
|
||||||
#ifndef MINIMAL
|
#ifndef CLIENTONLY
|
||||||
MC_AddSlider(menu, 16, y, " Max Movement Speed", &sv_maxspeed,0,1000,50); y+=8;
|
MC_AddSlider(menu, 16, y, " Max Movement Speed", &sv_maxspeed,0,1000,50); y+=8;
|
||||||
#endif
|
#endif
|
||||||
MC_AddConsoleCommand(menu, 16, y, " Sheep Transformation", "impulse 14\n"); y+=8;
|
MC_AddConsoleCommand(menu, 16, y, " Sheep Transformation", "impulse 14\n"); y+=8;
|
||||||
|
|
Loading…
Reference in a new issue