helapordo 1.4.12
|
#include <ser_core.h>
Data Fields | |
int64_t | start_time |
Keeps track of game start time. | |
SerCountstats | stats |
Keeps track of stats for the game. | |
int8_t | current_fighters |
Keeps track of Fighter number for the game. | |
int32_t | current_roomtype |
Keeps track of current room type. | |
int8_t | current_room_index |
Keeps track of current room index. | |
int8_t | current_enemy_index |
Keeps track of current enemy index. | |
SerWincon | wincon |
Keeps track of current Wincon. | |
SerPath | path |
Keeps track of current Path. | |
SerFighter | player |
Keeps track of current Player. | |
int32_t | gamemode |
Keeps track of current Gamemode. | |
SerFloor | current_floor |
Pointer to current floor, initialised when gamemode==Rogue. | |
SerRoom | current_room |
Pointer to current room. | |
bool | is_seeded |
Denotes if the current game was started with a set seed. | |
Serialized Gamestate.
Packed struct. Can be turned into a Gamestate with deser_Gamestate(). Can be obtained from a Gamestate with ser_Gamestate().
int8_t SerGamestate::current_enemy_index |
Keeps track of current enemy index.
int8_t SerGamestate::current_fighters |
Keeps track of Fighter number for the game.
SerFloor SerGamestate::current_floor |
Pointer to current floor, initialised when gamemode==Rogue.
SerRoom SerGamestate::current_room |
Pointer to current room.
int8_t SerGamestate::current_room_index |
Keeps track of current room index.
int32_t SerGamestate::current_roomtype |
Keeps track of current room type.
int32_t SerGamestate::gamemode |
Keeps track of current Gamemode.
bool SerGamestate::is_seeded |
Denotes if the current game was started with a set seed.
SerFighter SerGamestate::player |
Keeps track of current Player.
int64_t SerGamestate::start_time |
Keeps track of game start time.
SerCountstats SerGamestate::stats |
Keeps track of stats for the game.