mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-12 08:11:10 +02:00
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
/*
|
|
===========================================================================
|
|
|
|
IceTech GPL Source Code
|
|
Copyright (C) 2026 Justin Marshall
|
|
|
|
This file is part of the IceTech GPL Source Code.
|
|
|
|
===========================================================================
|
|
*/
|
|
|
|
#ifndef __MINIGAMEWINDOW_H__
|
|
#define __MINIGAMEWINDOW_H__
|
|
|
|
#include "../minigame/MinigameHost.h"
|
|
|
|
class idMinigameWindow : public idWindow {
|
|
public:
|
|
idMinigameWindow( idUserInterfaceLocal *gui );
|
|
idMinigameWindow( idDeviceContext *d, idUserInterfaceLocal *gui );
|
|
virtual ~idMinigameWindow();
|
|
|
|
virtual void PostParse();
|
|
virtual void DrawBackground( const idRectangle &drawRect );
|
|
virtual const char *HandleEvent( const sysEvent_t *event, bool *updateVisuals );
|
|
virtual const char *RouteMouseCoords( float xd, float yd );
|
|
|
|
private:
|
|
void CommonInit();
|
|
virtual bool ParseInternalVar( const char *name, idParser *src );
|
|
void EnsureStarted();
|
|
|
|
idWinStr minigameName;
|
|
idWinStr imageName;
|
|
idWinStr commandLine;
|
|
idWinBool autoStart;
|
|
idMinigameInstance instance;
|
|
};
|
|
|
|
#endif // __MINIGAMEWINDOW_H__
|