Files
CydandClaude Fable 5 fdd9ac9d97 Initial import: Tesla Release 4.10 (Tesla:BattleTech & Tesla:Red Planet)
Archival snapshot of the Virtual World Entertainment Tesla cockpit
software, 1994-1996: MUNGA engine and L4 pod layer source (Borland
C++ 5.0), BT/RP game code, and game content (models, audio, maps,
gauges, Division renderer data). Includes third-party libraries:
Division dVS/DPL graphics, HMI SOS audio, WATTCP networking.

Files are preserved byte-for-byte (.gitattributes disables all
line-ending conversion). README.md documents the layout, target
hardware, and toolchain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 13:21:58 -05:00

77 lines
3.0 KiB
C++

//===========================================================================//
// File: node.hh //
// Project: MUNGA Brick: Connection Library //
// Contents: Interface specification for base node class //
//---------------------------------------------------------------------------//
// Date Who Modification //
// -------- --- ---------------------------------------------------------- //
// 09/29/94 ECH Initial coding. //
// 10/20/94 JMA Fixed style stuff. //
// 10/23/94 ECH Added greater deletion safety //
// 10/28/94 JMA Made compatible with SGI CC //
// 11/08/94 ECH Made compatible with BC4.0 //
// 11/30/94 JMA Adapted to new style conventions //
// 12/06/94 JMA Made virtual data publicly visible //
// 12/12/94 ECH Changed release handler //
// 02/16/95 ECH Removed plug commands, added node command //
// 02/16/95 ECH Removed plug commands, added node command //
//---------------------------------------------------------------------------//
// Copyright (C) 1994-1995, Virtual World Entertainment, Inc. //
// All Rights reserved worldwide //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
//===========================================================================//
#if !defined(NODE_HPP)
# define NODE_HPP
# if !defined(SOCKET_HPP)
# include <socket.hpp>
# endif
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Node ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class Node:
public Plug
{
public:
//
//--------------------------------------------------------------------
// Destructor
//--------------------------------------------------------------------
//
~Node();
//
//--------------------------------------------------------------------
// ReceiveNodeCommand - Is called from plugs when sending a command
// to connected sockets
//--------------------------------------------------------------------
//
virtual int
ReceiveNodeCommand(
NodeCommandID, // node_command
void * //info
)
{return 0;}
//
//--------------------------------------------------------------------
// ReleaseLinkHandler
//--------------------------------------------------------------------
//
virtual void
ReleaseLinkHandler(Socket*, Plug*);
protected:
//
//--------------------------------------------------------------------
// Constructor
//--------------------------------------------------------------------
//
Node(ClassID class_id = TrivialNodeClassID);
Node(PlugStream *stream);
};
#endif