Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

maingame.cpp File Reference

#include "borqueror.h"
#include "maincredits.h"
#include "halloffame.h"
#include "retire.h"
#include "parameters.h"
#include "continue.h"

Include dependency graph for maingame.cpp:

Include dependency graph

Go to the source code of this file.

Data Structures

class  InitEcoZone
class  InitGalaxyScreen
class  InitPlanetInfo
class  InitPlanetSize
class  InitSpecies
class  InitStarInfo
class  InitStarName

Functions

GalaxyGetGalaxy (void)
PlayGameGetGame (void)
Window * bqObjectCreate (const icstring &name)


Function Documentation

Window* bqObjectCreate const icstring name  ) 
 

Definition at line 23 of file maingame.cpp.

Referenced by MainGame::SetupWindow().

00024 {
00025         Ars::Window     *ans = 0;
00026 
00027         if( name == "GameItfc" )
00028                 ans = new GameItfc();
00029         else if( name == "GalaxyScreen" )
00030                 ans = new GalaxyScreen();
00031         else if( name == "StarSystem" )
00032                 ans = new StarSystemObject();
00033         else if( name == "SunImage" )
00034                 ans = new SunImageObject();
00035         else if( name == "PlanetImage" )
00036                 ans = new PlanetImageObject();
00037         return ans;
00038 }

Galaxy& GetGalaxy void   ) 
 

Definition at line 11 of file maingame.cpp.

References MainGame::galaxy.

Referenced by Parameters::CreateGalaxy(), MainGame::EnableWindow(), GalaxyScreen::evMouseLClick(), GalaxyScreen::evMouseMove(), Galaxy::Load(), GalaxyScreen::ResetGalaxyDisplay(), LoadGalaxyData::Run(), and GalaxyScreen::ShowTip().

00012 {
00013         return *MainGame::galaxy;
00014 }

PlayGame& GetGame void   ) 
 

Definition at line 17 of file maingame.cpp.

References MainGame::game.

00018 {       
00019         return *MainGame::game;
00020 }


Generated on Fri Dec 5 04:06:06 2003 for Borqueror by doxygen 1.3.3