2020-04-12 06:21:50 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-04-23 19:18:40 +00:00
|
|
|
#include "zstring.h"
|
2020-05-26 21:12:04 +00:00
|
|
|
#include "intrect.h"
|
2020-04-12 06:21:50 +00:00
|
|
|
|
|
|
|
struct SystemCallbacks
|
|
|
|
{
|
|
|
|
bool (*WantGuiCapture)();
|
|
|
|
bool (*WantLeftButton)();
|
|
|
|
bool (*NetGame)();
|
|
|
|
bool (*WantNativeMouse)();
|
|
|
|
bool (*CaptureModeInGame)();
|
2020-04-23 19:18:40 +00:00
|
|
|
void (*CrashInfo)(char* buffer, size_t bufflen, const char* lfstr);
|
2020-04-23 20:58:02 +00:00
|
|
|
void (*PlayStartupSound)(const char* name);
|
2020-05-26 21:12:04 +00:00
|
|
|
bool (*IsSpecialUI)();
|
|
|
|
bool (*DisableTextureFilter)();
|
|
|
|
void (*OnScreenSizeChanged)();
|
|
|
|
IntRect(*GetSceneRect)();
|
|
|
|
FString(*GetLocationDescription)();
|
2020-06-14 16:57:55 +00:00
|
|
|
void (*MenuDim)();
|
2020-08-29 20:07:47 +00:00
|
|
|
FString(*GetPlayerName)(int i);
|
2020-04-12 06:21:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern SystemCallbacks *sysCallbacks;
|
2020-04-23 19:18:40 +00:00
|
|
|
|
|
|
|
struct WadStuff
|
|
|
|
{
|
|
|
|
FString Path;
|
|
|
|
FString Name;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern FString endoomName;
|
|
|
|
extern bool batchrun;
|