mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 19:07:41 +00:00
Some updates (#19)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef _CCUBERENDERER
|
||||
#define _CCUBERENDERER
|
||||
|
||||
#include "Kyoto/Math/CPlane.hpp"
|
||||
#include "types.h"
|
||||
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
@@ -96,7 +97,7 @@ public:
|
||||
float zfar) override;
|
||||
void SetClippingPlanes(const CFrustumPlanes&) override;
|
||||
void SetViewport(int left, int right, int width, int height) override;
|
||||
void SetDepthReadWrite(bool read, bool update) override;
|
||||
void SetDepthReadWrite(const bool read, const bool update) override;
|
||||
void SetBlendMode_AdditiveAlpha() override;
|
||||
void SetBlendMode_AlphaBlended() override;
|
||||
void SetBlendMode_NoColorWrite() override;
|
||||
@@ -144,9 +145,11 @@ public:
|
||||
void AllocatePhazonSuitMaskTexture();
|
||||
void SetupRendererStates(bool depthWrite);
|
||||
void SetupCGraphicsStates();
|
||||
void DrawRenderBucketsDebug();
|
||||
|
||||
void SetRequestRGBA6(bool req) { x318_26_requestRGBA6 = req; }
|
||||
CTexture* GetRealReflection();
|
||||
const CPlane& GetViewPlane() const { return xb0_viewPlane; }
|
||||
|
||||
private:
|
||||
CResFactory& x8_factory;
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
float zfar);
|
||||
virtual void SetClippingPlanes(const CFrustumPlanes&);
|
||||
virtual void SetViewport(int left, int right, int width, int height);
|
||||
virtual void SetDepthReadWrite(bool read, bool update);
|
||||
virtual void SetDepthReadWrite(const bool read, const bool update);
|
||||
virtual void SetBlendMode_AdditiveAlpha();
|
||||
virtual void SetBlendMode_AlphaBlended();
|
||||
virtual void SetBlendMode_NoColorWrite();
|
||||
|
||||
Reference in New Issue
Block a user