#include <map.h>
Collaboration diagram for hoa_map::private_map::MapFrame:

Public Attributes | |
| float | bottom_edge |
| float | left_edge |
| The position coordinates of the screen edges. These members are in terms of the map grid 16x16 pixel coordinates that map objects use. The presense of these coordinates make it easier for map objects to figure out whether or not they should be drawn on the screen. Note that these are not used as drawing cursor positions, but rather are map grid coordinates indicating where the screen edges lie. | |
| uint8 | num_draw_cols |
| The number of columns and rows of tiles to draw on the screen. | |
| uint8 | num_draw_rows |
| float | right_edge |
| int16 | starting_col |
| The column and row indeces of the starting tile to draw (the top-left tile). | |
| int16 | starting_row |
| float | tile_x_start |
| The x and y position screen coordinates to start drawing tiles from. | |
| float | tile_y_start |
| float | top_edge |
****************************************************************************
This class is used by the MapMode class to determine how the next map frame should be drawn. This includes which tiles will be visible and the offset coordinates for the screen. Map objects also use this information to determine where (and if) they should be drawn.
Definition at line 131 of file map.h.
Definition at line 148 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::private_map::MapObject::DrawHelper().
The position coordinates of the screen edges. These members are in terms of the map grid 16x16 pixel coordinates that map objects use. The presense of these coordinates make it easier for map objects to figure out whether or not they should be drawn on the screen. Note that these are not used as drawing cursor positions, but rather are map grid coordinates indicating where the screen edges lie.
Definition at line 148 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo().
The number of columns and rows of tiles to draw on the screen.
Definition at line 137 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::MapMode::Draw().
Definition at line 137 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::MapMode::Draw().
Definition at line 148 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::private_map::MapObject::DrawHelper().
The column and row indeces of the starting tile to draw (the top-left tile).
Definition at line 134 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::MapMode::Draw().
Definition at line 134 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::MapMode::Draw().
The x and y position screen coordinates to start drawing tiles from.
Definition at line 140 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::MapMode::Draw().
Definition at line 140 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::MapMode::Draw().
Definition at line 148 of file map.h.
Referenced by hoa_map::MapMode::_CalculateDrawInfo(), and hoa_map::private_map::MapObject::DrawHelper().
1.5.1