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();
|
drawpov3d();
|
||||||
|
|
||||||
// todo: would need a compass?
|
// todo: would need a compass?
|
||||||
printf("\n\n Orientation : ");
|
/*printf("\n\n");
|
||||||
switch (state.position.orientation)
|
switch (state.position.orientation)
|
||||||
{
|
{
|
||||||
case NORTH: printf("nord"); break;
|
case NORTH:
|
||||||
case EAST: printf("est"); break;
|
printf(" ^\n");
|
||||||
case SOUTH: printf("sud"); break;
|
printf(" - -\n");
|
||||||
case WEST: printf("ouest"); break;
|
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)
|
if (charatpos(state.position.x, state.position.y) == TILE_START)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue