Remove unused functions

This commit is contained in:
elasota
2020-01-05 04:02:36 -05:00
parent 7c4ec4a467
commit 700c31b9e4
2 changed files with 0 additions and 21 deletions

View File

@@ -192,8 +192,6 @@ void ToolBoxInit (void);
void FindOurDevice (void); void FindOurDevice (void);
short RandomInt (short); short RandomInt (short);
long RandomLong (long); long RandomLong (long);
void InitRandomLongQUS (void);
UInt32 RandomLongQUS (void);
void RedAlert (short); void RedAlert (short);
void LoadGraphic (DrawSurface *, short); void LoadGraphic (DrawSurface *, short);
void LoadScaledGraphic (DrawSurface *, short, Rect *); void LoadScaledGraphic (DrawSurface *, short, Rect *);

View File

@@ -78,25 +78,6 @@ long RandomLong (long range)
return (rawResultHi); return (rawResultHi);
} }
//-------------------------------------------------------------- InitRandomLongQUS
// Initializes random seed for quick & dirty long random number function (below).
void InitRandomLongQUS (void)
{
GetDateTime(&theSeed);
}
//-------------------------------------------------------------- RandomLongQUS
// Very simple (but fast) pseudo-random number generator.
UInt32 RandomLongQUS (void)
{
theSeed = theSeed * 1103515245 + 12345;
return (theSeed);
}
//-------------------------------------------------------------- RedAlert //-------------------------------------------------------------- RedAlert
// Called when we must quit app. Brings up a dialog informing user<65> // Called when we must quit app. Brings up a dialog informing user<65>