File WfWorld.h
File List > game > include > WfWorld.h
Go to the documentation of this file
#ifndef WFWORLD_H
#define WFWORLD_H
#include "WfEnums.h"
#include "StringKeyHashMap.h"
#include <stdbool.h>
#define MAX_LOCATION_NAME_LEN 128
struct WfLocation
{
char levelFilePath[256];
bool bIsInterior;
};
struct DrawContext;
typedef struct DrawContext DrawContext;
char* WfWorld_GetCurrentLocationFilePath();
void WfWorld_AddLocation(const struct WfLocation* pLocation, const char* locationName);
void WfWorld_LoadLocation(const char* locationName, DrawContext* pDC);
const char* WfWorld_GetCurrentLocationName();
const char* WfWorld_GetPreviousLocationName();
void WfWorld_SetCurrentLocationName(const char* name);
void WfWorldInit();
void WfWorld_ClearLocations();
#endif