helapordo 1.4.12
Loading...
Searching...
No Matches
Floor Struct Reference

Represents the entity initialised from a floorClass. More...

#include <game_core.h>

Collaboration diagram for Floor:

Data Fields

int index
 The floor's own number.
 
char * desc
 Description string.
 
floorClass class
 Defines which kind of floorClass the instance relates to.
 
int floor_layout [FLOOR_MAX_COLS][FLOOR_MAX_ROWS]
 Defines the layout for the Floor (which cells are actually filled).
 
int area
 Holds how many cells we succesfully random walked.
 
Roomrooms_matrix [FLOOR_MAX_COLS][FLOOR_MAX_ROWS]
 Pointer matrix for rooms of this floor.
 
roomClass roomclass_layout [FLOOR_MAX_COLS][FLOOR_MAX_ROWS]
 roomClass matrix for class value for rooms of this floor.
 
int explored_matrix [FLOOR_MAX_COLS][FLOOR_MAX_ROWS]
 Int matrix for explored value for rooms of this floor.
 
int explored_area
 Holds how many cells we explored.
 
bool from_bsp
 Flag for floors generated using bsp.
 

Detailed Description

Represents the entity initialised from a floorClass.

See also
floorClass
Room

Field Documentation

◆ area

int Floor::area

Holds how many cells we succesfully random walked.

◆ class

floorClass Floor::class

Defines which kind of floorClass the instance relates to.

◆ desc

char* Floor::desc

Description string.

◆ explored_area

int Floor::explored_area

Holds how many cells we explored.

◆ explored_matrix

int Floor::explored_matrix[FLOOR_MAX_COLS][FLOOR_MAX_ROWS]

Int matrix for explored value for rooms of this floor.

◆ floor_layout

int Floor::floor_layout[FLOOR_MAX_COLS][FLOOR_MAX_ROWS]

Defines the layout for the Floor (which cells are actually filled).

◆ from_bsp

bool Floor::from_bsp

Flag for floors generated using bsp.

◆ index

int Floor::index

The floor's own number.

◆ roomclass_layout

roomClass Floor::roomclass_layout[FLOOR_MAX_COLS][FLOOR_MAX_ROWS]

roomClass matrix for class value for rooms of this floor.

◆ rooms_matrix

Room* Floor::rooms_matrix[FLOOR_MAX_COLS][FLOOR_MAX_ROWS]

Pointer matrix for rooms of this floor.


The documentation for this struct was generated from the following file: