mirror of
https://github.com/softdorothy/Pararena2.git
synced 2024-06-09 03:29:27 +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
/*============================================================*/
|
|
/*============================================================*/
|
|
/*== ==*/
|
|
/*== Human Header ==*/
|
|
/*== ==*/
|
|
/*============================================================*/
|
|
/*============================================================*/
|
|
|
|
|
|
/*======================================================== Prototypes */
|
|
|
|
void DetermineHumanFacing (playerType *);
|
|
void GetHumanInput (void);
|
|
void PrepareNetHumanInput (void);
|
|
void ProcessNetPlayerInput (void);
|
|
void HandleBoardCursor (void);
|
|
|
|
|
|
/*======================================================== External Variables */
|
|
|
|
extern playerType thePlayer, theOpponent;
|
|
extern ballType theBall;
|
|
extern cursorType boardCursor;
|
|
extern KeyMap theKeyMap;
|
|
extern WindowPtr mainWndo;
|
|
extern RGBColor RGBBlackColor, RGBWhiteColor;
|
|
extern RgnHandle screenRgn;
|
|
extern GrafPtr offMaskPort;
|
|
extern BitMap offMaskMap;
|
|
extern CGrafPort offCPartsPort, offCWorkPort;
|
|
extern CGrafPtr offCPartsPtr, offCWorkPtr;
|
|
extern BitMap offPartsBits, offWorkBits;
|
|
extern Rect offPartsRect, offWorkRect, offMaskRect, mouseFrame;
|
|
extern Rect playerSrcRects[9][3];
|
|
extern Rect fadeMaskRects[9][3];
|
|
extern long playerSrcAddrs[9][3], fadeMaskAddrs[9][3];
|
|
extern long maskAddrs[9][3];
|
|
extern short arenaSize, displayMode, displayHCenter, displayVCenter;
|
|
extern short screenWide, screenHigh, maxBoardForce;
|
|
extern short screenHCenter, screenVCenter;
|
|
extern short vertTable[41][81];
|
|
extern short boardForceTable[9][2];
|
|
extern short spacialToDirection[9];
|
|
extern short fadeMaskSequence[69];
|
|
extern Boolean leftGoalIsPlayers, showBoardCursor, disableBoardCursor;
|
|
extern Boolean wasBrakeOn;
|
|
|
|
|