/* // Created by Tiny on 2/16/2021. */ /*! * \file map.h * \brief Map Header File * \authors Tin * \version 1 * \date 16/02/2021 * * Map structure and functions definiton. * */ #ifndef INSAGAME_MAP_H #define INSAGAME_MAP_H /*! * \struct MAP * \brief Map structure */ typedef struct { char *path; /**< Path of image bmp of map */ int width; /**< Map's width */ int height; /**< Map's height */ int **functional; /**< 2D functional matrix */ } MAP; int initmap(MAP *map,char *path); int **maptomatrix(MAP *map); #endif /*INSAGAME_MAP_H*/