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>
68 lines
1.6 KiB
C++
68 lines
1.6 KiB
C++
#pragma once
|
|
|
|
#include "..\munga_l4\l4video.h"
|
|
|
|
|
|
// RB 1/14/07
|
|
//#include <dpl\dpl.h>
|
|
//#include <dpl\dplutils.h>
|
|
|
|
//##########################################################################
|
|
//##########################################################################
|
|
|
|
class RPL4VideoRenderer:
|
|
public DPLRenderer
|
|
{
|
|
public:
|
|
RPL4VideoRenderer(
|
|
HWND hWnd,
|
|
unsigned int screenWidth,
|
|
unsigned int screenHeight,
|
|
bool fullscreen,
|
|
InterestType interest_type,
|
|
InterestDepth depth_calibration
|
|
);
|
|
~RPL4VideoRenderer();
|
|
char
|
|
SetupMaterialSubstitutionList(
|
|
Entity* entity,
|
|
ViewFrom view_type); // The entity we will be substituting for.
|
|
void
|
|
TearDownMaterialSubstitutionList();
|
|
|
|
protected:
|
|
int
|
|
vtvsExpected,
|
|
vtvCount;
|
|
|
|
void
|
|
LoadMissionImplementation(Mission *mission);
|
|
|
|
void
|
|
MakeEntityRenderables(
|
|
Entity *this_entity, // The entity we are dealing with
|
|
ResourceDescription *model_resource, // Pointer to the video resource
|
|
ViewFrom type); // Type of reference (inside/outside...etc.)
|
|
|
|
HierarchicalDrawComponent*
|
|
ReadSKLFile(
|
|
Entity *entity, // The entity we are dealing with
|
|
ResourceDescription *model_resource, // Pointer to the video resource
|
|
ViewFrom type, // type of reference to create
|
|
char skeleton_type // TEMPORARY!!!! to handle color substitutions
|
|
);
|
|
|
|
void
|
|
RecurseSKLFile(
|
|
Entity *entity,
|
|
HierarchicalDrawComponent *parent,
|
|
NotationFile *mech_skeleton,
|
|
const char *page_name,
|
|
int recursion_depth,
|
|
ViewFrom type, // type of reference to create !!! should be enum
|
|
int *joint_counter,
|
|
dpl_LOAD_MODE cache_mode
|
|
);
|
|
|
|
};
|