summaryrefslogtreecommitdiff
path: root/src/modelinfo/XtraCompsModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-07-29 19:41:38 +0200
committeraap <aap@papnet.eu>2021-07-29 19:59:34 +0200
commit3f3e258d7769aa3522602687aea1119f32f3c589 (patch)
treeca6beec16a570275e5da7dc83d242e4ca4fb86f6 /src/modelinfo/XtraCompsModelInfo.cpp
parentb77d93ba4a7a7bc0205d40aa7e716545962fe355 (diff)
CVisibilityPlugins, CRenderer, some fixes
Diffstat (limited to 'src/modelinfo/XtraCompsModelInfo.cpp')
-rw-r--r--src/modelinfo/XtraCompsModelInfo.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/modelinfo/XtraCompsModelInfo.cpp b/src/modelinfo/XtraCompsModelInfo.cpp
new file mode 100644
index 00000000..c11edaf8
--- /dev/null
+++ b/src/modelinfo/XtraCompsModelInfo.cpp
@@ -0,0 +1,21 @@
+#include "common.h"
+
+#include "VisibilityPlugins.h"
+#include "ModelInfo.h"
+
+base::cRelocatableChunkClassInfo CXtraCompsModelInfo::msClassInfo("CXtraCompsModelInfo", VTABLE_ADDR(&msClassInstance), sizeof(msClassInstance));
+CXtraCompsModelInfo CXtraCompsModelInfo::msClassInstance;
+
+void
+CXtraCompsModelInfo::RcWriteThis(base::cRelocatableChunkWriter &writer)
+{
+ writer.AllocateRaw(this, sizeof(*this), sizeof(void*), false, true);
+ writer.Class(VTABLE_ADDR(this), msClassInfo);
+}
+
+void
+CXtraCompsModelInfo::RcWriteEmpty(base::cRelocatableChunkWriter &writer)
+{
+ writer.AllocateRaw(this, sizeof(*this), sizeof(void*), false, true);
+ writer.Class(VTABLE_ADDR(this), msClassInfo);
+}