Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Config class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Config Class Reference

Game class for configuring game settings. More...

#include <Oconfig.h>

List of all members.

Public Methods

void init ()
void deinit ()
int write_file (File *filePtr)
int read_file (File *filePtr, int keepSavedSysSettings=1)
void default_game_setting ()

Public Attributes

char disp_year_end_report
char context_sensitive_help
short scroll_speed
short frame_speed
char music_flag
short cd_music_volume
short wav_music_volume
char sound_effect_flag
short sound_effect_volume


Detailed Description

Game class for configuring game settings.

Definition at line 20 of file Oconfig.h.


Member Function Documentation

void Config::default_game_setting  
 

Definition at line 30 of file Oconfig.cpp.

References disp_year_end_report.

Referenced by init(), and read_file().

void Config::deinit  
 

Definition at line 22 of file Oconfig.cpp.

void Config::init  
 

Definition at line 9 of file Oconfig.cpp.

References cd_music_volume, context_sensitive_help, default_game_setting(), music_flag, sound_effect_volume, and wav_music_volume.

Referenced by WinMain().

int Config::read_file File   filePtr,
int    keepSavedSysSettings = 1
 

Definition at line 266 of file OGFILE3.CPP.

References default_game_setting(), and File::file_read().

int Config::write_file File   filePtr
 

Definition at line 260 of file OGFILE3.CPP.

References File::file_write().


Member Data Documentation

short Config::cd_music_volume
 

Definition at line 55 of file Oconfig.h.

Referenced by init().

char Config::context_sensitive_help
 

Definition at line 38 of file Oconfig.h.

Referenced by init().

char Config::disp_year_end_report
 

Definition at line 37 of file Oconfig.h.

Referenced by default_game_setting().

short Config::frame_speed
 

Definition at line 50 of file Oconfig.h.

char Config::music_flag
 

Definition at line 54 of file Oconfig.h.

Referenced by init().

short Config::scroll_speed
 

Definition at line 49 of file Oconfig.h.

char Config::sound_effect_flag
 

Definition at line 58 of file Oconfig.h.

short Config::sound_effect_volume
 

Definition at line 59 of file Oconfig.h.

Referenced by init(), and WinMain().

short Config::wav_music_volume
 

Definition at line 56 of file Oconfig.h.

Referenced by init().


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:02 2002 for VirtualU by doxygen1.2.17