Commit Graph

9 Commits

Author SHA1 Message Date
65861143bf fix: fix issues
- restore some CKGlobals behavior because it will cause runtime exception.
- move some classes from CmdHelper to UnvirtContext to make CmdHelper more common to use.
- output warning string when fail to get utf8 or ordinary string.
2024-08-27 11:25:53 +08:00
0447381896 fix: fix libcmo build issue 2024-08-23 11:28:49 +08:00
ee4b621cac fix saving issue
- fix CKStateChunk resize memory error.
- fix wrong CKBitmapHandler free position in CKBitmapData writer.
- fix init value error of CKFileWriter::m_DisableAddingFile when copying from reader.
- fix ReadString, WriteString error in CKStateChunk (forget NULL terminal)
- change CKPathManager resolve path order. Resolve temp path first, then resources folder.
- fix mixdata combine error when writing CKTexture.
2023-09-30 16:01:39 +08:00
eedd9bdb55 finish CKtexture writer
- finish CKTexture writer
- add std::enable_if for CKStateChunk::ReadIdent&WriteIdent to limit it in enum type.
- fix error function calling in CKBitmapData writer.
- let CKTexture reader mor formal for mipmap.
- fix CKStateChunk ReadBuffer redirect guideline.
- add a stupid height and width getter for CKBitmapData to serve CKTexture using.
2023-09-30 11:51:04 +08:00
42b9ddaec6 fix fatal CKStateChunk read error. fix return statement in CKFile 2023-09-26 12:07:13 +08:00
b2d0b743cb improve proj
- remove VTImage.hpp to make sure stb image do not need external project to ref.
- finish CKStateChunk write part. add some compatibilty code.
- add debugger pause function
- add filename getter for CKPathManager.
2023-09-24 20:56:23 +08:00
6870fca911 write other CKStateChunk writer and remove sub chunk function 2023-09-24 13:55:41 +08:00
3e265cdf1d write some funcs for CKStateChunk writer 2023-09-24 12:21:33 +08:00
616a32ce19 split the implement of CKStateChunk because code is too much 2023-09-18 16:51:00 +08:00