diff --git a/GpApp/Externs.h b/GpApp/Externs.h index 70bc6ff..eded588 100644 --- a/GpApp/Externs.h +++ b/GpApp/Externs.h @@ -192,8 +192,6 @@ void ToolBoxInit (void); void FindOurDevice (void); short RandomInt (short); long RandomLong (long); -void InitRandomLongQUS (void); -UInt32 RandomLongQUS (void); void RedAlert (short); void LoadGraphic (DrawSurface *, short); void LoadScaledGraphic (DrawSurface *, short, Rect *); diff --git a/GpApp/Utilities.cpp b/GpApp/Utilities.cpp index 8e17d3c..abb2350 100644 --- a/GpApp/Utilities.cpp +++ b/GpApp/Utilities.cpp @@ -78,25 +78,6 @@ long RandomLong (long range) 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 // Called when we must quit app. Brings up a dialog informing userÉ