Commit Graph

20 Commits

Author SHA1 Message Date
0447381896 fix: fix libcmo build issue 2024-08-23 11:28:49 +08:00
a7c1028926 doc: add documentation
- add documentation for CKGlobals, VxMath (partly)
- Fix build issue in CKDefines, CKGlobals, VxMath.
- Bring libcmo exception in CKGlobals and VxMath for some illegal input.
2024-08-21 17:57:35 +08:00
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
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
a17b9deb4c write garbage
- fix PathManager nullptr assign issue
- fix Context set encoding unexpected copy issue
- write some export function for BMap.
2023-09-23 16:25:26 +08:00
81872053f0 finish PreDelete and CheckPreDeletion. now there is no problem when deleting object 2023-09-20 15:25:43 +08:00
c6608dec57 basically finish register. still have bug 2023-09-17 12:39:21 +08:00
230b18c0ba remove all raw char type ref in code 2023-09-17 10:38:46 +08:00
3c8266e7dd continue refactor project 2023-09-16 22:38:21 +08:00
1ddeeb3b68 refactor project 2023-09-16 18:31:25 +08:00
1e0ed360bd write shit 2023-09-10 21:33:43 +08:00
138e47cbdc fix compile error by split some classes into CKStructs.hpp. ready for CKBitmapData 2023-09-07 22:10:42 +08:00
54a3dd7776 add func to path manager. fix bitmap handler. add general bitmap handler getter 2023-09-07 21:57:48 +08:00
a1acdf10c6 finish manager split 2023-09-06 10:42:23 +08:00
2ec66131cf add more struct and enum. impl some functions 2023-09-05 22:23:05 +08:00
ab8a9da526 split CKContext work 2023-09-04 22:58:53 +08:00
bac9f2ae25 finish half writing function 2023-08-28 17:04:28 +08:00
47bf6ab6c6 remove all std::nothrow and re-create namespace for objs and mgrs 2023-08-26 16:37:26 +08:00