This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-libzoom/zoom/player.h

25 lines
378 B
C
Raw Permalink Normal View History

2005-04-22 19:51:02 +00:00
#ifndef ZOOM_PLAYER_H
#define ZOOM_PLAYER_H
2005-04-18 15:27:00 +00:00
#include <zoom/types.h>
2005-04-18 15:27:00 +00:00
#define INPUT_UP 1
#define INPUT_DOWN 2
#define INPUT_RIGHT 4
#define INPUT_LEFT 8
#define INPUT_OPEN 16
typedef struct _PLAYER {
VERTEX pos;
float rotx;
float rotysin, rotycos;
int health;
int shield;
int room;
} PLAYER;
void MouseInput(int, int);
void DoInput(int);
#endif