game_load_buffer(buffer)

From ENIGMA

Jump to: navigation, search

Description

Loads the previously saved game state into the given buffer.

Note: It is only to make it simple for beginners to add saving and loading to their game but since it dumps the entire game state and all variables it can be rather inefficient.

Parameters

Parameter Data Type Description
buffer integer index of the buffer to load the game state into

Return Values

void: This function does not return anything.

Example Call

// demonstrates loading a saved game state into a buffer
game_load_buffer(mybuffer);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox