home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't hardcode map object action id for "move" in turn_over()!
[plomrogue]
/
src
/
map.h
diff --git
a/src/map.h
b/src/map.h
index 6a39e356e91e225f83c7bdd96f3de734935da568..a1d607ac2d7f0a2cffc949f111be42d9079a8b43 100644
(file)
--- a/
src/map.h
+++ b/
src/map.h
@@
-37,6
+37,11
@@
extern void map_scroll(char d);
/* Center map on player. */
extern void map_center();
+/* Check if coordinate pos on (or beyond) map is accessible to map object
+ * movement.
+ */
+extern uint8_t is_passable(struct Map * map, struct yx_uint16 pos);
+
#endif