summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-29 19:11:47 +0100
committeraap <aap@papnet.eu>2020-10-29 19:11:47 +0100
commite97366c023ee81d0feefa131ed38c77131d29f40 (patch)
treeec7f378fbb88e855caa8764da2f6186946bf60dd /src/modelinfo
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-e97366c023ee81d0feefa131ed38c77131d29f40.tar
re3-e97366c023ee81d0feefa131ed38c77131d29f40.tar.gz
re3-e97366c023ee81d0feefa131ed38c77131d29f40.tar.bz2
re3-e97366c023ee81d0feefa131ed38c77131d29f40.tar.lz
re3-e97366c023ee81d0feefa131ed38c77131d29f40.tar.xz
re3-e97366c023ee81d0feefa131ed38c77131d29f40.tar.zst
re3-e97366c023ee81d0feefa131ed38c77131d29f40.zip
Diffstat (limited to '')
-rw-r--r--src/modelinfo/BaseModelInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h
index 783f871f..2505967b 100644
--- a/src/modelinfo/BaseModelInfo.h
+++ b/src/modelinfo/BaseModelInfo.h
@@ -31,6 +31,14 @@ protected:
ModelInfoType m_type;
uint8 m_num2dEffects;
bool m_bOwnsColModel;
+#ifdef EXTRA_MODEL_FLAGS
+public:
+ // from mobile
+ bool m_bIsDoubleSided;
+ bool m_bIsTree;
+ bool m_bCanBeIgnored; // for low-end devices
+ bool RenderDoubleSided(void) { return m_bIsDoubleSided || m_bIsTree; }
+#endif
public:
CBaseModelInfo(ModelInfoType type);