Changed Renamed CTRLS_* to ACTION_* Changed Moved anonymous enum containing ACTION_* into class ControlScheme ~g2k
29 lines
400 B
C++
29 lines
400 B
C++
#ifndef __PLAYER_H__
|
|
#define __PLAYER_H__
|
|
|
|
#include "camera.h"
|
|
#include "ctrls.h"
|
|
|
|
namespace OpenArena
|
|
{
|
|
class Player
|
|
{
|
|
public:
|
|
void Load();
|
|
void Save();
|
|
void CreateCharacter();
|
|
//void FirePrimary(ENTITY& ent);
|
|
//void FireSecondary();
|
|
void AddItem(unsigned int item);
|
|
void RemoveItem(unsigned int item);
|
|
|
|
ControlScheme controls;
|
|
Camera camera;
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
};
|
|
#endif
|