Amulets & Armor  v1.02
Open Source Game
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros | Functions
CONFIG

CONFIG.INI File. More...

Macros

#define MEMORY_LOW_CREATURE_FRAMES   2
 
#define MEMORY_LOW_LEVEL   ((T_word32)2400000)
 
#define MEMORY_LOW_PLAYER_FRAMES   2
 
#define MEMORY_NOT_ENOUGH_LEVEL   ((T_word32)1200000)
 
#define MEMORY_SOMEWHAT_LOW_LEVEL   ((T_word32)7000000)
 
#define MEMORY_VERY_LOW_CREATURE_FRAMES   7
 
#define MEMORY_VERY_LOW_LEVEL   ((T_word32)1800000)
 
#define MEMORY_VERY_LOW_PLAYER_FRAMES   7
 

Functions

T_void ConfigClose (T_void)
 
E_Boolean ConfigGetBobOffFlag (T_void)
 
T_byte8 ConfigGetCDROMDrive (T_void)
 
T_iniFile ConfigGetINIFile (T_void)
 
E_Boolean ConfigGetInvertMouseY (T_void)
 
E_musicType ConfigGetMusicType (T_void)
 
T_void ConfigLoad (T_void)
 
T_iniFile ConfigOpen (T_void)
 
void ConfigReadOptions (T_iniFile iniFile)
 
T_word32 FreeMemory (T_void)
 

Detailed Description

CONFIG.INI File.

Loading and saving of the configuration file CONFIG.INI is handled here. Some global configuration settings also are grouped here.

See Also
http://www.amuletsandarmor.com/AALicense.txt

Macro Definition Documentation

#define MEMORY_LOW_CREATURE_FRAMES   2
#define MEMORY_LOW_LEVEL   ((T_word32)2400000)
#define MEMORY_LOW_PLAYER_FRAMES   2
#define MEMORY_NOT_ENOUGH_LEVEL   ((T_word32)1200000)
#define MEMORY_SOMEWHAT_LOW_LEVEL   ((T_word32)7000000)
#define MEMORY_VERY_LOW_CREATURE_FRAMES   7
#define MEMORY_VERY_LOW_LEVEL   ((T_word32)1800000)
#define MEMORY_VERY_LOW_PLAYER_FRAMES   7

Function Documentation

T_void ConfigClose ( T_void  )

ConfigClose closes the config file and writes out any changes.

E_Boolean ConfigGetBobOffFlag ( T_void  )
T_byte8 ConfigGetCDROMDrive ( T_void  )
T_iniFile ConfigGetINIFile ( T_void  )
E_Boolean ConfigGetInvertMouseY ( T_void  )
E_musicType ConfigGetMusicType ( T_void  )
T_void ConfigLoad ( T_void  )

ConfigLoad reads in a variety of variables on how the game is to operate. In particular, the GAME.CFG file determines the amount of graphic detail is to be shown.

T_iniFile ConfigOpen ( T_void  )

ConfigOpen opens up the config file for reading and changes.

void ConfigReadOptions ( T_iniFile  iniFile)
T_word32 FreeMemory ( T_void  )