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.7 KiB
C
Executable File
1 line
1.7 KiB
C
Executable File
/*============================================================*/
|
|
/*============================================================*/
|
|
/*== ==*/
|
|
/*== RenderAsm4 Header ==*/
|
|
/*== ==*/
|
|
/*============================================================*/
|
|
/*============================================================*/
|
|
|
|
|
|
/*======================================================== Prototypes */
|
|
|
|
void DropDoorToWorkMapAsm4 (void);
|
|
void MaskBoardCursorAsm4 (long, short);
|
|
void MaskBallAsm4 (long, short);
|
|
void MaskPlayerAsm4 (long, long, long, short);
|
|
void DumpWholePlayerAsm4 (long, long);
|
|
void DumpWholeBallAsm4 (long, long);
|
|
void DumpCursorAsm4 (long, long);
|
|
void DumpDoorToScreenAsm4 (void);
|
|
void PatchPlayerAsm4 (long, long);
|
|
void PatchBallAsm4 (long, long);
|
|
void PatchCursorAsm4 (long, long);
|
|
void RenderSceneAsm4 (void);
|
|
void ReplayWorkToMainAsm4 (void);
|
|
|
|
|
|
/*======================================================== External Variables */
|
|
|
|
extern playerType thePlayer;
|
|
extern playerType theOpponent;
|
|
extern ballType theBall;
|
|
extern doorType theDoor;
|
|
extern digiDispType scoreDisplays[2];
|
|
extern cursorType boardCursor;
|
|
extern BitMap offMaskMap;
|
|
extern Rect screenRect, cameraRect;
|
|
extern CGrafPtr offCPartsPtr, offCWorkPtr;
|
|
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 Boolean playerInBack, showBoardCursor, disableBoardCursor, drawThisFrame; |