#ifndef PLAYER_H # define PLAYER_H #include #include #include #include typedef enum { ACTION_FORWARD, ACTION_BACKWARD, ACTION_LEFT, ACTION_RIGHT, ACTION_PRIMARY, ACTION_SECONDARY, ACTION_USE, ACTION_GRAB, ACTION_JUMP, ACTION_DASH, ACTION_SKILL1, ACTION_TOOLBAR1, } PLAYER_ACTION; typedef struct { char *name; char *gender; char *nickname;//can be changed, what npc refers to when talking to you, also npc do not know you until you interact with them } Identity; typedef struct { Entity entity; Identity identity; Skill skills[10]; Inventory inventory; } Player; //give more enphasis on the character than the item used (~60% ,~30%) #endif