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>
81 lines
2.6 KiB
C++
81 lines
2.6 KiB
C++
//===========================================================================//
|
|
// File: collorgn.hh //
|
|
// Project: MUNGA Brick: Collision //
|
|
// Contents: //
|
|
//---------------------------------------------------------------------------//
|
|
// Date Who Modification //
|
|
// -------- --- ---------------------------------------------------------- //
|
|
// 06/01/95 ECH Initial coding //
|
|
//---------------------------------------------------------------------------//
|
|
// Copyright (C) 1994, Virtual World Entertainment, Inc. //
|
|
// All Rights reserved worldwide //
|
|
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
|
|
//===========================================================================//
|
|
|
|
#if !defined(COLLORGN_HPP)
|
|
# define COLLORGN_HPP
|
|
|
|
# if !defined(INTEREST_HPP)
|
|
# include <interest.hpp>
|
|
# endif
|
|
|
|
//##########################################################################
|
|
//###################### CollisionOrigin #############################
|
|
//##########################################################################
|
|
|
|
class CollisionOrigin:
|
|
public InterestOrigin
|
|
{
|
|
friend class CollisionOrigin__MovingEntityIterator;
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// Interest Manager support
|
|
//
|
|
public:
|
|
typedef CollisionOrigin__MovingEntityIterator
|
|
MovingEntityIterator;
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// Construction, Destruction, Testing
|
|
//
|
|
public:
|
|
CollisionOrigin(InterestZoneID interest_zone_ID);
|
|
~CollisionOrigin();
|
|
|
|
Logical
|
|
TestInstance() const;
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// Interest Manager support
|
|
//
|
|
protected:
|
|
void
|
|
AddInterestingEntity(Entity *interesting_entity);
|
|
void
|
|
RemoveUninterestingEntity(Entity *uninteresting_entity);
|
|
void
|
|
RemoveUninterestingEntities();
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// Private data
|
|
//
|
|
private:
|
|
SChainOf<Entity*>
|
|
movingEntitySocket;
|
|
};
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~ CollisionOrigin__MovingEntityIterator ~~~~~~~~~~~~~~~
|
|
|
|
class CollisionOrigin__MovingEntityIterator:
|
|
public SChainIteratorOf<Entity*>
|
|
{
|
|
public:
|
|
CollisionOrigin__MovingEntityIterator(
|
|
CollisionOrigin *collision_origin
|
|
);
|
|
~CollisionOrigin__MovingEntityIterator();
|
|
};
|
|
|
|
#endif
|
|
|