Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

main.cpp File Reference

#include "globals.h"
#include "testing.h"
#include "sdl_driver.h"
#include "cgame.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Detailed Description

Contains the main() function for the application.

Definition in file main.cpp.


Function Documentation

int main int  argc,
char **  argv
 

The main() function initializes the CGame singleton, adds some CComponent objects to it, runs the main game loop, and then cleans up after the user has quit.

Definition at line 25 of file main.cpp.

References Testing::add_components(), CGame::deinit(), CSystemFactorySet::eventFactory, CGame::get_instance(), CGame::init(), SDLDriver::make_event_system_factory(), SDLDriver::make_timer_system_factory(), SDLDriver::make_video_system_factory(), CGame::run(), CSystemFactorySet::timerFactory, and CSystemFactorySet::videoFactory.

Here is the call graph for this function:


Generated on Wed Aug 27 11:58:43 2003 for GFW by doxygen 1.3.3