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
373 B
C
Raw Normal View History

2005-04-18 15:27:00 +00:00
#ifndef GAME_PLAYER_H
#define GAME_PLAYER_H
#include "types.h"
#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