dir.cc File Reference

#include "dir.h"

Include dependency graph for dir.cc:

Go to the source code of this file.

Functions

Direction Get_direction (int deltay, int deltax)
Direction Get_direction4 (int deltay, int deltax)
int Get_direction16 (int deltay, int deltax)


Function Documentation

Direction Get_direction ( int  deltay,
int  deltax 
)

Definition at line 35 of file dir.cc.

References east, north, northeast, northwest, south, southeast, southwest, and west.

Referenced by Game_window::call_guards(), Usecode_internal::find_direction(), Map_chunk::find_spot(), Get_dir_from(), Game_object::get_direction(), Mouse::set_speed_cursor(), Shift_wizards_eye(), Game_window::start_actor_alt(), and Wizard_eye().

int Get_direction16 ( int  deltay,
int  deltax 
)

Definition at line 86 of file dir.cc.

Referenced by Egg_object::activate(), Get_dir16(), Explosion_effect::handle_event(), Object_sfx::set_obj(), and Usecode_internal::UI_play_sound_effect2().

Direction Get_direction4 ( int  deltay,
int  deltax 
)

Definition at line 66 of file dir.cc.

References east, north, south, and west.

Referenced by Path_walking_actor_action::handle_event(), Dance_schedule::now_what(), Path_walking_actor_action::Path_walking_actor_action(), Barge_object::travel_to_tile(), and Path_walking_actor_action::walk_to_tile().


Generated on Mon Jul 9 14:43:07 2007 for ExultEngine by  doxygen 1.5.1