File WfWorld.c
FileList > game > src > WfWorld.c
Go to the source code of this file
#include "WfWorld.h"#include "WfGameLayer.h"#include "AssertLib.h"#include "GameFramework.h"#include <string.h>
Classes
| Type | Name |
|---|---|
| struct | WfWorld |
Public Static Attributes
| Type | Name |
|---|---|
| struct WfWorld | gWorld |
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) |
Public Static Attributes Documentation
variable gWorld
struct WfWorld gWorld;
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
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/src/WfWorld.c