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

Password:

OBATTLE.H Source File
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

OBATTLE.H

Go to the documentation of this file.
00001 //Filename    : OBATTLE.H
00002 //Description : Header file for Battle object
00003 //Owner       : Fred
00004 
00005 #ifndef __OBATTLE_H
00006 #define __OBATTLE_H
00007 
00008 //---------- Define class Battle --------//
00009 
00011 class Battle {
00012 public:
00013     void  init();
00014     void  deinit();
00015 
00016     void  run(int scenId=0);                      // 0: not a scenario
00017     void  run_loaded();
00018 
00019     void  create_static_game_object();            // also called by load game; just before reading gfile
00020 
00021 private:
00022     void  create_pregame_object();
00023     void  create_pregame_object_scenario1();      //0127
00024 
00025     void  generate_road();
00026     void  generate_firm();
00027     void  generate_plant();
00028     void  generate_sprite();
00029 
00030     void  init_performance_indicator();
00031 
00032     void  create_firm(int firmId);
00033 };
00034 
00035 extern Battle battle;
00036 
00037 //---------------------------------------//
00038 #endif

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