#include #include #include "dat.h" #include "fns.h" typedef struct Entity Entity; typedef struct Object Object; typedef struct Room Room; struct Entity { int id; char *desc; }; struct Object { Entity; int type; double weight; //Property props; }; struct Room { Entity; Object *objects; int nobject; Room *neighbors[8]; };