Files
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

61 lines
2.3 KiB
C++

//===========================================================================//
// File: EarComponent_Tool.cpp //
// Project: MUNGA Brick: Win95 Video Renderer //
// Contents: Windows95 Layer Video Renderer //
//---------------------------------------------------------------------------//
// Date Who Modification //
// -------- --- ---------------------------------------------------------- //
// 03/23/99 SMJ Initial coding. //
//---------------------------------------------------------------------------//
// Copyright (C) 1997, Virtual World Entertainment, Inc. //
// All Rights reserved worldwide //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
//===========================================================================//
#include "AdeptHeaders.hpp"
#include "EarComponent.hpp"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
EarComponent::ClassData*
EarComponent::CreateFactoryRequest(FactoryRequestParameters *parameters)
{
Check_Object(parameters);
//
//-------------------------------------------------------------------------
// Allocate enough room for what we need to write out, then call our parent
//-------------------------------------------------------------------------
//
MemoryStream *component_stream = parameters->m_stream;
Check_Object(component_stream);
component_stream->AllocateBytes(sizeof(EarComponent));
bool result = Component::CreateFactoryRequest(parameters) != NULL;
//
//-----------------------
// Read the viewing state
//-----------------------
//
#if 0
const char* component_name = parameters->componentName;
Check_Pointer(component_name);
NotationFile *component_file = parameters->componentFile;
Check_Object(component_file);
#endif
//
//-------------------------
// Read the clipping planes
//-------------------------
//
/*
Scalar range=100.0f;
component_file->GetEntry(component_name, "Range", &range);
*component_stream << range;
*/
Check_Object(DefaultData);
return (result) ? DefaultData : NULL;
}