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
|
|
|
|
2020-09-28 20:36:43 +00:00
|
|
|
struct event_t;
|
|
|
|
|
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-09-28 20:36:43 +00:00
|
|
|
bool (*DispatchEvent)(event_t* ev);
|
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;
|
2020-09-27 08:03:53 +00:00
|
|
|
extern float menuBlurAmount;
|