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

Holds the state of game progression. More...

#include <game_core.h>

Collaboration diagram for Path:

Data Fields

int length
 Defines how many rooms there are in total.
 
int luck
 Defines global luck value.
 
int prize
 Defines the reward for getting to length.
 
Winconwin_condition
 Defines the win condition for the current game.
 
Saveslotcurrent_saveslot
 Defines current Saveslot for the game.
 
char seed [PATH_SEED_BUFSIZE+1]
 Contains seed for current run.
 
int64_t * rng_advancements
 Pointer to current advancements for rng.
 

Detailed Description

Holds the state of game progression.

See also
Wincon
Saveslot

Field Documentation

◆ current_saveslot

Saveslot* Path::current_saveslot

Defines current Saveslot for the game.

◆ length

int Path::length

Defines how many rooms there are in total.

◆ luck

int Path::luck

Defines global luck value.

◆ prize

int Path::prize

Defines the reward for getting to length.

◆ rng_advancements

int64_t* Path::rng_advancements

Pointer to current advancements for rng.

◆ seed

char Path::seed[PATH_SEED_BUFSIZE+1]

Contains seed for current run.

◆ win_condition

Wincon* Path::win_condition

Defines the win condition for the current game.


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