home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server: Make make_world function selectable.
[plomrogue]
/
libplomrogue.c
diff --git
a/libplomrogue.c
b/libplomrogue.c
index d0b15a10bc5d260f4fcf1fc75af6551863e01157..d0b656b657f23c225cd0fafe140dcfe92660ca6c 100644
(file)
--- a/
libplomrogue.c
+++ b/
libplomrogue.c
@@
-600,7
+600,8
@@
extern void age_some_memdepthmap_on_nonfov_cells(char * memdepthmap,
}
}
}
}
-extern uint8_t set_cells_passable_on_memmap_to_65534_on_scoremap(char * mem_map)
+extern uint8_t set_cells_passable_on_memmap_to_65534_on_scoremap(char * mem_map,
+ const char * symbols_passable)
{
if (!score_map)
{
{
if (!score_map)
{
@@
-610,7
+611,7
@@
extern uint8_t set_cells_passable_on_memmap_to_65534_on_scoremap(char * mem_map)
uint16_t pos;
for (pos = 0; pos < map_size; pos++)
{
uint16_t pos;
for (pos = 0; pos < map_size; pos++)
{
- if (
'.' == mem_map[pos]
)
+ if (
NULL != strchr(symbols_passable, mem_map[pos])
)
{
score_map[pos] = 65534;
}
{
score_map[pos] = 65534;
}