diff options
author | aap <aap@papnet.eu> | 2021-07-29 19:41:38 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-07-29 19:59:34 +0200 |
commit | 3f3e258d7769aa3522602687aea1119f32f3c589 (patch) | |
tree | ca6beec16a570275e5da7dc83d242e4ca4fb86f6 /src/modelinfo/XtraCompsModelInfo.cpp | |
parent | b77d93ba4a7a7bc0205d40aa7e716545962fe355 (diff) |
CVisibilityPlugins, CRenderer, some fixes
Diffstat (limited to 'src/modelinfo/XtraCompsModelInfo.cpp')
-rw-r--r-- | src/modelinfo/XtraCompsModelInfo.cpp | 21 |
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); +} |