mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 01:37:00 +00:00
More main progress; tons of headers & stuff
Former-commit-id: a6e365791b
This commit is contained in:
@@ -9,6 +9,7 @@ class CModelFlags {
|
||||
public:
|
||||
enum ETrans {
|
||||
kT_Opaque = 0,
|
||||
kT_Two = 2, // ?
|
||||
kT_Blend = 5,
|
||||
kT_Additive = 7,
|
||||
};
|
||||
@@ -31,6 +32,10 @@ public:
|
||||
CModelFlags(const CModelFlags& flags, bool b /* TODO what's this? */, int shaderSet)
|
||||
: x0_blendMode(flags.x0_blendMode), x1_matSetIdx(shaderSet), x2_flags(flags.x2_flags), x4_color(flags.x4_color) {}
|
||||
|
||||
// ?
|
||||
CModelFlags(const CModelFlags& flags, ETrans trans, CColor color)
|
||||
: x0_blendMode(trans), x1_matSetIdx(flags.x1_matSetIdx), x2_flags(flags.x2_flags), x4_color(color) {}
|
||||
|
||||
CModelFlags UseShaderSet(int matSet) { return CModelFlags(*this, false, matSet); }
|
||||
CModelFlags DontLoadTextures() { return CModelFlags(*this, GetOtherFlags() | kF_NoTextureLock); }
|
||||
CModelFlags DepthCompareUpdate(bool compare, bool update) {
|
||||
|
||||
Reference in New Issue
Block a user