More CCubeRenderer

This commit is contained in:
2025-01-30 22:00:30 -07:00
parent d39bfb5d2c
commit 23c5d67207
28 changed files with 526 additions and 168 deletions

View File

@@ -12,14 +12,16 @@ class CCubeSurface;
class CCubeModel {
public:
CCubeModel(rstl::vector< CCubeSurface* >* surfaces, rstl::vector< TCachedToken< CTexture > >* textures,
void* materialData, void* positions, void* normals, void* vtxColors, void* floatUvs,
void* shortUvs, const CAABox& aabox, uint visorFlags, bool texturesLoaded, uint idx);
CCubeModel(rstl::vector< void* >* surfaces, rstl::vector< TCachedToken< CTexture > >* textures,
const void* materialData, const void* positions, const void* normals,
const void* vtxColors, const void* floatUvs, const void* shortUvs, const CAABox& aabox,
uchar visorFlags, bool texturesLoaded, uint idx);
static void SetRenderModelBlack(bool v);
static void DisableShadowMaps();
static void EnableShadowMaps(const CTexture*, const CTransform4f&, unsigned char, unsigned char);
static void SetDrawingOccluders(bool);
static void MakeTexturesFromMats(uchar* data, rstl::vector< TCachedToken< CTexture > >& textures,
static void MakeTexturesFromMats(const void* data,
rstl::vector< TCachedToken< CTexture > >& textures,
IObjectStore& store, bool cache);
};