Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // File: player.h
- //
- //Includes
- #include "vector.h"
- #include "inventory.h"
- #include "physics.h"
- //Definitions
- /////////////////////////////////////////////////
- typedef struct{
- int head;
- int chest;
- int l_arm;
- int r_arm;
- int l_leg;
- int r_leg;
- }Body;
- typedef struct{
- unsigned char s;
- unsigned char p;
- unsigned char e;
- unsigned char c;
- unsigned char i;
- unsigned char a;
- }Specia;
- typedef struct{
- //TODO: add skills
- unsigned int x;
- }Skills;
- typedef struct{
- Vector loc;
- Vector rot;
- Physics phys;
- PInventory inv;
- Body health;
- Specia stats;
- Skills skills;
- int experience;
- }Player;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement