Level data structure. Contains all available settings and element lists on the level. More...
#include <lvl_filedata.h>
Public Member Functions | |
| bool | eventIsExist (PGESTRING title) |
| Checks is event with specified title exist in this level. More... | |
| bool | layerIsExist (PGESTRING title) |
| Checks is layer with specified title exist in this level. More... | |
Public Attributes | |
| int | stars |
| Total number of stars on the level. | |
| bool | ReadFileValid |
| Is file parsed correctly, false if some error is occouped. | |
| PGESTRING | ERROR_info |
| Error messsage. | |
| PGESTRING | ERROR_linedata |
| Line data where error was occouped. | |
| int | ERROR_linenum |
| Number of line where error was occouped. | |
| PGESTRING | LevelName |
| Understandable name of the level. | |
| PGELIST< LevelSection > | sections |
| Sections settings array. | |
| PGELIST< PlayerPoint > | players |
| Player spawn points array. | |
| PGELIST< LevelBlock > | blocks |
| Array of all presented Blocks in this level. | |
| unsigned int | blocks_array_id |
| Last used block's array ID. | |
| PGELIST< LevelBGO > | bgo |
| Array of all presented Background objects in this level. | |
| unsigned int | bgo_array_id |
| Last used Background object array ID. | |
| PGELIST< LevelNPC > | npc |
| Array of all presented NPCs in this level. | |
| unsigned int | npc_array_id |
| Last used NPC's array ID. | |
| PGELIST< LevelDoor > | doors |
| Array of all presented Warp Entries in this level. | |
| unsigned int | doors_array_id |
| Last used warp's array ID. | |
| PGELIST< LevelPhysEnv > | physez |
| Array of all presented Physical Environment Zones in this level. | |
| unsigned int | physenv_array_id |
| Last used Physical Environment Zone's array ID. | |
| PGELIST< LevelLayer > | layers |
| Array of all presented layers in this level. | |
| unsigned int | layers_array_id |
| Last used Layer's array ID. | |
| PGELIST< LevelSMBX64Event > | events |
| Array of all presented events in this level. | |
| unsigned int | events_array_id |
| Last used Event's array ID. | |
| MetaData | metaData |
| Meta-data: Position bookmarks, Auto-Script configuration, etc., Crash meta-data, etc. | |
| int | CurSection |
| ID of currently editing section. | |
| bool | playmusic |
| is music playing button pressed? | |
| bool | modified |
| Is level was modified since open? | |
| bool | untitled |
| Is this level made from scratch and was not saved into file? | |
| bool | smbx64strict |
| PGESTRING | filename |
| Recent file name since file was opened. | |
| PGESTRING | path |
| Recent file path where file was located since it was opened. | |
Level data structure. Contains all available settings and element lists on the level.
| bool LevelData::eventIsExist | ( | PGESTRING | title | ) |
Checks is event with specified title exist in this level.
| title | Event name which need to check for existsing |
| bool LevelData::layerIsExist | ( | PGESTRING | title | ) |
Checks is layer with specified title exist in this level.
| title | Layer name which need to check for existsing |
| bool LevelData::smbx64strict |
Enable SMBX64 Standard restrictions (disable unsupported features and warn about limit exiting)
1.8.7