File WfBasicPickaxe.c

FileList > game > src > items > WfBasicPickaxe.c

Go to the source code of this file

  • #include "WfBasicPickaxe.h"
  • #include "WfItem.h"
  • #include "WfPlayer.h"
  • #include "Entities.h"
  • #include <stdlib.h>
  • #include "EngineUtils.h"
  • #include "Audio.h"

Public Static Attributes

Type Name
struct WfItemDef gDef = /* multi line expression */
struct ZZFXSound gSwingSound = {1.0,0.05,32.268,0.008,0.046,0.208,0,1.0,2.662,2.312,0.0,0.0,0.178,1.778,0.0,0.106,0.0,0.431,0.174,0.076,0.0}

Public Functions

Type Name
void WfAddBasicPickaxeDef ()

Public Static Functions

Type Name
void OnMakeCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
void OnStopBeingCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool OnUseItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool TryEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot)

Public Static Attributes Documentation

variable gDef

struct WfItemDef gDef;

variable gSwingSound

struct ZZFXSound gSwingSound;

Public Functions Documentation

function WfAddBasicPickaxeDef

void WfAddBasicPickaxeDef () 

Public Static Functions Documentation

function OnMakeCurrentItem

static void OnMakeCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function OnStopBeingCurrentItem

static void OnStopBeingCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function OnUseItem

static bool OnUseItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function TryEquip

static bool TryEquip (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer,
    enum WfEquipSlot slot
) 


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