Commit Graph

35 Commits

Author SHA1 Message Date
9dd46b88d9 dep: update stb.
- use a nasty way to update stb-image library (do not use new resize library, use moved depracted one. because idk how to program with new one. that lack doc).
2024-11-04 17:19:51 +08:00
e72102496b fix: update YYCC dependency
- move EnumsHelper into YYCC because it is widely used.
- rename all calling to EnumsHelper due to this modification.
- add version checker in code to make sure that user use correct YYCC library to compile.
- modify some include syntax because the include directory layout changes of YYCC.
- update CMake script to resolve the bug that we can not export LibCmo (thanks doyaGu and BLumia).
2024-11-03 19:05:27 +08:00
1028aad155 doc: add documentation
- add documentation for CKDefines, CKGlobals and VxMemoryMappedFile.
- fix build issue in VxMemoryMappedFile.
- add file size limitation in VxMemoryMappedFile. File whose size exceed the maximum value can not be opened.
2024-08-22 10:57:53 +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
f7708c28e0 doc: add documentation for VxTypes 2024-08-20 10:52:05 +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
279fa1eccb update code gen 2023-11-26 20:36:25 +08:00
92f4271124 finish CKMesh writing (no test)
- finish CKMesh writing function
- remove useless CKMesh functions: material channels, vertex weight and face mask.
2023-10-01 23:48:55 +08:00
8083633a7b fix cmake error (part) 2023-09-24 23:27:20 +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
81872053f0 finish PreDelete and CheckPreDeletion. now there is no problem when deleting object 2023-09-20 15:25:43 +08:00
d66716acd7 write shit 2023-09-20 10:49:32 +08:00
69f702a6d2 add some CK3dEntity code 2023-09-19 22:32:07 +08:00
2d190ea30b finish BuildNormals 2023-09-19 15:20:40 +08:00
d381369ed6 now can read CKMesh without memory issue 2023-09-18 23:11:33 +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
312c746279 add some functions 2023-09-15 16:15:07 +08:00
b499d907f7 prepare CKMesh 2023-09-15 13:21:49 +08:00
3faea2bbec add main load for CKMaterial 2023-09-14 21:53:21 +08:00
8419ff00d2 prepare CKMaterial 2023-09-14 17:03:09 +08:00
8894b1ccad write some boring struct in VxTypes 2023-09-13 22:33:41 +08:00
33c02d292b fix image reading issue 2023-09-12 20:49:19 +08:00
42feff734d finish CKTexture reading 2023-09-12 17:03:06 +08:00
e2647ed39b refactor VxImageDescEx 2023-09-11 14:39:07 +08:00
1e0ed360bd write shit 2023-09-10 21:33:43 +08:00
e907c18f35 fill info for CKBitmapData 2023-09-10 13:23:04 +08:00
54a3dd7776 add func to path manager. fix bitmap handler. add general bitmap handler getter 2023-09-07 21:57:48 +08:00
f7f1478ecf fix CKContext prevobj error. finish bitmap reader / writer 2023-09-07 16:27:41 +08:00
2ec66131cf add more struct and enum. impl some functions 2023-09-05 22:23:05 +08:00
ac274d11ab fix external file load/save issue 2023-08-30 10:03:02 +08:00
2373dbee5b fix x64 compile warning. delete CKBOOL. fix terminal color error 2023-08-29 14:00:34 +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