Stg::SuperRegion Class Reference
#include <region.hh>
Public Member Functions | |
void | AddBlock (StgBlock *block, int32_t x, int32_t y) |
void | Draw () |
void | Floor () |
Region * | GetRegion (int32_t x, int32_t y) |
SuperRegion (int32_t x, int32_t y) | |
~SuperRegion () | |
Static Public Member Functions | |
static void | Draw_cb (gpointer dummykey, SuperRegion *sr, gpointer dummyval) |
static void | Floor_cb (gpointer dummykey, SuperRegion *sr, gpointer dummyval) |
Friends | |
class | StgWorld |
Constructor & Destructor Documentation
Stg::SuperRegion::SuperRegion | ( | int32_t | x, | |
int32_t | y | |||
) | [inline] |
References Stg::stg_point_int_t::x, and Stg::stg_point_int_t::y.
Stg::SuperRegion::~SuperRegion | ( | ) | [inline] |
Member Function Documentation
void Stg::SuperRegion::AddBlock | ( | StgBlock * | block, | |
int32_t | x, | |||
int32_t | y | |||
) | [inline] |
References Stg::Region::AddBlock(), GetRegion(), and RBITS.
void Stg::SuperRegion::Draw | ( | ) | [inline] |
References Stg::Region::cells, GetRegion(), stg_cell_t::list, RBITS, SRBITS, Stg::stg_point_int_t::x, and Stg::stg_point_int_t::y.
Referenced by Draw_cb().
static void Stg::SuperRegion::Draw_cb | ( | gpointer | dummykey, | |
SuperRegion * | sr, | |||
gpointer | dummyval | |||
) | [inline, static] |
void Stg::SuperRegion::Floor | ( | ) | [inline] |
static void Stg::SuperRegion::Floor_cb | ( | gpointer | dummykey, | |
SuperRegion * | sr, | |||
gpointer | dummyval | |||
) | [inline, static] |
Region* Stg::SuperRegion::GetRegion | ( | int32_t | x, | |
int32_t | y | |||
) | [inline] |
Referenced by AddBlock(), and Draw().
Friends And Related Function Documentation
friend class StgWorld [friend] |
The documentation for this class was generated from the following file:
Generated on Thu Jan 7 17:42:17 2010 for Stage by 1.5.5