File WfWorld.h

FileList > game > include > WfWorld.h

Go to the source code of this file

  • #include "WfEnums.h"
  • #include "StringKeyHashMap.h"
  • #include <stdbool.h>

Classes

Type Name
struct WfLocation

Public Types

Type Name
typedef struct DrawContext DrawContext

Public Functions

Type Name
void WfWorldInit ()
void WfWorld_AddLocation (const struct WfLocation * pLocation, const char * locationName)
void WfWorld_ClearLocations ()
char * WfWorld_GetCurrentLocationFilePath ()
const char * WfWorld_GetCurrentLocationName ()
const char * WfWorld_GetPreviousLocationName ()
void WfWorld_LoadLocation (const char * locationName, DrawContext * pDC)
void WfWorld_SetCurrentLocationName (const char * name)

Macros

Type Name
define MAX_LOCATION_NAME_LEN 128

Public Types Documentation

typedef DrawContext

typedef struct DrawContext DrawContext;

Public Functions Documentation

function WfWorldInit

void WfWorldInit () 

function WfWorld_AddLocation

void WfWorld_AddLocation (
    const struct WfLocation * pLocation,
    const char * locationName
) 

function WfWorld_ClearLocations

void WfWorld_ClearLocations () 

function WfWorld_GetCurrentLocationFilePath

char * WfWorld_GetCurrentLocationFilePath () 

function WfWorld_GetCurrentLocationName

const char * WfWorld_GetCurrentLocationName () 

function WfWorld_GetPreviousLocationName

const char * WfWorld_GetPreviousLocationName () 

function WfWorld_LoadLocation

void WfWorld_LoadLocation (
    const char * locationName,
    DrawContext * pDC
) 

function WfWorld_SetCurrentLocationName

void WfWorld_SetCurrentLocationName (
    const char * name
) 

Macro Definition Documentation

define MAX_LOCATION_NAME_LEN

#define MAX_LOCATION_NAME_LEN `128`


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/include/WfWorld.h