write garbage for BMap dll
This commit is contained in:
@ -392,7 +392,7 @@ namespace LibCmo::CK2 {
|
||||
// reserve class info array.
|
||||
g_CKClassInfo.reserve(static_cast<size_t>(CK_CLASSID::CKCID_MAXCLASSID));
|
||||
|
||||
// todo: add class type registrations
|
||||
// MARK: add class type registrations here
|
||||
#define EasyClassReg(clsname, cid, parentCid, strName) \
|
||||
CKClassRegister(cid, parentCid, \
|
||||
nullptr, \
|
||||
|
@ -154,6 +154,7 @@ namespace LibCmo::CK2 {
|
||||
XContainer::XBitArray CKGetAllNotifyClassID(const XContainer::XBitArray& delObjCids);
|
||||
|
||||
// ========== Initializations functions ==========
|
||||
|
||||
CKERROR CKStartUp();
|
||||
CKERROR CKShutdown();
|
||||
|
||||
|
@ -145,6 +145,8 @@ namespace LibCmo::CK2::ObjImpls {
|
||||
// so we just read it and skip it.
|
||||
CK_ID placeid;
|
||||
chunk->ReadObjectID(placeid);
|
||||
// and remove this flag
|
||||
EnumsHelper::Rm(m_3dEntityFlags, CK_3DENTITY_FLAGS::CK_3DENTITY_PLACEVALID);
|
||||
}
|
||||
|
||||
// read parent
|
||||
@ -153,6 +155,8 @@ namespace LibCmo::CK2::ObjImpls {
|
||||
// we ignore this field.
|
||||
CK_ID parentid;
|
||||
chunk->ReadObjectID(parentid);
|
||||
// and remove this flag
|
||||
EnumsHelper::Rm(m_3dEntityFlags, CK_3DENTITY_FLAGS::CK_3DENTITY_PARENTVALID);
|
||||
}
|
||||
|
||||
// read priority (non-zero zorder)
|
||||
|
Reference in New Issue
Block a user