2022-11-27 00:26:12 +00:00
|
|
|
#ifndef _CCUBEMODEL
|
|
|
|
#define _CCUBEMODEL
|
|
|
|
|
2024-10-22 23:12:41 +00:00
|
|
|
#include <Kyoto/TToken.hpp>
|
|
|
|
#include <rstl/vector.hpp>
|
|
|
|
|
|
|
|
class CAABox;
|
|
|
|
class IObjectStore;
|
2022-12-01 16:11:09 +00:00
|
|
|
class CTexture;
|
|
|
|
class CTransform4f;
|
2024-10-22 23:12:41 +00:00
|
|
|
class CCubeSurface;
|
2022-12-01 16:11:09 +00:00
|
|
|
|
2022-11-27 00:26:12 +00:00
|
|
|
class CCubeModel {
|
|
|
|
public:
|
2024-10-22 23:12:41 +00:00
|
|
|
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);
|
2022-11-27 00:26:12 +00:00
|
|
|
static void SetRenderModelBlack(bool v);
|
2022-12-01 16:11:09 +00:00
|
|
|
static void DisableShadowMaps();
|
|
|
|
static void EnableShadowMaps(const CTexture*, const CTransform4f&, unsigned char, unsigned char);
|
|
|
|
static void SetDrawingOccluders(bool);
|
2024-10-22 23:12:41 +00:00
|
|
|
static void MakeTexturesFromMats(uchar* data, rstl::vector< TCachedToken< CTexture > >& textures,
|
|
|
|
IObjectStore& store, bool cache);
|
2022-11-27 00:26:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CCUBEMODEL
|