Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

coord Struct Reference

#include <util.h>


Detailed Description

A coordinate.

Ranges from (0,0) to (255,255). This is sufficient to represent any spot on the map, since no maps are that big, and (due to memory limitations) no maps will ever be that big. This may also represent a location on the screen, since the screen size (in pixels or in characters) is never that big, either.

Definition at line 16 of file util.h.

Data Fields

uchar x
uchar y


Field Documentation

uchar coord::x
 

Definition at line 18 of file util.h.

Referenced by _UI_TF_DrawTile(), construct_coord(), construct_rect(), make_connections(), place_player_on_map(), throw_item(), UI_Dialog_Display(), UI_Menu_Redraw(), UI_TF_DrawEffect(), UI_TF_FullRedraw(), UI_TF_Init(), UI_TF_MoveCamera(), UI_TF_PlaceCamera(), UI_TF_PutTile(), and UI_TF_Scroll().

uchar coord::y
 

Definition at line 19 of file util.h.

Referenced by _UI_TF_DrawTile(), construct_coord(), construct_rect(), make_connections(), place_player_on_map(), throw_item(), UI_Dialog_Display(), UI_Menu_Pick(), UI_Menu_Redraw(), UI_TF_DrawEffect(), UI_TF_FullRedraw(), UI_TF_Init(), UI_TF_MoveCamera(), UI_TF_PlaceCamera(), UI_TF_PutTile(), and UI_TF_Scroll().


The documentation for this struct was generated from the following file:
Generated on Thu May 20 13:12:14 2004 for CalcRogue by doxygen 1.3.6