#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) |
Definition in file main.cpp.
|
||||||||||||
|
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:

1.3.3