Pioneer
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations
Body.h File Reference
#include "BodyComponent.h"
#include "DeleteEmitter.h"
#include "FrameId.h"
#include "lua/PropertiedObject.h"
#include "matrix3x3.h"
#include "vector3.h"
#include <string>
Include dependency graph for Body.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Body
 

Namespaces

namespace  Graphics
 

Macros

#define OBJDEF(__thisClass, __parentClass, __TYPE)
 

Enumerations

enum class  ObjectType {
  BODY , MODELBODY , DYNAMICBODY , SHIP ,
  PLAYER , SPACESTATION , TERRAINBODY , PLANET ,
  STAR , CARGOBODY , PROJECTILE , MISSILE ,
  HYPERSPACECLOUD
}
 

Macro Definition Documentation

◆ OBJDEF

#define OBJDEF (   __thisClass,
  __parentClass,
  __TYPE 
)
Value:
static constexpr ObjectType StaticType() { return ObjectType::__TYPE; } \
static constexpr ObjectType SuperType() { return __parentClass::StaticType(); } \
virtual ObjectType GetType() const override { return ObjectType::__TYPE; } \
virtual bool IsType(ObjectType c) const override \
{ \
if (__thisClass::GetType() == (c)) \
return true; \
else \
return __parentClass::IsType(c); \
}
ObjectType
Definition Body.h:28

Enumeration Type Documentation

◆ ObjectType

enum class ObjectType
strong
Enumerator
BODY 
MODELBODY 
DYNAMICBODY 
SHIP 
PLAYER 
SPACESTATION 
TERRAINBODY 
PLANET 
STAR 
CARGOBODY 
PROJECTILE 
MISSILE 
HYPERSPACECLOUD