2020-04-12 06:21:50 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-04-23 19:18:40 +00:00
|
|
|
#include "zstring.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-04-23 19:18:40 +00:00
|
|
|
|
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;
|