pmd-sky/include/dungeon_map_access.h
AnonymousRandomPerson 32fc16b838 Decomped GetTileSafe
2025-07-18 20:18:27 -04:00

12 lines
431 B
C

#ifndef PMDSKY_DUNGEON_MAP_ACCESS_H
#define PMDSKY_DUNGEON_MAP_ACCESS_H
#include "dungeon_mode.h"
// Get the tile at some position. If the coordinates are out of bounds, returns a default tile.
struct tile* GetTile(s32 x, s32 y);
// Get the tile at some position. If the coordinates are out of bounds, returns a pointer to a copy of the default tile.
struct tile* GetTileSafe(s32 x, s32 y);
#endif //PMDSKY_DUNGEON_MAP_ACCESS_H