Files
firestorm/Gameleap/code/mw4/Libraries/Adept/AttributeWatcher.cpp
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

53 lines
1.8 KiB
C++

//===========================================================================//
// File: cmpnnt.cc //
// Project: MUNGA Brick: Entity //
// Contents: //
//---------------------------------------------------------------------------//
// Date Who Modification //
// -------- --- ---------------------------------------------------------- //
// 12/14/94 ECH Initial coding. //
//---------------------------------------------------------------------------//
// Copyright (C) 1994-1995, Virtual World Entertainment, Inc. //
// All Rights reserved worldwide //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
//===========================================================================//
#include "AdeptHeaders.hpp"
#include "AttributeWatcher.hpp"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
void
AttributeWatcherOf<int, IntClassID>::InitializeClass()
{
Verify(!DefaultData);
DefaultData =
new ClassData(
AttributeWatcherOfIntClassID,
"Adept::AttributeWatcherOfInt",
BaseClass::DefaultData,
0, NULL
);
Register_Object(DefaultData);
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
AttributeWatcherOf<int, IntClassID>*
AttributeWatcherOf<int, IntClassID>::Make(
MemoryStream *stream,
ComponentWeb *owning_web,
Entity *entity
)
{
AttributeWatcherOf<int, IntClassID>* watcher =
new AttributeWatcherOf<int, IntClassID>(
DefaultData,
stream,
owning_web,
entity
);
return watcher;
}