mirror of
https://github.com/softdorothy/Pararena2.git
synced 2024-05-28 12:41:35 +00:00
806b9b47db
This project was originally compiled with THINK C for the Macintosh. The project file is a THINK C project file. Then there is the assembly static library (SMS) that is linked in to provide fast, 4-channel sound (written by Patrick Buckland). Resource files, a balloon file for “balloon help” when it was a thing…. Good luck to anyone trying to bring this beast back to life.
1 line
1.2 KiB
C
Executable File
1 line
1.2 KiB
C
Executable File
//============================================================
|
|
//============================================================
|
|
//== ==
|
|
//== AnimCursor Header ==
|
|
//== ==
|
|
//============================================================
|
|
//============================================================
|
|
|
|
|
|
//======================================================== Defines
|
|
|
|
#define rAcurID 128
|
|
#define rHandCursorID 1000
|
|
|
|
|
|
//======================================================== Structs
|
|
|
|
typedef struct // defines acur format
|
|
{
|
|
short n;
|
|
short index;
|
|
union
|
|
{
|
|
Handle cursorHdl;
|
|
short resID;
|
|
} frame[1];
|
|
} acurRec, *acurPtr, **acurHandle;
|
|
|
|
|
|
//======================================================== Prototypes
|
|
|
|
Boolean GetMonoCursors (acurHandle);
|
|
Boolean GetColorCursors (acurHandle);
|
|
void InitAnimatedCursor (acurHandle);
|
|
void LoadCursors (void);
|
|
void DisposCursors (void);
|
|
void IncrementCursor (void);
|
|
void DecrementCursor (void);
|
|
void SpinCursor (short);
|
|
void BackSpinCursor (short);
|
|
|
|
|
|
//======================================================== External Variables
|
|
|
|
extern Cursor handCursor;
|
|
extern Boolean isColor;
|
|
|