helapordo 1.4.12
|
#include <ser_core.h>
Data Fields | |
int8_t | index |
The floor's own number. | |
int32_t | class |
Defines which kind of floorClass the instance relates to. | |
int8_t | floor_layout [FLOOR_MAX_COLS][FLOOR_MAX_ROWS] |
Defines the layout for the Floor (which cells are actually filled). | |
int8_t | area |
Holds how many cells we succesfully random walked. | |
int32_t | roomclass_layout [FLOOR_MAX_COLS][FLOOR_MAX_ROWS] |
roomClass matrix for class value for rooms of this floor. | |
int8_t | explored_matrix [FLOOR_MAX_COLS][FLOOR_MAX_ROWS] |
Int matrix for explored value for rooms of this floor. | |
int8_t | explored_area |
Holds how many cells we explored. | |
bool | from_bsp |
Flag for floors generated using bsp. | |
Serialized Floor.
Packed struct. Can be turned into a Floor with deser_Floor(). Can be obtained from a Floor with ser_Floor().
int8_t SerFloor::area |
Holds how many cells we succesfully random walked.
int32_t SerFloor::class |
Defines which kind of floorClass the instance relates to.
int8_t SerFloor::explored_area |
Holds how many cells we explored.
int8_t SerFloor::explored_matrix[FLOOR_MAX_COLS][FLOOR_MAX_ROWS] |
Int matrix for explored value for rooms of this floor.
int8_t SerFloor::floor_layout[FLOOR_MAX_COLS][FLOOR_MAX_ROWS] |
Defines the layout for the Floor (which cells are actually filled).
bool SerFloor::from_bsp |
Flag for floors generated using bsp.
int8_t SerFloor::index |
The floor's own number.
int32_t SerFloor::roomclass_layout[FLOOR_MAX_COLS][FLOOR_MAX_ROWS] |
roomClass matrix for class value for rooms of this floor.