mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Remove unused functions
This commit is contained in:
@@ -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 *);
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user