#include "global.h"
#include "Mercury.h"
#include "MercuryDisplay.h"
#include "MercuryTextureManager.h"
#include "Crash/archCrash.h"
#include "MercuryTimer.h"
#include "MercuryInput.h"
#include "MercuryMessages.h"
#include "MercuryScreenManager.h"
#include "MercuryTheme.h"
#include "MercuryLog.h"
#include "MercuryObjectFactory.h"
#include "MercurySoundDriver.h"
Go to the source code of this file.
Functions | |
KeyMappingWithCode (button_Pause,"0-19") | |
REGISTER_STATEMENT_TO_MESSAGE (Pause, mappedinput, InputMessageStruct c(args);if(c.code==button_Pause &&c.type==IET_DOWN) gameTimer.Pause();) int HGEXPORT StartMercury() | |
int HGEXPORT | InitializeMercury (int argc, char **argv) |
int HGEXPORT | UpdateMercury (float &dTime) |
Run an engine-wide update. If dTime <= 0 input, it will actually retun the update time. | |
void HGEXPORT | CloseMercury () |
Shut Mercury down. | |
int | main (int argc, char *argv[]) |
Variables | |
MercuryDisplay * | DISPLAY = NULL |
MercuryTextureManager * | TEXTMAN = NULL |
MercuryScreenManager * | SCREENMAN = NULL |
MercuryINI * | PREFSMAN = NULL |
Instantiation of mercury.ini. | |
MercuryTimer | gameTimer |
volatile float | DTIME |
void HGEXPORT CloseMercury | ( | ) |
int HGEXPORT InitializeMercury | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 56 of file Mercury.cpp.
KeyMappingWithCode | ( | button_Pause | , | |
"0-19" | ||||
) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 160 of file Mercury.cpp.
REGISTER_STATEMENT_TO_MESSAGE | ( | Pause | , | |
mappedinput | , | |||
InputMessageStruct c(args);if(c.code==button_Pause &&c.type==IET_DOWN) gameTimer.Pause(); | ||||
) |
Definition at line 40 of file Mercury.cpp.
int HGEXPORT UpdateMercury | ( | float & | dTime | ) |
Run an engine-wide update. If dTime <= 0 input, it will actually retun the update time.
Definition at line 117 of file Mercury.cpp.
MercuryDisplay* DISPLAY = NULL |
Definition at line 27 of file Mercury.cpp.
volatile float DTIME |
Definition at line 34 of file Mercury.cpp.
Definition at line 31 of file Mercury.cpp.
MercuryINI* PREFSMAN = NULL |
MercuryScreenManager* SCREENMAN = NULL |
Definition at line 29 of file Mercury.cpp.
MercuryTextureManager* TEXTMAN = NULL |
Definition at line 28 of file Mercury.cpp.