Calamity Engine 1.0.0
A cross-platform 2D game engine written in C++ and SDL3.
Loading...
Searching...
No Matches
definitions.hpp File Reference
#include <cereal/types/polymorphic.hpp>
#include "../../core/definitions.hpp"
#include "../../utils/logger.hpp"
#include "../../core/node/components.hpp"

Go to the source code of this file.

Classes

class  Material
 
class  Shape
 
class  BoxShape
 
class  SegmentShape
 
class  CircleShape
 
class  CapsuleShape
 
class  PolygonShape
 
class  ShapeSprite
 
struct  RaycastResult
 
class  Raycast
 

Functions

 CEREAL_REGISTER_TYPE (BoxShape)
 
 CEREAL_REGISTER_POLYMORPHIC_RELATION (Shape, BoxShape)
 
 CEREAL_REGISTER_TYPE (CircleShape)
 
 CEREAL_REGISTER_POLYMORPHIC_RELATION (Shape, CircleShape)
 
 CEREAL_REGISTER_TYPE (CapsuleShape)
 
 CEREAL_REGISTER_POLYMORPHIC_RELATION (Shape, CapsuleShape)
 
 CEREAL_REGISTER_TYPE (PolygonShape)
 
 CEREAL_REGISTER_POLYMORPHIC_RELATION (Shape, PolygonShape)
 
 CEREAL_REGISTER_TYPE (SegmentShape)
 
 CEREAL_REGISTER_POLYMORPHIC_RELATION (Shape, SegmentShape)
 

Function Documentation

◆ CEREAL_REGISTER_POLYMORPHIC_RELATION() [1/5]

CEREAL_REGISTER_POLYMORPHIC_RELATION ( Shape  ,
BoxShape   
)

◆ CEREAL_REGISTER_POLYMORPHIC_RELATION() [2/5]

CEREAL_REGISTER_POLYMORPHIC_RELATION ( Shape  ,
CapsuleShape   
)

◆ CEREAL_REGISTER_POLYMORPHIC_RELATION() [3/5]

CEREAL_REGISTER_POLYMORPHIC_RELATION ( Shape  ,
CircleShape   
)

◆ CEREAL_REGISTER_POLYMORPHIC_RELATION() [4/5]

CEREAL_REGISTER_POLYMORPHIC_RELATION ( Shape  ,
PolygonShape   
)

◆ CEREAL_REGISTER_POLYMORPHIC_RELATION() [5/5]

CEREAL_REGISTER_POLYMORPHIC_RELATION ( Shape  ,
SegmentShape   
)

◆ CEREAL_REGISTER_TYPE() [1/5]

CEREAL_REGISTER_TYPE ( BoxShape  )

◆ CEREAL_REGISTER_TYPE() [2/5]

CEREAL_REGISTER_TYPE ( CapsuleShape  )

◆ CEREAL_REGISTER_TYPE() [3/5]

CEREAL_REGISTER_TYPE ( CircleShape  )

◆ CEREAL_REGISTER_TYPE() [4/5]

CEREAL_REGISTER_TYPE ( PolygonShape  )

◆ CEREAL_REGISTER_TYPE() [5/5]

CEREAL_REGISTER_TYPE ( SegmentShape  )