SW: Remove references to cachedebug and defaultspritecstat.

git-svn-id: https://svn.eduke32.com/eduke32@5223 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2015-05-19 22:09:07 +00:00
parent 59686129bb
commit 033698eaa1
3 changed files with 0 additions and 16 deletions

View file

@ -129,10 +129,8 @@ SWBOOL GraphicsMode = FALSE;
char CacheLastLevel[32] = ""; char CacheLastLevel[32] = "";
char PlayerNameArg[32] = ""; char PlayerNameArg[32] = "";
SWBOOL CleanExit = FALSE; SWBOOL CleanExit = FALSE;
extern char cachedebug;
SWBOOL DemoModeMenuInit = FALSE; SWBOOL DemoModeMenuInit = FALSE;
SWBOOL FinishAnim = 0; SWBOOL FinishAnim = 0;
SWBOOL CachePrintMode = FALSE;
SWBOOL ShortGameMode = FALSE; SWBOOL ShortGameMode = FALSE;
SWBOOL ReloadPrompt = FALSE; SWBOOL ReloadPrompt = FALSE;
SWBOOL ReloadPromptMode = FALSE; SWBOOL ReloadPromptMode = FALSE;
@ -3092,9 +3090,6 @@ void InitRunLevel(void)
if (Bstrcasecmp(CacheLastLevel, LevelName) != 0) if (Bstrcasecmp(CacheLastLevel, LevelName) != 0)
DoTheCache(); DoTheCache();
if (CachePrintMode)
cachedebug = TRUE;
// auto aim / auto run / etc // auto aim / auto run / etc
InitPlayerGameSettings(); InitPlayerGameSettings();
@ -3695,10 +3690,6 @@ int32_t app_main(int32_t argc, const char **argv)
move_scale *= 5; move_scale *= 5;
turn_scale *= 5; turn_scale *= 5;
} }
else if (Bstrncasecmp(arg, "cacheprint",10) == 0)
{
CachePrintMode = TRUE;
}
else if (Bstrncasecmp(arg, "setupfile",8) == 0) else if (Bstrncasecmp(arg, "setupfile",8) == 0)
{ {
// Passed by setup.exe // Passed by setup.exe

View file

@ -126,7 +126,6 @@ char default_buildkeys[NUMBUILDKEYS] =
#define MODE_3D 200 #define MODE_3D 200
extern short pointhighlight, linehighlight; extern short pointhighlight, linehighlight;
extern short defaultspritecstat;
extern short asksave; extern short asksave;
short ExtSectorTag[MAXSECTORS][4]; short ExtSectorTag[MAXSECTORS][4];
static char tempbuf[256]; static char tempbuf[256];
@ -641,7 +640,6 @@ ExtInit(void)
InitPalette(); InitPalette();
defaultspritecstat = 0; // use old centering mode
kensplayerheight = 58; kensplayerheight = 58;
zmode = 0; zmode = 0;
@ -766,7 +764,6 @@ ExtInit(void)
InitPalette(); InitPalette();
SW_InitMultiPsky(); SW_InitMultiPsky();
defaultspritecstat = 0; // use old centering mode
kensplayerheight = 58; kensplayerheight = 58;
zmode = 0; zmode = 0;

View file

@ -744,7 +744,6 @@ void LockSound(int num)
SWBOOL CacheSound(int num, int type) SWBOOL CacheSound(int num, int type)
{ {
VOC_INFOp vp = &voc[num]; VOC_INFOp vp = &voc[num];
extern char cachedebug;
PRODUCTION_ASSERT(num >= 0 && num < DIGI_MAX); PRODUCTION_ASSERT(num >= 0 && num < DIGI_MAX);
@ -765,9 +764,6 @@ SWBOOL CacheSound(int num, int type)
{ {
//FILE *fp; //FILE *fp;
if (cachedebug)
printf("Sound %s, %d\n",vp->name,num);
/* /*
if (type == CACHE_SOUND_PLAY) if (type == CACHE_SOUND_PLAY)
// start it out locked at the min // start it out locked at the min