home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
NACKEXP.ZIP
/
EXAMPLE1.H
< prev
next >
Wrap
Text File
|
1993-08-15
|
1KB
|
52 lines
/* Header file for ACK-3D example */
#define VIEW_X 84 /* Size of the 3D viewport */
#define VIEW_X1 236
#define VIEW_Y 7
#define VIEW_Y1 89
#define CEILING_COLOR 23
#define FLOOR_COLOR 27
#define PLAYER_X 390 /* Initial X coordinate */
#define PLAYER_Y 260 /* Initial Y coordinate */
#define PLAYER_ANGLE 480 /* Initial POV angle */
#define DOORSPEED 4
typedef struct {
int mdx;
int mdy;
int mButtons;
} MOUSE;
typedef struct {
int Number;
int Type;
char *Name;
} BMTABLE;
typedef struct
{
unsigned char start;
unsigned char length;
}ColorRange;
/* Prototypes */
int AppInitialize(void);
int AppSetupEngine(void);
int AppSetupOverlay(void);
int AppLoadBitmaps(void);
int AppSetupObjects(void);
int AppSetGraphics(void);
void AppSetupPalRanges(void);
void AppShow3D(void);
void CheckMouse(MOUSE *m);
int mouse_installed(void);
void mouse_hide_cursor(void);
void mouse_set_cursor(int row,int col);
void mouse_read_cursor(int *button,int *row,int *col);