#include <Grid.h>
List of all members.
Public Types |
enum | PLANE { GRID_XY,
GRID_XZ,
GRID_YZ
} |
enum | TYPE {
OTHER,
SOLID,
SPRITE,
BOLT,
QUAD
} |
enum | RENDER_FLAGS {
RENDER_SOLID = 0x0001,
RENDER_ALPHA = 0x0002,
RENDER_ADDITIVE = 0x0004,
RENDER_FIRST_LIGHT = 0x1000,
RENDER_ADD_LIGHT = 0x2000
} |
Detailed Description
Definition at line 24 of file Grid.h.
Member Enumeration Documentation
- Enumerator:
-
Definition at line 27 of file Grid.h.
Constructor & Destructor Documentation
Grid::Grid |
( |
int |
size, |
|
|
int |
step |
|
) |
| |
Member Function Documentation
int Grid::CollidesWith |
( |
Graphic & |
o | ) |
|
|
virtual |
const char * Grid::GetReferenceFront |
( |
| ) |
const |
const char * Grid::GetReferencePlan |
( |
| ) |
const |
const char * Grid::GetReferenceSide |
( |
| ) |
const |
int Grid::GetSize |
( |
| ) |
const |
|
inline |
bool Grid::IsShow |
( |
| ) |
const |
|
inline |
bool Grid::IsSnap |
( |
| ) |
const |
|
inline |
virtual void Grid::Render |
( |
Video * |
video, |
|
|
DWORD |
flags |
|
) |
| |
|
virtual |
void Grid::Render |
( |
Video * |
video, |
|
|
DWORD |
flags |
|
) |
| |
|
virtual |
void Grid::RenderReference |
( |
Video * |
video | ) |
|
|
virtual |
void Grid::SetReferenceFront |
( |
const char * |
fname | ) |
|
void Grid::SetReferencePlan |
( |
const char * |
fname | ) |
|
void Grid::SetReferenceSide |
( |
const char * |
fname | ) |
|
void Grid::SetShow |
( |
bool |
s | ) |
|
|
inline |
void Grid::SetSize |
( |
int |
x, |
|
|
int |
y = 0 |
|
) |
| |
void Grid::SetSkip |
( |
int |
x, |
|
|
int |
y = 0 |
|
) |
| |
void Grid::SetSnap |
( |
bool |
s | ) |
|
|
inline |
void Grid::ShowMinor |
( |
bool |
show | ) |
|
|
inline |
void Grid::ShowPlane |
( |
int |
p | ) |
|
|
inline |
void Grid::ShowReference |
( |
bool |
show | ) |
|
|
inline |
CPoint & Grid::Snap |
( |
CPoint & |
p | ) |
|
int Grid::snapto |
( |
int |
i, |
|
|
int |
dim |
|
) |
| |
|
protected |
Member Data Documentation
The documentation for this class was generated from the following files:
- D:/SRC/StarshatterSVN/Magic2/Grid.h
- D:/SRC/StarshatterSVN/Stars45/Grid.h
- D:/SRC/StarshatterSVN/Magic2/Grid.cpp
- D:/SRC/StarshatterSVN/Stars45/Grid.cpp