Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
52 lines
1.4 KiB
C++
52 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "..\munga\registry.h"
|
|
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Registry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
//
|
|
//--------------------------------------------------------------------
|
|
// Registry
|
|
//
|
|
// Provides construction methods for entities.
|
|
// Provides access to a classes static data.
|
|
//--------------------------------------------------------------------
|
|
//
|
|
|
|
class RPRegistry : public Registry
|
|
{
|
|
public:
|
|
//
|
|
//--------------------------------------------------------------------
|
|
//--------------------------------------------------------------------
|
|
// Public interface
|
|
//--------------------------------------------------------------------
|
|
//--------------------------------------------------------------------
|
|
//
|
|
|
|
//
|
|
//--------------------------------------------------------------------
|
|
// Construction, Destruction, and testing
|
|
//--------------------------------------------------------------------
|
|
//
|
|
RPRegistry(ResourceFile *resources);
|
|
~RPRegistry();
|
|
|
|
//
|
|
//--------------------------------------------------------------
|
|
// GetStaticData
|
|
//
|
|
// Provides an interface by which the static data for a class
|
|
// may be accessed.
|
|
//--------------------------------------------------------------
|
|
//
|
|
Entity__SharedData* GetStaticData(ClassID entity_class);
|
|
|
|
//
|
|
//-------------------------
|
|
// Create the player object
|
|
//-------------------------
|
|
//
|
|
Player* MakePlayer(Mission *mission);
|
|
};
|