home *** CD-ROM | disk | FTP | other *** search
- { ────────────────────────────────────────────────────────────────────────
-
- This code is Copyright (c) 1994 by Jonathan E. Wright and AmoebaSoft.
-
- To communicate with the author, send internet mail to: NELNO@DELPHI.COM
-
- About this code:
- Hey, it's just a test to see if the GUSMOD unit still works after I
- butchered it...
-
- Read the info in GUSMOD.PAS
-
- ──────────────────────────────────────────────────────────────────────── }
-
- PROGRAM TestMOD;
-
- USES
- GUSMOD, GUSHeap, NewCrt, Types;
-
- VAR
- I : INTEGER;
-
- BEGIN
- IF ParamCount <> 1 THEN
- BEGIN
- Writeln ('You must specify the name of a MOD file to play.');
- Halt;
- END;
-
- GUS_LoadMOD (ParamStr (1));
- GUS_StartMOD;
-
- Writeln ('Press a key to exit.');
-
- ReadKey;
-
- Writeln ('Fading volume...');
-
- FOR I := 100 downto 1 DO
- BEGIN
- MODVolume := I;
- Delay (10);
- END;
-
- GUS_StopMOD;
- GUS_DisposeMOD;
- END.