Stardew Engine
Loading...
Searching...
No Matches
Components.h File Reference
#include "DynArray.h"
#include "DrawContext.h"
Include dependency graph for Components.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct InputContext InputContext
 

Functions

void Co_InitComponents (struct Entity2D *entity, struct GameFrameworkLayer *pLayer)
 
void Co_UpdateComponents (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, float deltaT)
 
void Co_Entity2DUpdatePostPhysicsFn (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, float deltaT)
 
void Co_InputComponents (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, InputContext *context)
 
void Co_DestroyComponents (struct Entity2D *entity)
 
void Co_DrawComponents (struct Entity2D *entity, struct GameFrameworkLayer *pLayer, struct Transform2D *pCam, VECTOR(Worldspace2DVert) *outVerts, VECTOR(VertIndexT) *outIndices, VertIndexT *pNextIndex)
 

Typedef Documentation

◆ InputContext

typedef struct InputContext InputContext

Function Documentation

◆ Co_DestroyComponents()

void Co_DestroyComponents ( struct Entity2D entity)

◆ Co_DrawComponents()

void Co_DrawComponents ( struct Entity2D entity,
struct GameFrameworkLayer pLayer,
struct Transform2D pCam,
VECTOR(Worldspace2DVert) *  outVerts,
VECTOR(VertIndexT) *  outIndices,
VertIndexT pNextIndex 
)

◆ Co_Entity2DUpdatePostPhysicsFn()

void Co_Entity2DUpdatePostPhysicsFn ( struct Entity2D pEnt,
struct GameFrameworkLayer pLayer,
float  deltaT 
)

◆ Co_InitComponents()

void Co_InitComponents ( struct Entity2D entity,
struct GameFrameworkLayer pLayer 
)

◆ Co_InputComponents()

void Co_InputComponents ( struct Entity2D pEnt,
struct GameFrameworkLayer pLayer,
InputContext context 
)

◆ Co_UpdateComponents()

void Co_UpdateComponents ( struct Entity2D pEnt,
struct GameFrameworkLayer pLayer,
float  deltaT 
)