In file apps/walktest/hugeroom.h:

class HugeRoom

The Huge Room demo

Public Methods

csSector* create_huge_world(csWorld* world)
HugeRoom()
~HugeRoom()

Private Fields

float sector_light_max_pos
Maximum x, y, and z position where lights are created.
float sector_light_max_red
Maximum color for every light.
float sector_light_min_radius
Minimum/maximum radius for every light.
float sector_light_min_red
Minimum color for every light.
int sector_min_lights
Minimum/maximum number of lights in sector.
int sector_min_thing
Minimum/maximum number of things in sector.
float sector_min_thing_x
Minimum/maximum x,y,z position of every thing.
unsigned int seed
float thing_cityblock_dim
Dimension of one cityblock.
float thing_max_x
Max x,y, and z size of every polygon in thing.
int thing_min_poly
Minimum/maximum number of polygons for every thing.
float wall_dim
Dimensions of outer wall.
float wall_max_red
Maximum color for outer wall.
float wall_min_red
Minimum color for outer wall.
int wall_num_tris
Number of horizontal and vertical triangles for every outer wall.
csWorld* world

Private Methods

csPolygon3D* create_polygon(csSector* sector, csPolygonSet* thing, const csVector3& p1, const csVector3& p2, const csVector3& p3, int txt)
csThing* create_thing(csSector* sector, const csVector3& pos)
void create_wall(csSector* sector, csPolygonSet* thing, const csVector3& p1, const csVector3& p2, const csVector3& p3, const csVector3& p4, int hor_res, int ver_res, int txt)

Documentation

The Huge Room demo
csWorld* world

unsigned int seed

float wall_dim
Dimensions of outer wall.

int wall_num_tris
Number of horizontal and vertical triangles for every outer wall.

float wall_min_red
Minimum color for outer wall.

float wall_max_red
Maximum color for outer wall.

float thing_max_x
Max x,y, and z size of every polygon in thing.

int thing_min_poly
Minimum/maximum number of polygons for every thing.

float thing_cityblock_dim
Dimension of one cityblock.

int sector_min_thing
Minimum/maximum number of things in sector.

float sector_min_thing_x
Minimum/maximum x,y,z position of every thing.

int sector_min_lights
Minimum/maximum number of lights in sector.

float sector_light_max_pos
Maximum x, y, and z position where lights are created.

float sector_light_min_radius
Minimum/maximum radius for every light.

float sector_light_min_red
Minimum color for every light.

float sector_light_max_red
Maximum color for every light.

csThing* create_thing(csSector* sector, const csVector3& pos)

csPolygon3D* create_polygon(csSector* sector, csPolygonSet* thing, const csVector3& p1, const csVector3& p2, const csVector3& p3, int txt)

void create_wall(csSector* sector, csPolygonSet* thing, const csVector3& p1, const csVector3& p2, const csVector3& p3, const csVector3& p4, int hor_res, int ver_res, int txt)

HugeRoom()

~HugeRoom()

csSector* create_huge_world(csWorld* world)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de