home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d6xx
/
d632
/
attacks.lha
/
Attacks
/
Sources
/
attackssprites.def
< prev
next >
Wrap
Text File
|
1992-04-06
|
1KB
|
39 lines
DEFINITION MODULE attackssprites;
(* This module just defines all the sprites used in the program. *)
FROM SYSTEM
IMPORT LONGWORD;
FROM header
IMPORT squaretype;
TYPE
tempspritetype = ARRAY [0..18] OF LONGWORD;
tempspriteptr = POINTER TO tempspritetype;
VAR
(* Point to the sprites for the pointers *)
circle : tempspriteptr;
mypointer : ARRAY [red..blue] OF tempspriteptr;
emptysquare : tempspriteptr;
blocksquare : tempspriteptr;
(**************************************************************************)
PROCEDURE InitPointers() : BOOLEAN;
(* This procedure starts the ball rolling for the pointer data. It *)
(* allocates chip memory for the sprite images, and copies the informa- *)
(* tion to those locations. It returns true only if the memory alloca- *)
(* tions went ok. *)
(* *)
(* INPUT *)
(* n/a *)
(* *)
(* OUTPUT *)
(* *)
(* Returns TRUE only if everything is safe to proceed. *)
END attackssprites.