File WfGameLayer.c

FileList > game > src > WfGameLayer.c

Go to the source code of this file

  • #include "GameFramework.h"
  • #include <string.h>
  • #include "Game2DLayer.h"
  • #include "XMLUIGameLayer.h"
  • #include "DynArray.h"
  • #include "Entities.h"
  • #include "EntityQuadTree.h"
  • #include "WfEntities.h"
  • #include "Physics2D.h"
  • #include "WfInit.h"
  • #include "Random.h"
  • #include "WfGameLayerData.h"
  • #include "WfGameLayer.h"
  • #include "Scripting.h"
  • #include "GameFrameworkEvent.h"
  • #include "WfPersistantGameData.h"
  • #include "Network.h"
  • #include "WfNetwork.h"
  • #include "main.h"
  • #include "cwalk.h"
  • #include "WfItem.h"

Public Functions

Type Name
void WfGameLayerOnPop (struct GameFrameworkLayer * pLayer, DrawContext * drawContext, InputContext * inputContext)
void WfGameLayerOnPush (struct GameFrameworkLayer * pLayer, DrawContext * drawContext, InputContext * inputContext)
void WfPreLoadLevel (struct GameLayer2DData * pEngineLayer)
void WfPublishInventoryChangedEvent ()
void WfPublishSelectedItemChangedEvent ()
void WfPushGameLayer (DrawContext * pDC, const char * lvlFilePath)

Public Static Functions

Type Name
void WfOnHUDLayerPushed (void * pUserData, void * pEventData)
void WfOnSettingsLayerPushed (void * pUserData, void * pEventData)
void WfPublishInitSettingsEvent (struct GameFrameworkLayer * pLayer)

Public Functions Documentation

function WfGameLayerOnPop

void WfGameLayerOnPop (
    struct GameFrameworkLayer * pLayer,
    DrawContext * drawContext,
    InputContext * inputContext
) 

function WfGameLayerOnPush

void WfGameLayerOnPush (
    struct GameFrameworkLayer * pLayer,
    DrawContext * drawContext,
    InputContext * inputContext
) 

function WfPreLoadLevel

void WfPreLoadLevel (
    struct GameLayer2DData * pEngineLayer
) 

function WfPublishInventoryChangedEvent

void WfPublishInventoryChangedEvent () 

function WfPublishSelectedItemChangedEvent

void WfPublishSelectedItemChangedEvent () 

function WfPushGameLayer

void WfPushGameLayer (
    DrawContext * pDC,
    const char * lvlFilePath
) 

Public Static Functions Documentation

function WfOnHUDLayerPushed

static void WfOnHUDLayerPushed (
    void * pUserData,
    void * pEventData
) 

function WfOnSettingsLayerPushed

static void WfOnSettingsLayerPushed (
    void * pUserData,
    void * pEventData
) 

function WfPublishInitSettingsEvent

static void WfPublishInitSettingsEvent (
    struct GameFrameworkLayer * pLayer
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/src/WfGameLayer.c