Mercury.cpp File Reference

#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.


 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[])


MercuryDisplayDISPLAY = NULL
MercuryTextureManagerTEXTMAN = NULL
MercuryScreenManagerSCREENMAN = NULL
 Instantiation of mercury.ini.
MercuryTimer gameTimer
volatile float DTIME

Function Documentation

void HGEXPORT CloseMercury (  ) 

Shut Mercury down.

Definition at line 143 of file Mercury.cpp.

int HGEXPORT InitializeMercury ( int  argc,
char **  argv 

Definition at line 56 of file Mercury.cpp.

KeyMappingWithCode ( button_Pause  ,

int main ( int  argc,
char *  argv[] 

Definition at line 160 of file Mercury.cpp.

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.

Variable Documentation

MercuryDisplay* DISPLAY = NULL

Definition at line 27 of file Mercury.cpp.

volatile float DTIME

Definition at line 34 of file Mercury.cpp.

MercuryTimer gameTimer

Definition at line 31 of file Mercury.cpp.


Instantiation of mercury.ini.

Definition at line 30 of file Mercury.cpp.

MercuryScreenManager* SCREENMAN = NULL

Definition at line 29 of file Mercury.cpp.

MercuryTextureManager* TEXTMAN = NULL

Definition at line 28 of file Mercury.cpp.

Hosted by Logo