diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-18 13:19:20 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-18 13:19:20 +0000 |
commit | 433a1b7339e2bf96f3b0bb4c98b8c799c6540027 (patch) | |
tree | a448ca19c45319152f3d9a33f53a419c59908ede /Game/Code/Screens/UScreenCredits.pas | |
parent | 067444c467e9f3e4dca07ecf10818023140c2873 (diff) | |
download | usdx-433a1b7339e2bf96f3b0bb4c98b8c799c6540027.tar.gz usdx-433a1b7339e2bf96f3b0bb4c98b8c799c6540027.tar.xz usdx-433a1b7339e2bf96f3b0bb4c98b8c799c6540027.zip |
changes in order to compile in lazarus...
minor tidy ups and removal of big old comment blocks..
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@394 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens/UScreenCredits.pas')
-rw-r--r-- | Game/Code/Screens/UScreenCredits.pas | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenCredits.pas b/Game/Code/Screens/UScreenCredits.pas index 067414bd..21e164b9 100644 --- a/Game/Code/Screens/UScreenCredits.pas +++ b/Game/Code/Screens/UScreenCredits.pas @@ -104,7 +104,24 @@ const implementation
-uses Dialogs,Windows, UGraphic, UMain, UIni, USongs, Textgl, opengl, ULanguage, Math;
+uses // Dialogs,
+ Windows,
+ UGraphic,
+ UMain,
+ UIni,
+ USongs,
+ Textgl,
+// opengl,
+ ULanguage,
+ Math;
+
+{$IFDEF FPC}
+// TODO : JB - move this to a lazarus common file for ultrastar
+function RandomRange(aMin: Integer; aMax: Integer) : Integer;
+begin
+RandomRange := Random(aMax-aMin) + aMin ;
+end;
+{$ENDIF}
function TScreenCredits.ParseInput(PressedKey: Cardinal; ScanCode: byte; PressedDown: Boolean): Boolean;
begin
|