From 700c31b9e40644a73e06e890c4056b61a8dc6356 Mon Sep 17 00:00:00 2001 From: elasota Date: Sun, 5 Jan 2020 04:02:36 -0500 Subject: [PATCH] Remove unused functions --- GpApp/Externs.h | 2 -- GpApp/Utilities.cpp | 19 ------------------- 2 files changed, 21 deletions(-) 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É