mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
12 lines
431 B
C
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
|