X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/edit?a=blobdiff_plain;f=src%2Froguelike.h;h=5dd17f797572af839d76dd3c7bfafab991b856af;hb=c7ff0e4b00f98a0cf65465c552af5ebfcfeaab57;hp=9ecd71a890f9f90a3153a0a45862dee88002eddd;hpb=c00feb07ac833c0133b6b1329e27350b2acc94c4;p=plomrogue diff --git a/src/roguelike.h b/src/roguelike.h index 9ecd71a..5dd17f7 100644 --- a/src/roguelike.h +++ b/src/roguelike.h @@ -13,10 +13,8 @@ struct World { struct Player * player; }; struct Map { - uint16_t width; - uint16_t height; - uint16_t offset_x; - uint16_t offset_y; + struct yx_uint16 size; + struct yx_uint16 offset; char * cells; }; struct Player {