#include <stage.hh>
◆ BlockGroup()
BlockGroup::BlockGroup |
( |
| ) |
|
◆ ~BlockGroup()
BlockGroup::~BlockGroup |
( |
| ) |
|
◆ AppendBlock()
void BlockGroup::AppendBlock |
( |
Block * |
block | ) |
|
◆ AppendTouchingModels()
void BlockGroup::AppendTouchingModels |
( |
std::set< Model *> & |
touchers | ) |
|
deletes all blocks from the group
◆ CalcSize()
void BlockGroup::CalcSize |
( |
| ) |
|
Establish the min and max of all the blocks, so we can scale this group later.
◆ CallDisplayList()
void BlockGroup::CallDisplayList |
( |
Model * |
mod | ) |
|
◆ Clear()
void BlockGroup::Clear |
( |
| ) |
|
◆ DrawFootPrint()
void BlockGroup::DrawFootPrint |
( |
const Geom & |
geom | ) |
|
Draw the projection of the block onto the z=0 plane.
◆ DrawSolid()
void BlockGroup::DrawSolid |
( |
const Geom & |
geom | ) |
|
Draw the block in OpenGL as a solid single color.
◆ GetCount()
uint32_t Stg::BlockGroup::GetCount |
( |
| ) |
|
|
inline |
◆ GetOffset()
const point3_t& Stg::BlockGroup::GetOffset |
( |
| ) |
|
|
inline |
◆ GetSize()
const Size& Stg::BlockGroup::GetSize |
( |
| ) |
|
|
inline |
◆ InvalidateModelPointCache()
void Stg::BlockGroup::InvalidateModelPointCache |
( |
| ) |
|
|
inline |
◆ LoadBitmap()
void BlockGroup::LoadBitmap |
( |
Model * |
mod, |
|
|
const std::string & |
bitmapfile, |
|
|
Worldfile * |
wf |
|
) |
| |
◆ LoadBlock()
void BlockGroup::LoadBlock |
( |
Model * |
mod, |
|
|
Worldfile * |
wf, |
|
|
int |
entity |
|
) |
| |
◆ Map()
void BlockGroup::Map |
( |
unsigned int |
layer | ) |
|
◆ Rasterize()
void BlockGroup::Rasterize |
( |
uint8_t * |
data, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
meters_t |
cellwidth, |
|
|
meters_t |
cellheight |
|
) |
| |
◆ TestCollision()
Model * BlockGroup::TestCollision |
( |
| ) |
|
Returns a pointer to the first model detected to be colliding with a block in this group, or NULL, if none are detected.
◆ UnMap()
void BlockGroup::UnMap |
( |
unsigned int |
layer | ) |
|
The documentation for this class was generated from the following files: