#include "audio.h"
#include "event_handler.h"
#include "game.h"
#include "gamedata.h"
#include "gametime.h"
#include "input.h"
#include "nls.h"
#include "python_class.h"
#include "screen.h"
#include "yarg.h"
#include "win_manager.h"
Go to the source code of this file.
Functions | |
void | init_adonthell (void) |
SWIG init prototype. | |
bool | init_python () |
int | main (int argc, char *argv[]) |
Game's main function. |
Definition in file main.cc.
void init_adonthell | ( | void | ) |
SWIG init prototype.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Game's main function.
It simply initialises the game and runs the "init.py" file in the game directory given as first argument. Once the execution is finished, it cleans everything up, and exits.
argc | Number of arguments to the program. | |
argv | Array of strings containing the program's arguments. |