X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fmain.h;h=14287d044561705b2d625f2fb978bcdfcb783b6c;hb=35cdeffc062d3d87f1526bbff10c401b56b1345a;hp=0427e9a24205939eaea59bcfa8f4144c03a4296b;hpb=d951e2631a19500f1bb8c29f9e029a9d9fb29ae7;p=plomrogue diff --git a/src/main.h b/src/main.h index 0427e9a..14287d0 100644 --- a/src/main.h +++ b/src/main.h @@ -1,5 +1,5 @@ -#ifndef ROGUELIKE_H -#define ROGUELIKE_H +#ifndef MAIN_H +#define MAIN_H #include @@ -8,6 +8,8 @@ struct Win; struct KeyBinding; struct KeysWinData; struct Map; +struct ItemDef; +struct MonsterDef; struct World { char interactive; @@ -17,7 +19,9 @@ struct World { uint32_t turn; char * log; struct Map * map; + struct ItemDef * item_def; struct Item * item; + struct MonsterDef * monster_def; struct Monster * monster; struct Player * player; };