mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
15adf1f6e5
Note about the license: This file was available from GZDoom 2.4.x under the Doom source license which is compatible with Build. This isn't used yet.
34 lines
679 B
C
34 lines
679 B
C
#pragma once
|
|
|
|
#include "zstring.h"
|
|
#include "intrect.h"
|
|
|
|
struct SystemCallbacks
|
|
{
|
|
bool (*WantGuiCapture)();
|
|
bool (*WantLeftButton)();
|
|
bool (*NetGame)();
|
|
bool (*WantNativeMouse)();
|
|
bool (*CaptureModeInGame)();
|
|
void (*CrashInfo)(char* buffer, size_t bufflen, const char* lfstr);
|
|
void (*PlayStartupSound)(const char* name);
|
|
bool (*IsSpecialUI)();
|
|
bool (*DisableTextureFilter)();
|
|
void (*OnScreenSizeChanged)();
|
|
IntRect(*GetSceneRect)();
|
|
FString(*GetLocationDescription)();
|
|
void (*MenuDim)();
|
|
FString(*GetPlayerName)(int i);
|
|
};
|
|
|
|
extern SystemCallbacks *sysCallbacks;
|
|
|
|
struct WadStuff
|
|
{
|
|
FString Path;
|
|
FString Name;
|
|
};
|
|
|
|
|
|
extern FString endoomName;
|
|
extern bool batchrun;
|