Cleanup: unused graphics calls removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3382 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -38,22 +38,6 @@ int TFB_DEBUG_HALT = 0;
|
|||||||
static int gscale = GSCALE_IDENTITY;
|
static int gscale = GSCALE_IDENTITY;
|
||||||
static int gscale_mode = TFB_SCALE_NEAREST;
|
static int gscale_mode = TFB_SCALE_NEAREST;
|
||||||
|
|
||||||
// Status: Ignored (only used in fmv.c)
|
|
||||||
void
|
|
||||||
SetGraphicUseOtherExtra (int other) //Could this possibly be more cryptic?!? :)
|
|
||||||
{
|
|
||||||
//log_add (log_Debug, "SetGraphicUseOtherExtra %d", other);
|
|
||||||
(void)other; /* lint */
|
|
||||||
}
|
|
||||||
|
|
||||||
// Status: Ignored (only used in solarsys.c)
|
|
||||||
void
|
|
||||||
SetGraphicGrabOther (int grab_other)
|
|
||||||
{
|
|
||||||
//log_add (log_Debug, "SetGraphicGrabOther %d", grab_other);
|
|
||||||
(void)grab_other; /* lint */
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
DrawFromExtraScreen (RECT *r)
|
DrawFromExtraScreen (RECT *r)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -77,12 +77,10 @@ typedef enum {
|
|||||||
|
|
||||||
void LoadIntoExtraScreen (RECT *r);
|
void LoadIntoExtraScreen (RECT *r);
|
||||||
void DrawFromExtraScreen (RECT *r);
|
void DrawFromExtraScreen (RECT *r);
|
||||||
void SetGraphicGrabOther (int grab_other);
|
|
||||||
int SetGraphicScale (int scale);
|
int SetGraphicScale (int scale);
|
||||||
int GetGraphicScale (void);
|
int GetGraphicScale (void);
|
||||||
int SetGraphicScaleMode (int mode /* enum SCALE */);
|
int SetGraphicScaleMode (int mode /* enum SCALE */);
|
||||||
int GetGraphicScaleMode (void);
|
int GetGraphicScaleMode (void);
|
||||||
void SetGraphicUseOtherExtra (int other);
|
|
||||||
void SetTransitionSource (RECT *pRect);
|
void SetTransitionSource (RECT *pRect);
|
||||||
void ScreenTransition (int transition, RECT *pRect);
|
void ScreenTransition (int transition, RECT *pRect);
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ DoShipSpin (COUNT index, MUSIC_REF hMusic)
|
|||||||
BYTE clut_buf[1];
|
BYTE clut_buf[1];
|
||||||
RECT old_r, r;
|
RECT old_r, r;
|
||||||
|
|
||||||
SetGraphicUseOtherExtra (1);
|
|
||||||
LoadIntoExtraScreen (0);
|
LoadIntoExtraScreen (0);
|
||||||
#if 0
|
#if 0
|
||||||
/* This is cut out right now but should be part of the 3DO side */
|
/* This is cut out right now but should be part of the 3DO side */
|
||||||
@@ -66,7 +65,6 @@ DoShipSpin (COUNT index, MUSIC_REF hMusic)
|
|||||||
r.extent.height = SCREEN_HEIGHT;
|
r.extent.height = SCREEN_HEIGHT;
|
||||||
SetContextClipRect (&r);
|
SetContextClipRect (&r);
|
||||||
DrawFromExtraScreen (0);
|
DrawFromExtraScreen (0);
|
||||||
SetGraphicUseOtherExtra (0);
|
|
||||||
SetContextClipRect (&old_r);
|
SetContextClipRect (&old_r);
|
||||||
|
|
||||||
if (hMusic)
|
if (hMusic)
|
||||||
|
|||||||
Reference in New Issue
Block a user