home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Fest 1993
/
gamefest1993stgcomputerslimited1993.iso
/
soft
/
more8
/
pro31
/
baffled.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-19
|
1KB
|
42 lines
#define FALSE 0
#define TRUE !FALSE
#define BOOL int
#define SHOT 32 // space bar
#define SCLR 14 // color of baffle selector
#define UP 0 // shot direction
#define DOWN 1 // shot direction
#define LEFT 2 // shot direction
#define RIGHT 3 // shot direction
#define LEFTKEY 75 // left arrow - 75
#define RIGHTKEY 77 // right arrow - 77
#define UPKEY 72 // up arrow - 72
#define DOWNKEY 80 // down arrow - 80
#define SPACEKEY 32 // spacebar
#define QUITKEY 113 // Q key
#define ESCKEY 27 // escape key
#define CTRL_R 116 // control - right arrow
#define CTRL_L 115 // control - left arrow
#define CTRL_D 145 // control - down arrow
#define CTRL_U 141 // control - up arrow
#define CTRL_S 91 // control - s
#define FORWARD 47 // forward slash / == 1
#define BACK 92 // back slash \ == 0
struct highscore {
char name[11];
char score[6];
char baffle[3];
} hscore[10];
struct {
int x;
int y;
} Points[40];
struct {
BOOL Baffle;
int Angle;
} IntSec[10][10];