Commit Graph

24 Commits

Author SHA1 Message Date
9903b61cac 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.
2024-08-17 23:29:08 +08:00
e682a87d25 refactor: refactor project
- rename LIBCMO_DISABLE_COPY_MOVE -> YYCC_DEL_CLS_COPY_MOVE and LIBCMO_DEFAULT_COPY_MOVE -> YYCC_DEF_CLS_COPY_MOVE.
- fix Vector declaration generator. throw exception when operator[] face invalid index, instead of do fallback.
- rename VTAll.hpp -> VTInternal.hpp and VYUserAll -> VTAll.hpp for easy to understand.
- fix project name error in Doxygen template.
- replace all LIBCMO_OS_WIN32 to YYCC_OS == YYCC_OS_WINDOWS.
- fix some compile error (involving utf8 encoding) but not the final result.
- use correct way to include std-image library (use <> instead of "")
- finish documentation for VTUtils.hpp and VTEncoding.hpp.
2024-08-17 20:43:27 +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
3195a9682f finish CKBitmapData writer.
- finish spec fmt image writer and raw bitmap writer.
- fix a possible fatal issue in ReadBuffer(). return nullptr simply rather than allocate a blank buf. otherwise the process of use nullptr to check result will be broken.
- add CanSaveAlpha() method in CKBitmapHandler.
2023-09-29 23:09:01 +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
ddf596faec create visitor for all existed CK class 2023-09-22 14:48:45 +08:00
a06f6a58c9 finish CKMesh remain reading and ctor 2023-09-20 14:42:44 +08:00
d381369ed6 now can read CKMesh without memory issue 2023-09-18 23:11:33 +08:00
81d1e80d14 finish CKStateChunk refactor 2023-09-18 16:37:05 +08:00
50784e719c write some shit for CKStateChunk 2023-09-17 23:48:18 +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
9c1fcd172d almost finish CKBitmapData read 2023-09-11 22:20:45 +08:00
1e0ed360bd write shit 2023-09-10 21:33:43 +08:00
eea15c2028 finish ckgroup again 2023-09-01 13:27:46 +08:00
2373dbee5b fix x64 compile warning. delete CKBOOL. fix terminal color error 2023-08-29 14:00:34 +08:00
763c6e84f9 add more info display 2023-08-29 10:42:13 +08:00
76be4dd8d2 add CKStateChunk parse to buffer function 2023-08-28 09:46:57 +08:00
8fce45b0b4 fix something 2023-08-27 22:14:02 +08:00
47bf6ab6c6 remove all std::nothrow and re-create namespace for objs and mgrs 2023-08-26 16:37:26 +08:00
4a787610f1 refactor (4/?) 2023-08-25 21:57:22 +08:00
1b8f2ff0d5 refactor project (1/?) 2023-08-22 15:30:26 +08:00