raylib-wasm-transpiler/client/types.h

47 lines
1.1 KiB
C

typedef struct Stats {
unsigned char Strength;
unsigned char Endurance;
unsigned char Intelligence;
unsigned char Wisdom;
unsigned char Charisma;
unsigned char Faith;
} Stats;
typedef struct HiddenStats {
unsigned char Luck;
unsigned char Stealth;
unsigned char Attractiveness;
unsigned char Affluence;
unsigned char Notoriety;
} HiddenStats;
typedef struct Skills {
unsigned char Artisan;
unsigned char Metalworking;
unsigned char Alchemy;
unsigned char Engineering;
unsigned char Culinary;
unsigned char Ranged;
unsigned char Melee;
unsigned char Acrobatics;
unsigned char Prestidigitation;
unsigned char Language;
unsigned char Medicine;
unsigned char Thaumatology;
unsigned char Theology;
unsigned char Fishing;
unsigned char Mining;
unsigned char Survival;
unsigned char Gardening;
unsigned char History;
unsigned char Perception;
} Skills;
typedef struct Entity {
char Name[24];
Stats Stats;
HiddenStats HiddenStats;
Skills Skills;
} Entity;