MercuryObject.cpp File Reference

#include "global.h"
#include "MercuryObject.h"
#include "MercuryDisplay.h"
#include "MercuryLog.h"
#include "MercuryObjectFactory.h"

Go to the source code of this file.

Functions

 CLASS_FUNCTION_VOID_NOARGS (MercuryObject, Destroy)
 CLASS_FUNCTION_VOID_ONEARG (MercuryObject, SetName, TYPECASTMSTRING, const char *)
 CLASS_FUNCTION_VOID_TWOARGS (MercuryObject, AddObject,(MercuryObject *)(void *), void *,(bool), bool)
 CLASS_FUNCTION_TWOARGS (MercuryObject, RemoveObject, bool,(MercuryObject *)(void *), void *,(bool), bool)
 CLASS_FUNCTION_VOID_ONEARG (MercuryObject, SetMaterial,(MercuryMaterial *)(void *), MercuryMaterial *)
 CLASS_FUNCTION_VOID_FOURARGS (MercuryObject, SetDiffusef,(float), float,(float), float,(float), float,(float), float)
 CLASS_FUNCTION_VOID_FOURARGS (MercuryObject, SetSpecularf,(float), float,(float), float,(float), float,(float), float)
 CLASS_FUNCTION_VOID_FOURARGS (MercuryObject, SetEmissivef,(float), float,(float), float,(float), float,(float), float)
 CLASS_FUNCTION_VOID_FOURARGS (MercuryObject, SetAmbientf,(float), float,(float), float,(float), float,(float), float)
 CLASS_FUNCTION_NOARGS (MercuryObject, GetName, const char *)
 CLASS_FUNCTION_NOARGS (MercuryObject, GetMaterial, const MercuryMaterial *)
 CLASS_FUNCTION_THREEARGS (MercuryObject, Spawn, MercuryObject *, TYPECASTMSTRING, const char *, TYPECASTMSTRING, const char *,(PROJECTIONTYPE)(int), int)
 CLASS_FUNCTION_NOARGS (MercuryObject, GetNumChildren, int)
 CLASS_FUNCTION_NOARGS (MercuryObject, GetHAlignment, int)
 CLASS_FUNCTION_VOID_ONEARG (MercuryObject, SetHAlignment,(MercuryObject::HALIGN)(int), int)
 CLASS_FUNCTION_NOARGS (MercuryObject, GetVAlignment, int)
 CLASS_FUNCTION_VOID_ONEARG (MercuryObject, SetVAlignment,(MercuryObject::VALIGN)(int), int)
PSElement PS_MercuryObject_FinishTweening (MercuryCommandHandler *pThs, const PStack &pParameters)
 RUN_STATEMENT_AT_BOOT (REGISTER_MercuryObject_FinishTweening, MercuryObjectFactory::GetInstance().RegisterFunction(&PS_MercuryObject_FinishTweening,"MercuryObject","FinishTweening");) EXPORTPREFIX void HGEXPORT MercuryObject_FinishTweening(void *pThs)
EXPORTSUFFIX PSElement PS_MercuryObject_StopTweening (MercuryCommandHandler *pThs, const PStack &pParameters)
 RUN_STATEMENT_AT_BOOT (REGISTER_MercuryObject_StopTweening, MercuryObjectFactory::GetInstance().RegisterFunction(&PS_MercuryObject_StopTweening,"MercuryObject","StopTweening");) EXPORTPREFIX void HGEXPORT MercuryObject_StopTweening(void *pThs)
EXPORTSUFFIX PSElement PS_MercuryObject_AddCommand (MercuryCommandHandler *pThs, const PStack &pParameters)
 RUN_STATEMENT_AT_BOOT (REGISTER_MercuryObject_AddCommand, MercuryObjectFactory::GetInstance().RegisterFunction(&PS_MercuryObject_AddCommand,"MercuryObject","AddCommand");) EXPORTPREFIX void HGEXPORT MercuryObject_AddCommand(void *pThs

Variables

MercuryObjectRegister OBJECTREGISTER
const char * p1
const char int p2


Function Documentation

CLASS_FUNCTION_NOARGS ( MercuryObject  ,
GetVAlignment  ,
int   
)

CLASS_FUNCTION_NOARGS ( MercuryObject  ,
GetHAlignment  ,
int   
)

CLASS_FUNCTION_NOARGS ( MercuryObject  ,
GetNumChildren  ,
int   
)

CLASS_FUNCTION_NOARGS ( MercuryObject  ,
GetMaterial  ,
const MercuryMaterial  
)

CLASS_FUNCTION_NOARGS ( MercuryObject  ,
GetName  ,
const char *   
)

CLASS_FUNCTION_THREEARGS ( MercuryObject  ,
Spawn  ,
MercuryObject ,
TYPECASTMSTRING  ,
const char *  ,
TYPECASTMSTRING  ,
const char *  ,
(PROJECTIONTYPE)(int)  ,
int   
)

CLASS_FUNCTION_TWOARGS ( MercuryObject  ,
RemoveObject  ,
bool  ,
(MercuryObject *)(void *)  ,
void *  ,
(bool)  ,
bool   
)

CLASS_FUNCTION_VOID_FOURARGS ( MercuryObject  ,
SetAmbientf  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float   
)

CLASS_FUNCTION_VOID_FOURARGS ( MercuryObject  ,
SetEmissivef  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float   
)

CLASS_FUNCTION_VOID_FOURARGS ( MercuryObject  ,
SetSpecularf  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float   
)

CLASS_FUNCTION_VOID_FOURARGS ( MercuryObject  ,
SetDiffusef  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float  ,
(float)  ,
float   
)

CLASS_FUNCTION_VOID_NOARGS ( MercuryObject  ,
Destroy   
)

CLASS_FUNCTION_VOID_ONEARG ( MercuryObject  ,
SetVAlignment  ,
(MercuryObject::VALIGN)(int)  ,
int   
)

CLASS_FUNCTION_VOID_ONEARG ( MercuryObject  ,
SetHAlignment  ,
(MercuryObject::HALIGN)(int)  ,
int   
)

CLASS_FUNCTION_VOID_ONEARG ( MercuryObject  ,
SetMaterial  ,
(MercuryMaterial *)(void *)  ,
MercuryMaterial  
)

CLASS_FUNCTION_VOID_ONEARG ( MercuryObject  ,
SetName  ,
TYPECASTMSTRING  ,
const char *   
)

CLASS_FUNCTION_VOID_TWOARGS ( MercuryObject  ,
AddObject  ,
(MercuryObject *)(void *)  ,
void *  ,
(bool)  ,
bool   
)

EXPORTSUFFIX PSElement PS_MercuryObject_AddCommand ( MercuryCommandHandler pThs,
const PStack pParameters 
)

Definition at line 267 of file MercuryObject.cpp.

PSElement PS_MercuryObject_FinishTweening ( MercuryCommandHandler pThs,
const PStack pParameters 
)

Definition at line 243 of file MercuryObject.cpp.

EXPORTSUFFIX PSElement PS_MercuryObject_StopTweening ( MercuryCommandHandler pThs,
const PStack pParameters 
)

Definition at line 255 of file MercuryObject.cpp.

RUN_STATEMENT_AT_BOOT ( REGISTER_MercuryObject_AddCommand  ,
MercuryObjectFactory::GetInstance().RegisterFunction &,"",""AddCommand;   
)

RUN_STATEMENT_AT_BOOT ( REGISTER_MercuryObject_StopTweening  ,
MercuryObjectFactory::GetInstance().RegisterFunction &,"",""StopTweening;   
)

Definition at line 260 of file MercuryObject.cpp.

RUN_STATEMENT_AT_BOOT ( REGISTER_MercuryObject_FinishTweening  ,
MercuryObjectFactory::GetInstance().RegisterFunction &,"",""FinishTweening;   
)

Definition at line 248 of file MercuryObject.cpp.


Variable Documentation

MercuryObjectRegister OBJECTREGISTER

Definition at line 6 of file MercuryObject.cpp.

const char* p1

Definition at line 273 of file MercuryObject.cpp.

const char int p2

Definition at line 273 of file MercuryObject.cpp.


Hosted by SourceForge.net Logo