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

Password:

Oconfig.cpp Source File
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Oconfig.cpp

Go to the documentation of this file.
00001 //Filename    : OCONFIG.CPP
00002 //Description : Config Object
00003 
00004 #include <OCONFIG.H>
00005 #include <OHELP.H>
00006 
00007 //----- Begin of function Config::init() ------//
00008 
00009 void Config::init() {
00010     default_game_setting();
00011     music_flag=1;
00012     context_sensitive_help=1;
00013     cd_music_volume=1;                              // a value from 0 to 100
00014     wav_music_volume=100;                           // a value from 0 to 100
00015     sound_effect_volume=100;                        // a value from 0 to 100
00016 }
00017 
00018 //------ End of function Config::init() -------//
00019 
00020 //----- Begin of function Config::deinit() ------//
00021 
00022 void Config::deinit() {
00023 
00024 }
00025 
00026 //------ End of function Config::deinit() -------//
00027 
00028 //---- Begin of function Config::default_game_setting ----//
00029 
00030 void Config::default_game_setting() {
00031     disp_year_end_report = 1;
00032 
00033 #if(GAME_VERSION>=200)
00034     auto_save = 0;
00035     log_enable = 0;                                 // 0=none, 1=trimester, 2=year
00036     log_file_name[0] = '\0';                        // not include extension, which is .<year>, inital is empty, ask name in first log file
00037     disp_building_label = 1;
00038 #endif
00039 }
00040 
00041 //----- End of function Config::default_game_setting -----//

Generated on Fri Aug 23 01:37:18 2002 for VirtualU by doxygen1.2.17