ref: 69a2357ca3f5787d2fcfb314b52c8bb4887d003c
dir: /src/Map.h/
#pragma once #include <stdint.h> struct MAP_DATA { uint8_t *data; uint8_t atrb[0x101]; //Why is this 257 bytes? int16_t width; int16_t length; }; extern MAP_DATA gMap; bool InitMapData2(); bool LoadMapData2(char *path_map); bool LoadAttributeData(char *path_atrb); void EndMapData(); void ReleasePartsImage(); void GetMapData(uint8_t **data, int16_t *mw, int16_t *ml); int GetAttribute(int x, int y); void DeleteMapParts(int x, int y); void ShiftMapParts(int x, int y); bool ChangeMapParts(int x, int y, uint8_t no); void PutStage_Back(int fx, int fy); void PutStage_Front(int fx, int fy); void PutMapDataVector(int fx, int fy);