mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 05:43:22 -05:00
30 lines
563 B
C
30 lines
563 B
C
#ifndef GUARD_REGION_MAP_H
|
|
#define GUARD_REGION_MAP_H
|
|
|
|
#include "global.h"
|
|
#include "bg.h"
|
|
|
|
enum {
|
|
REGIONMAP_TYPE_NORMAL,
|
|
REGIONMAP_TYPE_WALL,
|
|
REGIONMAP_TYPE_FLY,
|
|
REGIONMAP_TYPE_COUNT
|
|
};
|
|
|
|
struct RegionMapLocation
|
|
{
|
|
u8 x;
|
|
u8 y;
|
|
u8 width;
|
|
u8 height;
|
|
const u8 *name;
|
|
};
|
|
|
|
u8 *GetMapName(u8 *dest, u16 mapsec, u16 fill);
|
|
u8 *GetMapNameGeneric(u8 *dest, u16 mapsec);
|
|
u8 *GetMapNameGeneric_(u8 *dest, u16 mapsec);
|
|
void InitRegionMapWithExitCB(u8 type, void (*callback)(void));
|
|
void CB2_OpenFlyMap(void);
|
|
|
|
#endif // GUARD_REGION_MAP_H
|