Skip to content

Commit

Permalink
Temporarily disable autosave feature
Browse files Browse the repository at this point in the history
Not ready for next point release.
  • Loading branch information
bradharding committed May 14, 2015
1 parent 4db2b7c commit ae3f25e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ extern boolean alwaysrun;
extern boolean am_grid;
extern boolean am_rotatemode;
extern boolean animatedliquid;
extern boolean autosave;
//extern boolean autosave;
extern boolean brightmaps;
extern boolean capfps;
extern boolean centerweapon;
Expand Down Expand Up @@ -433,7 +433,7 @@ consolecmd_t consolecmds[] =
CVAR_BOOL (am_followmode, C_BoolCondition, C_Bool, am_followmode, NONE, "Toggle follow mode in the automap."),
CVAR_BOOL (am_grid, C_BoolCondition, C_Bool, am_grid, GRID, "Toggle the grid in the automap."),
CVAR_BOOL (am_rotatemode, C_BoolCondition, C_Bool, am_rotatemode, ROTATEMODE, "Toggle rotate mode in the automap."),
CVAR_BOOL (autosave, C_BoolCondition, C_Bool, autosave, AUTOSAVE, "Toggle autosaving at the start of each map."),
//CVAR_BOOL (autosave, C_BoolCondition, C_Bool, autosave, AUTOSAVE, "Toggle autosaving at the start of each map."),
CMD (bind, C_NoCondition, C_Bind, 2, "[~control~ [+~action~]]", "Bind an action to a control."),
CMD (clear, C_NoCondition, C_Clear, 0, "", "Clear the console."),
CMD (cmdlist, C_NoCondition, C_CmdList, 1, "[~searchstring~]", "Display a list of console commands."),
Expand Down
2 changes: 1 addition & 1 deletion src/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ wbstartstruct_t wminfo; // parms for world map / intermission

byte consistency[MAXPLAYERS][BACKUPTICS];

boolean autosave = AUTOSAVE_DEFAULT;
//boolean autosave = AUTOSAVE_DEFAULT;

//
// controls (have defaults)
Expand Down
8 changes: 4 additions & 4 deletions src/m_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ extern boolean alwaysrun;
extern boolean am_grid;
extern boolean am_rotatemode;
extern boolean animatedliquid;
extern boolean autosave;
//extern boolean autosave;
extern boolean brightmaps;
extern boolean capfps;
extern boolean centerweapon;
Expand Down Expand Up @@ -215,7 +215,7 @@ static default_t cvars[] =
{
CONFIG_VARIABLE_INT (am_grid, am_grid, 1),
CONFIG_VARIABLE_INT (am_rotatemode, am_rotatemode, 1),
CONFIG_VARIABLE_INT (autosave, autosave, 1),
//CONFIG_VARIABLE_INT (autosave, autosave, 1),
CONFIG_VARIABLE_INT (episode, selectedepisode, 8),
CONFIG_VARIABLE_INT (expansion, selectedexpansion, 9),
CONFIG_VARIABLE_INT (gp_automap, gamepadautomap, 2),
Expand Down Expand Up @@ -793,8 +793,8 @@ static void M_CheckDefaults(void)
if (animatedliquid != false && animatedliquid != true)
animatedliquid = ANIMATEDLIQUID_DEFAULT;

if (autosave != false && autosave != true)
autosave = AUTOSAVE_DEFAULT;
//if (autosave != false && autosave != true)
// autosave = AUTOSAVE_DEFAULT;

if (brightmaps != false && brightmaps != true)
brightmaps = BRIGHTMAPS_DEFAULT;
Expand Down
2 changes: 1 addition & 1 deletion src/m_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#define ANIMATEDLIQUID_DEFAULT true

#define AUTOSAVE_DEFAULT true
//#define AUTOSAVE_DEFAULT true

#define BRIGHTMAPS_DEFAULT true

Expand Down

0 comments on commit ae3f25e

Please sign in to comment.