#include <ode/ode.h>
#include "MercuryINI.h"
#include "MercuryObject.h"
#include "MercuryObjectFactory.h"
Go to the source code of this file.
Classes | |
class | MercuryODEObject |
Base object that can be stuck in an ODE world. More... | |
class | MercuryODEObjectLoadable |
Loadable ODE Object, this is loaded from a world INI file. More... | |
struct | MercuryODEObjectLoadable::InternalTrimesh |
Internal trimesh information. More... | |
class | MercuryODEWorld |
A complete ODE world with objects that can interact with one another. More... | |
Defines | |
#define | REGISTER_ODE_OBJECT_CLASS(className) |
Typedefs | |
typedef MercuryODEObjectLoadable *(*) | NewODEObjectFunction (const MString &sClassName) |
Functions | |
void | RegisterODEType (const MString &sClassName, NewODEObjectFunction pfn) |
Variables | |
std::map< MString, NewODEObjectFunction > * | ToMakeODEs |
#define REGISTER_ODE_OBJECT_CLASS | ( | className | ) |
Value:
static MercuryODEObjectLoadable* CreateODE##className( const MString &sName ) \ { MercuryODEObjectLoadable *pRet = new className( sName ); return pRet; } \ struct RegisterODE##className { \ RegisterODE##className() { RegisterODEType( #className,CreateODE##className); } \ }; \ static RegisterODE##className register_ODE##className; \ REGISTER_OBJECT_TYPE( className );
Definition at line 193 of file MercuryODE.h.
typedef MercuryODEObjectLoadable*(*) NewODEObjectFunction(const MString &sClassName) |
Definition at line 188 of file MercuryODE.h.
void RegisterODEType | ( | const MString & | sClassName, | |
NewODEObjectFunction | pfn | |||
) |
Definition at line 623 of file MercuryODE.cpp.
std::map< MString, NewODEObjectFunction >* ToMakeODEs |
Definition at line 621 of file MercuryODE.cpp.