fix: fix issues
- fix BMapBindings generator due to the rename of LIBCMO_EXPORT -> BMAP_EXPORT. - fix relative path issue in Python scripts within CodeGen. - remove all references to LIBCMO_PANIC. use exception instead to tell user they are fool. - basically finish universal encoding tables. add lost encoding name.
This commit is contained in:
@ -323,12 +323,12 @@ namespace LibCmo::CK2 {
|
||||
|
||||
CKFileVisitor::CKFileVisitor(CKFileReader* reader) :
|
||||
m_IsReader(true), m_Reader(reader), m_Writer(nullptr), m_Ctx(reader->m_Ctx) {
|
||||
if (reader == nullptr) LIBCMO_PANIC("Reader is nullptr.");
|
||||
if (reader == nullptr) throw LogicException("Reader is nullptr.");
|
||||
}
|
||||
|
||||
CKFileVisitor::CKFileVisitor(CKFileWriter* writer) :
|
||||
m_IsReader(false), m_Reader(nullptr), m_Writer(writer), m_Ctx(writer->m_Ctx) {
|
||||
if (writer == nullptr) LIBCMO_PANIC("Writer is nullptr.");
|
||||
if (writer == nullptr) throw LogicException("Writer is nullptr.");
|
||||
}
|
||||
|
||||
CKFileVisitor::CKFileVisitor(const CKFileVisitor& rhs) :
|
||||
|
Reference in New Issue
Block a user