Files
firestorm/Gameleap/code/mw4/Libraries/Adept/SwitchComponent.hpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
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.
2026-06-24 21:28:16 -05:00

99 lines
2.7 KiB
C++

//===========================================================================//
// File: D3DRMVideoRenderables.hpp //
// Project: MUNGA Brick: Win95 Video Renderer //
// Contents: Windows95 Layer Video Renderer //
//---------------------------------------------------------------------------//
// Date Who Modification //
// -------- --- ---------------------------------------------------------- //
// 03/13/97 JTR Initial coding. //
//---------------------------------------------------------------------------//
// Copyright (C) 1997, Virtual World Entertainment, Inc. //
// All Rights reserved worldwide //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
//===========================================================================//
#pragma once
#include "Adept.hpp"
#include "VideoRenderer.hpp"
namespace ElementRenderer
{
class SwitchElement;
}
namespace Adept {
//##########################################################################
//######################## SwitchComponent ##############################
//##########################################################################
class SwitchComponent:
public VideoComponent
{
public:
static void
InitializeClass();
static void
TerminateClass();
static ClassData
*DefaultData;
typedef VideoComponent BaseClass;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Constructor/Destructor
//
protected:
SwitchComponent(
ClassData *class_data,
MemoryStream *stream,
VideoComponentWeb *owning_web
);
ElementRenderer::SwitchElement*
AllocateSwitch();
public:
static SwitchComponent*
Make(
MemoryStream *stream,
VideoComponentWeb *owning_web
);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Component support
//
public:
void
ChannelChanged(Channel* channel);
ElementRenderer::SwitchElement*
GetElement()
{
Check_Object(this);
return
Cast_Pointer(
ElementRenderer::SwitchElement*,
componentElement
);
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Test support
//
public:
void
TestInstance();
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Tool-related Functions
//
public:
static ClassData*
CreateFactoryRequest(FactoryRequestParameters *parameters);
};
}