mirror of
https://github.com/softdorothy/Pararena2.git
synced 2024-06-11 01:29:28 +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.8 KiB
C
Executable File
1 line
1.8 KiB
C
Executable File
/*============================================================*/
|
|
/*============================================================*/
|
|
/*== ==*/
|
|
/*== RenderAsm1 Header ==*/
|
|
/*== ==*/
|
|
/*============================================================*/
|
|
/*============================================================*/
|
|
|
|
|
|
/*======================================================== Prototypes */
|
|
|
|
void DropDoorToWorkMapAsm1 (void);
|
|
void MaskCursorAsm1 (long, short);
|
|
void MaskBallAsm1 (long, short);
|
|
void MaskPlayerAsm1 (long, long, long, short);
|
|
void DumpWholePlayerAsm1 (long, long);
|
|
void DumpWholeBallAsm1 (long, long);
|
|
void DumpCursorAsm1 (long, long);
|
|
void DumpDoorToScreenAsm1 (void);
|
|
void PatchPlayerAsm1 (long, long);
|
|
void PatchBallAsm1 (long, long);
|
|
void PatchCursorAsm1 (long, long);
|
|
void RenderSceneAsm1 (void);
|
|
void ReplayWorkToMainAsm1 (void);
|
|
|
|
|
|
/*======================================================== External Variables */
|
|
|
|
extern playerType thePlayer;
|
|
extern playerType theOpponent;
|
|
extern ballType theBall;
|
|
extern doorType theDoor;
|
|
extern digiDispType scoreDisplays[2];
|
|
extern cursorType boardCursor;
|
|
extern BitMap offBackBits, offPartsBits, offWorkBits;
|
|
extern Rect screenRect, cameraRect;
|
|
extern WindowPtr mainWndo;
|
|
extern Ptr offBackPix, offPartsPix, offWorkPix;
|
|
extern long screenBase, replaySrc, replayDest;
|
|
extern long ballSrcAddr, ballMaskAddr;
|
|
extern long screenRowAddrs[480], workRowOffsets[480];
|
|
extern long playerSrcAddrs[9][3], fadeMaskAddrs[9][3], opponentSrcAddrs[9][3];
|
|
extern long maskAddrs[9][3];
|
|
extern short screenRowBytes, workRowBytes, backRowBytes, partsRowBytes;
|
|
extern short maskRowBytes;
|
|
extern Boolean knowsColor, playerInBack, showBoardCursor, disableBoardCursor;
|
|
extern Boolean drawThisFrame;
|
|
|
|
|
|
|
|
|