LoadGameConfigFile Function

Loads a game config file.

GameData LoadGameConfigFile(const char[] file)

Parameters

const char[] file

File to load. The path must be relative to the 'gamedata' folder under the config folder and the extension should be omitted.

Return Value

A handle to the game config file or INVALID_HANDLE on failure.