diff --git a/polymer/eduke32/source/sw/src/game.c b/polymer/eduke32/source/sw/src/game.c index dad4006ed..bf982ebcf 100644 --- a/polymer/eduke32/source/sw/src/game.c +++ b/polymer/eduke32/source/sw/src/game.c @@ -129,10 +129,8 @@ SWBOOL GraphicsMode = FALSE; char CacheLastLevel[32] = ""; char PlayerNameArg[32] = ""; SWBOOL CleanExit = FALSE; -extern char cachedebug; SWBOOL DemoModeMenuInit = FALSE; SWBOOL FinishAnim = 0; -SWBOOL CachePrintMode = FALSE; SWBOOL ShortGameMode = FALSE; SWBOOL ReloadPrompt = FALSE; SWBOOL ReloadPromptMode = FALSE; @@ -3092,9 +3090,6 @@ void InitRunLevel(void) if (Bstrcasecmp(CacheLastLevel, LevelName) != 0) DoTheCache(); - if (CachePrintMode) - cachedebug = TRUE; - // auto aim / auto run / etc InitPlayerGameSettings(); @@ -3695,10 +3690,6 @@ int32_t app_main(int32_t argc, const char **argv) move_scale *= 5; turn_scale *= 5; } - else if (Bstrncasecmp(arg, "cacheprint",10) == 0) - { - CachePrintMode = TRUE; - } else if (Bstrncasecmp(arg, "setupfile",8) == 0) { // Passed by setup.exe diff --git a/polymer/eduke32/source/sw/src/jnstub.c b/polymer/eduke32/source/sw/src/jnstub.c index 60aa37055..975082807 100644 --- a/polymer/eduke32/source/sw/src/jnstub.c +++ b/polymer/eduke32/source/sw/src/jnstub.c @@ -126,7 +126,6 @@ char default_buildkeys[NUMBUILDKEYS] = #define MODE_3D 200 extern short pointhighlight, linehighlight; -extern short defaultspritecstat; extern short asksave; short ExtSectorTag[MAXSECTORS][4]; static char tempbuf[256]; @@ -641,7 +640,6 @@ ExtInit(void) InitPalette(); - defaultspritecstat = 0; // use old centering mode kensplayerheight = 58; zmode = 0; @@ -766,7 +764,6 @@ ExtInit(void) InitPalette(); SW_InitMultiPsky(); - defaultspritecstat = 0; // use old centering mode kensplayerheight = 58; zmode = 0; diff --git a/polymer/eduke32/source/sw/src/sounds.c b/polymer/eduke32/source/sw/src/sounds.c index a8083d743..314a8eab8 100644 --- a/polymer/eduke32/source/sw/src/sounds.c +++ b/polymer/eduke32/source/sw/src/sounds.c @@ -744,7 +744,6 @@ void LockSound(int num) SWBOOL CacheSound(int num, int type) { VOC_INFOp vp = &voc[num]; - extern char cachedebug; PRODUCTION_ASSERT(num >= 0 && num < DIGI_MAX); @@ -765,9 +764,6 @@ SWBOOL CacheSound(int num, int type) { //FILE *fp; - if (cachedebug) - printf("Sound %s, %d\n",vp->name,num); - /* if (type == CACHE_SOUND_PLAY) // start it out locked at the min