File StaticColliderEntity.c
FileList > engine > src > gameframework > layers > Game2D > EntitySystem > Entities > StaticColliderEntity.c
Go to the source code of this file
#include "StaticColliderEntity.h"#include "BinarySerializer.h"#include "Physics2D.h"#include "AssertLib.h"#include "GameFramework.h"#include "DrawContext.h"#include "InputContext.h"#include "Log.h"
Public Static Attributes
| Type | Name |
|---|---|
| struct EntitySerializerPair | gPairCircle = /* multi line expression */ |
| struct EntitySerializerPair | gPairRect = /* multi line expression */ |
| struct EntitySerializerPair | pPairEllipse = /* multi line expression */ |
| struct EntitySerializerPair | pPairPoly = /* multi line expression */ |
Public Functions
Public Static Functions
| Type | Name |
|---|---|
| void | DeSerializeEllipseEntity (struct BinarySerializer * bs, struct Entity2D * pOutEnt, struct GameLayer2DData * pData) |
| void | DeSerializePolyEntity (struct BinarySerializer * bs, struct Entity2D * pOutEnt, struct GameLayer2DData * pData) |
| void | SerializeEllipseEntity (struct BinarySerializer * bs, struct Entity2D * pInEnt, struct GameLayer2DData * pData) |
| void | SerializePolyEntity (struct BinarySerializer * bs, struct Entity2D * pInEnt, struct GameLayer2DData * pData) |
Public Static Attributes Documentation
variable gPairCircle
struct EntitySerializerPair gPairCircle;
variable gPairRect
struct EntitySerializerPair gPairRect;
variable pPairEllipse
struct EntitySerializerPair pPairEllipse;
variable pPairPoly
struct EntitySerializerPair pPairPoly;
Public Functions Documentation
function DeSerialize2DCircleStaticColliderEntity
void DeSerialize2DCircleStaticColliderEntity (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function DeSerialize2DCircleStaticColliderEntityV1
void DeSerialize2DCircleStaticColliderEntityV1 (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function DeSerialize2DRectStaticColliderEntity
void DeSerialize2DRectStaticColliderEntity (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function DeSerialize2DRectStaticColliderEntityV1
void DeSerialize2DRectStaticColliderEntityV1 (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function Et2D_Get2DCircleStaticColliderSerializerPair
struct EntitySerializerPair Et2D_Get2DCircleStaticColliderSerializerPair ()
function Et2D_Get2DEllipseStaticColliderSerializerPair
struct EntitySerializerPair Et2D_Get2DEllipseStaticColliderSerializerPair ()
function Et2D_Get2DPolygonStaticColliderSerializerPair
struct EntitySerializerPair Et2D_Get2DPolygonStaticColliderSerializerPair ()
function Et2D_Get2DRectStaticColliderSerializerPair
struct EntitySerializerPair Et2D_Get2DRectStaticColliderSerializerPair ()
function Serialize2DCircleStaticColliderEntity
void Serialize2DCircleStaticColliderEntity (
struct BinarySerializer * bs,
struct Entity2D * pInEnt,
struct GameLayer2DData * pData
)
function Serialize2DRectStaticColliderEntity
void Serialize2DRectStaticColliderEntity (
struct BinarySerializer * bs,
struct Entity2D * pInEnt,
struct GameLayer2DData * pData
)
function SetStaticColliderCallbacks
void SetStaticColliderCallbacks (
struct Entity2D * pOutEnt
)
function StaticCollider2DGetBoundingBox
void StaticCollider2DGetBoundingBox (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
vec2 outTL,
vec2 outBR
)
function StaticColliderDrawFn
void StaticColliderDrawFn (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
struct Transform2D * pCam,
VECTOR( Worldspace2DVert ) * outVerts,
VECTOR(VertIndexT) * outIndices,
VertIndexT * pNextIndex
)
function StaticColliderInput
void StaticColliderInput (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
InputContext * context
)
function StaticColliderOnDestroy
void StaticColliderOnDestroy (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer
)
function StaticColliderOnInitFn
void StaticColliderOnInitFn (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
DrawContext * pDrawCtx,
InputContext * pInputCtx
)
function StaticColliderUpdate
void StaticColliderUpdate (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
float deltaT
)
function StaticColliderUpdatePostPhysics
void StaticColliderUpdatePostPhysics (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
float deltaT
)
Public Static Functions Documentation
function DeSerializeEllipseEntity
static void DeSerializeEllipseEntity (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function DeSerializePolyEntity
static void DeSerializePolyEntity (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function SerializeEllipseEntity
static void SerializeEllipseEntity (
struct BinarySerializer * bs,
struct Entity2D * pInEnt,
struct GameLayer2DData * pData
)
function SerializePolyEntity
static void SerializePolyEntity (
struct BinarySerializer * bs,
struct Entity2D * pInEnt,
struct GameLayer2DData * pData
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/gameframework/layers/Game2D/EntitySystem/Entities/StaticColliderEntity.c