comment compass
This commit is contained in:
parent
92b35d1ce3
commit
4ad82585d8
28
w/w.c
28
w/w.c
|
@ -890,14 +890,30 @@ void draw()
|
|||
drawpov3d();
|
||||
|
||||
// todo: would need a compass?
|
||||
printf("\n\n Orientation : ");
|
||||
/*printf("\n\n");
|
||||
switch (state.position.orientation)
|
||||
{
|
||||
case NORTH: printf("nord"); break;
|
||||
case EAST: printf("est"); break;
|
||||
case SOUTH: printf("sud"); break;
|
||||
case WEST: printf("ouest"); break;
|
||||
}
|
||||
case NORTH:
|
||||
printf(" ^\n");
|
||||
printf(" - -\n");
|
||||
printf(" -\n");
|
||||
break;
|
||||
case EAST:
|
||||
printf(" -\n");
|
||||
printf(" - >\n");
|
||||
printf(" -\n");
|
||||
break;
|
||||
case SOUTH:
|
||||
printf(" -\n");
|
||||
printf(" - -\n");
|
||||
printf(" v\n");
|
||||
break;
|
||||
case WEST:
|
||||
printf(" -\n");
|
||||
printf(" < -\n");
|
||||
printf(" -\n");
|
||||
break;
|
||||
}*/
|
||||
|
||||
if (charatpos(state.position.x, state.position.y) == TILE_START)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue