Commit Graph

15 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
d74b4645f0 fix: fix build issue in Unvirt and LibCmo
- fix build issue in Unvirt and LibCmo
- due to we use UTF8 string. the accessible value generator in EnumsMigration need to be changed at the same time.
- remove string helper in Unvirt because we no longer need it.
2024-08-23 17:38:45 +08:00
754a281655 add LoadImage wrapper in CKTexture 2023-10-08 10:42:07 +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
abea66d6f0 fix including file error in CKFile. update reader -> writer method 2023-09-30 14:24:37 +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
c0626eefee finish almost object output display 2023-09-22 22:31:51 +08:00
ddf596faec create visitor for all existed CK class 2023-09-22 14:48:45 +08:00
d66716acd7 write shit 2023-09-20 10:49:32 +08:00
81d1e80d14 finish CKStateChunk refactor 2023-09-18 16:37:05 +08:00
230b18c0ba remove all raw char type ref in code 2023-09-17 10:38:46 +08:00
1ddeeb3b68 refactor project 2023-09-16 18:31:25 +08:00
8894b1ccad write some boring struct in VxTypes 2023-09-13 22:33:41 +08:00
42feff734d finish CKTexture reading 2023-09-12 17:03:06 +08:00
1e0ed360bd write shit 2023-09-10 21:33:43 +08:00