Subversion Repositories eduke32

Compare Revisions

Regard whitespace Rev 8781 → Rev 8780

/source/sw/src/cheats.cpp
80,16 → 80,18
ExitLevel = TRUE;
}
 
static int32_t showallmap;
 
void MapCheat(PLAYERp pp, char *UNUSED(cheat_string))
{
automapping ^= 1;
showallmap ^= 1;
 
if (automapping)
if (showallmap)
MapSetAll2D(0);
else
MapSetAll2D(0xFF);
 
sprintf(ds, "AUTOMAPPING %s", automapping ? "ON" : "OFF");
sprintf(ds, "SHOWALLMAP %s", showallmap ? "ON" : "OFF");
PutStringInfo(pp, ds);
}
 
/source/sw/src/game.cpp
634,13 → 634,7
void
MapSetup(void)
{
#define NO_AUTO_MAPPING FALSE
 
#if NO_AUTO_MAPPING
MapSetAll2D(0xFF);
#else
automapping = TRUE;
#endif
}
 
void