|
| void | Et2D_DestroyCollection (struct Entity2DCollection *pCollection, struct GameFrameworkLayer *pLayer) |
| |
| void | Et2D_InitCollection (struct Entity2DCollection *pCollection) |
| |
| void | Entity2DOnInit (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, DrawContext *pDrawCtx, InputContext *pInputCtx) |
| | Default base implementations, override with own behavior and then call these at the end.
|
| |
| void | Entity2DUpdate (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, float deltaT) |
| |
| void | Entity2DUpdatePostPhysics (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, float deltaT) |
| |
| void | Entity2DDraw (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, struct Transform2D *pCam, VECTOR(Worldspace2DVert) *outVerts, VECTOR(VertIndexT) *outIndices, VertIndexT *pNextIndex) |
| |
| void | Entity2DInput (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, InputContext *context) |
| |
| void | Entity2DOnDestroy (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer) |
| |
| void | Entity2DGetBoundingBox (struct Entity2D *pEnt, struct GameFrameworkLayer *pLayer, vec2 outTL, vec2 outBR) |
| |
| void | Et2D_Init (RegisterGameEntitiesFn registerGameEntities) |
| |
| void | Et2D_DestroyEntity (struct GameFrameworkLayer *pLayer, struct Entity2DCollection *pCollection, HEntity2D hEnt) |
| |
| HEntity2D | Et2D_AddEntity (struct Entity2DCollection *pCollection, struct Entity2D *pEnt) |
| |
| void | Et2D_SerializeEntities (struct Entity2DCollection *pCollection, struct BinarySerializer *bs, struct GameLayer2DData *pData, int objectLayer) |
| |
| void | Et2D_RegisterEntityType (u32 typeID, struct EntitySerializerPair *pair) |
| | Games using the engine should call this to add types of entity to be serialized.
|
| |
| void | Et2D_DeserializeCommon (struct BinarySerializer *bs, struct Entity2D *pOutEnt) |
| |
| void | Et2D_SerializeCommon (struct BinarySerializer *bs, struct Entity2D *pInEnt) |
| |
| struct Entity2D * | Et2D_GetEntity (struct Entity2DCollection *pCollection, HEntity2D hEnt) |
| |
| void | Et2D_IterateEntities (struct Entity2DCollection *pCollection, Entity2DIterator itr, void *pUser) |
| |
| float | Entity2DGetSortVal (struct Entity2D *pEnt) |
| |
| void | Et2D_PopulateCommonHandlers (struct Entity2D *pEnt) |
| |
| bool | PrintCollectionItr (struct Entity2D *pEnt, int i, void *pUser) |
| |
| void | Et2D_PrintEntitiesInfo (struct Entity2DCollection *pCollection) |
| |