Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
44 lines
918 B
C++
44 lines
918 B
C++
#pragma once
|
|
|
|
#include "MW4.hpp"
|
|
|
|
namespace ElementRenderer
|
|
{
|
|
class ScreenQuadsElement;
|
|
}
|
|
|
|
namespace MechWarrior4
|
|
{
|
|
class GUIStaticView:
|
|
public Stuff::Plug
|
|
{
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// Construction, Destruction
|
|
//
|
|
public:
|
|
GUIStaticView();
|
|
~GUIStaticView();
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// Public Data
|
|
//
|
|
public:
|
|
void Initialize();
|
|
void ChangeResolution();
|
|
static void AdoptCamera(ElementRenderer::CameraElement *camera);
|
|
static void RemoveCamera();
|
|
void Animate();
|
|
void Hide();
|
|
void Show();
|
|
bool IsOn()
|
|
{Check_Object(this); return isShown;}
|
|
|
|
private:
|
|
Stuff::SlotOf<ElementRenderer::ScreenQuadsElement *> m_screenTiles;
|
|
static ElementRenderer::CameraElement *s_Camera;
|
|
static bool s_MarkForAttach;
|
|
int m_numTiles;
|
|
bool isShown;
|
|
};
|
|
} |