#ifndef EVENT_H # define EVENT_H #include typedef enum { EVT_HUNGER_TICK, EVT_DAMAGE_TAKEN, EVT_ITEM_OBSERVED, EVT_ORDER_RECEIVED, EVT_MEMORY_TRIGGERED, EVT_PLAYER_INPUT, } EVENT_TYPE; typedef struct { EVENT_TYPE type; int value; double time; char* info; int initiator; int actors; int actions; } Event; #endif