Newer
Older
/*!
* \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
*/
char *path; /**< Path of image bmp of map */
int width; /**< Map's width */
int height; /**< Map's height */
int **functional; /**< 2D functional matrix */
int initmap(MAP *map,char *path);
int **maptomatrix(MAP *map);