File WfDebris.h

FileList > game > include > WfDebris.h

Go to the source code of this file

  • #include <cglm/cglm.h>
  • #include "HandleDefs.h"

Classes

Type Name
struct WfDebrisDef

Public Types

Type Name
enum WfDebrisType

Public Functions

Type Name
HEntity2D WfAddDebrisBasedAt (float x, float y, struct WfDebrisDef * def, struct GameLayer2DData * pGameLayerData)
void WfDeSerializeDebrisEntity (struct BinarySerializer * bs, struct Entity2D * pOutEnt, struct GameLayer2DData * pData)
void WfDebrisGetGroundContactPoint (struct Entity2D * pEnt, vec2 outPoint)
void WfMakeEntityIntoDebrisBasedAt (struct Entity2D * pEnt, int xTile, int yTile, struct WfDebrisDef * def, struct GameLayer2DData * pGameLayerData)
void WfSerializeDebrisEntity (struct BinarySerializer * bs, struct Entity2D * pInEnt, struct GameLayer2DData * pData)

Public Types Documentation

enum WfDebrisType

enum WfDebrisType {
    WfRockType1,
    WfRockType2,
    WfLogType1
};

Public Functions Documentation

function WfAddDebrisBasedAt

HEntity2D WfAddDebrisBasedAt (
    float x,
    float y,
    struct WfDebrisDef * def,
    struct GameLayer2DData * pGameLayerData
) 

function WfDeSerializeDebrisEntity

void WfDeSerializeDebrisEntity (
    struct BinarySerializer * bs,
    struct Entity2D * pOutEnt,
    struct GameLayer2DData * pData
) 

function WfDebrisGetGroundContactPoint

void WfDebrisGetGroundContactPoint (
    struct Entity2D * pEnt,
    vec2 outPoint
) 

function WfMakeEntityIntoDebrisBasedAt

void WfMakeEntityIntoDebrisBasedAt (
    struct Entity2D * pEnt,
    int xTile,
    int yTile,
    struct WfDebrisDef * def,
    struct GameLayer2DData * pGameLayerData
) 

function WfSerializeDebrisEntity

void WfSerializeDebrisEntity (
    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/game/include/WfDebris.h