game_load(filename)

From ENIGMA

Revision as of 06:00, 15 November 2013 by RobertBColton (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Loads a previously saved game state specific to this game.

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
filename string the file name of the saved game state

Return Values

void: This function does not return anything.

Example Call

// demonstrates loading a previously saved game state
game_load("mygame.sav");
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox