#include "MercuryObject.h"
#include "MercuryModel.h"
#include "MercurySprite.h"
#include "MercuryCamera.h"
#include "MercuryDisplay.h"
Go to the source code of this file.
Classes | |
class | MercuryScreen |
[actor] Base Screen More... | |
Defines | |
#define | REGISTER_SCREEN_CLASS(className) |
Typedefs | |
typedef MercuryScreen *(*) | NewScreenFunction (const MString &sClassName) |
Functions | |
void | RegisterMercuryScreen (const MString &sClassName, NewScreenFunction pfn) |
Variables | |
std::map< MString, NewScreenFunction > * | ToMakeScreens |
#define REGISTER_SCREEN_CLASS | ( | className | ) |
Value:
static MercuryScreen* Create##className( const MString &sName ) \ { MercuryScreen *pRet = new className( sName ); pRet->Init(); return pRet; } \ struct Register##className { \ Register##className() { RegisterMercuryScreen( #className,Create##className); } \ }; \ static Register##className register_##className; \ REGISTER_OBJECT_TYPE( className );
Definition at line 63 of file MercuryScreen.h.
typedef MercuryScreen*(*) NewScreenFunction(const MString &sClassName) |
Definition at line 60 of file MercuryScreen.h.
void RegisterMercuryScreen | ( | const MString & | sClassName, | |
NewScreenFunction | pfn | |||
) |
Definition at line 15 of file MercuryScreen.cpp.
std::map< MString, NewScreenFunction >* ToMakeScreens |
Definition at line 13 of file MercuryScreen.cpp.