restore encounters

add comments
This commit is contained in:
quenousimporte 2025-04-17 17:45:45 +02:00
parent d1003a09d6
commit 08ca7ae774
1 changed files with 3 additions and 1 deletions

4
w/w.c
View File

@ -713,7 +713,7 @@ void update(char* command)
forward(); forward();
if ( (x != state.position.x || y != state.position.y) && dice() > 4) if ( (x != state.position.x || y != state.position.y) && dice() > 4)
{ {
// gotomonster(); gotomonster();
} }
break; break;
case CMD_RIGHT: case CMD_RIGHT:
@ -889,6 +889,7 @@ void draw()
update3dpov(); update3dpov();
drawpov3d(); drawpov3d();
// todo: would need a compass?
printf("\n\n Orientation : "); printf("\n\n Orientation : ");
switch (state.position.orientation) switch (state.position.orientation)
{ {
@ -946,6 +947,7 @@ void draw()
} }
else if (state.screen == SC_SHOWMAP) else if (state.screen == SC_SHOWMAP)
{ {
// need a spell, or to have found a map?
drawmap(); drawmap();
} }