Cleanup: unused hacky REPAIR_SCAN removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3347 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1215,23 +1215,6 @@ ScanSystem (void)
|
|||||||
MenuState.Initialized = FALSE;
|
MenuState.Initialized = FALSE;
|
||||||
MenuState.flash_task = 0;
|
MenuState.flash_task = 0;
|
||||||
|
|
||||||
{
|
|
||||||
#define REPAIR_SCAN (1 << 6)
|
|
||||||
extern BYTE draw_sys_flags;
|
|
||||||
|
|
||||||
if (draw_sys_flags & REPAIR_SCAN)
|
|
||||||
{
|
|
||||||
RECT r;
|
|
||||||
|
|
||||||
r.corner.x = SIS_ORG_X;
|
|
||||||
r.corner.y = SIS_ORG_Y;
|
|
||||||
r.extent.width = SIS_SCREEN_WIDTH;
|
|
||||||
r.extent.height = SIS_SCREEN_HEIGHT;
|
|
||||||
LoadIntoExtraScreen (&r);
|
|
||||||
draw_sys_flags &= ~REPAIR_SCAN;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (optWhichMenu == OPT_3DO &&
|
if (optWhichMenu == OPT_3DO &&
|
||||||
((pSolarSysState->pOrbitalDesc->data_index & PLANET_SHIELDED)
|
((pSolarSysState->pOrbitalDesc->data_index & PLANET_SHIELDED)
|
||||||
|| pSolarSysState->SysInfo.PlanetInfo.AtmoDensity ==
|
|| pSolarSysState->SysInfo.PlanetInfo.AtmoDensity ==
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ BYTE EncounterGroup;
|
|||||||
#define DRAW_HYPER_COORDS (1 << 3)
|
#define DRAW_HYPER_COORDS (1 << 3)
|
||||||
#define UNBATCH_SYS (1 << 4)
|
#define UNBATCH_SYS (1 << 4)
|
||||||
#define DRAW_REFRESH (1 << 5)
|
#define DRAW_REFRESH (1 << 5)
|
||||||
#define REPAIR_SCAN (1 << 6)
|
// Unused: #define REPAIR_SCAN (1 << 6)
|
||||||
#define GRAB_BKGND (1 << 7)
|
#define GRAB_BKGND (1 << 7)
|
||||||
|
|
||||||
static SIZE old_radius;
|
static SIZE old_radius;
|
||||||
|
|||||||
Reference in New Issue
Block a user