Definition in file facing.c.
#include "crogue.h"
Go to the source code of this file.
Functions | |
| sint | facing (sint x, sint y) |
| sint | facing_towards (sint x, sint y) |
| sint | facing_opposite (sint x, sint y) |
| sint | player_facing (void) |
| uint | delta_facing (sint facing_one, sint facing_two) |
| sint | sign (sint v) |
Variables | |
| schar | facings [3][3] |
|
||||||||||||
|
Definition at line 87 of file facing.c. References min(), sint, and uint. Referenced by monst_facing(), and plr_walk(). |
|
||||||||||||
|
Definition at line 49 of file facing.c. References facings, sign(), and sint. Referenced by facing_towards(), plr_walk(), and prompt_dir(). |
|
||||||||||||
|
Definition at line 63 of file facing.c. References facing_towards(), and sint. |
|
||||||||||||
|
Definition at line 57 of file facing.c. References facing(), world::plr, sint, w, player::x, and player::y. Referenced by facing_opposite(), monst_facing(), and player_facing(). |
|
|
Definition at line 69 of file facing.c. References player::facing, player::facing_forced, facing_towards(), monstbytile(), world::plr, sint, w, player::x, and player::y. Referenced by monst_facing(), and plr_walk(). |
|
|
Definition at line 33 of file facing.c. References sint. Referenced by facing(). |
|
|
Initial value:
{
{ 3, 2, 1 },
{ 4, 8, 0 },
{ 5, 6, 7 }
}
Definition at line 41 of file facing.c. Referenced by facing(). |
1.3.6