Commit Graph

74 Commits

Author SHA1 Message Date
bd96f26cfd fix: fix CmdHelper but still not finished 2024-08-25 22:27:17 +08:00
0db8007fcb fix: update CmdHelper in Unvirt but not finished 2024-08-24 23:05:41 +08:00
88ce33c358 fix: fix build issue in Unvirt 2024-08-24 21:27:23 +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
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
f870d4dde3 refactor: update project
- add documentation CMake build script. re-organise document layout for future changes.
- move LIBCMO_EXPORT to BMap and rename it to BMAP_EXPORT because only BMap need to use this macro.
- fully refactor VTEncoding to make it more like Python
	- Now language name is platform independent.
	- Hide implementation detail as possible as I can.
	- Language mapping are still work in progress.
- add code gen for new added universal encoding feature to generate language name mapping in Windows and Iconv respectively.
- remove old code of CMake build script.
- update VTUtils for new requirement.
	- remove useless functions.
	- create LibCmo specific custom exception classes.
2024-08-16 22:07:23 +08:00
afa06339b2 chore: switch to CMake build system instead of native Visual Studio project 2024-08-15 22:20:51 +08:00
d8b7ace53d expose lit mode interface in CKMesh.
- provide lit mode and wrap mode getter and setter in CKMesh.
- add lost flags setter in CKMesh.
- show lit mode and wrap mode data in Unvirt.
- add interface for lit mode in BMap, because some old Ballance map use lit mode to light objects.
- expose a raw c callback when creating bmap to allow user decide how the log output by themselves.
- change python bindings for BMap interface changes.
2023-11-15 21:47:58 +08:00
b402e8db8e add transparent column fixer code and finish bmap load/save 2023-10-29 10:27:35 +08:00
c7af11702f add some features in Unvirt
- add style [simple | full] command to allow simple display. current object list display take too much space.
- add search [obj | mgr] [plain | re] <text> command to allow user search object or manager list by substring or regex.
- add ls search <page> to browse the search result.
- set IronPad minidump dump type from full memory to normal.
- fix Unvirt ls command page count display error.
2023-10-28 18:17:53 +08:00
b477c468cd fix some saving result issue 2023-10-02 17:45:59 +08:00
9aa8b2b961 finish CKMesh writer
- fix some writing issue.
- create a internal object adder in CKFileWriter shared by AddObject and Ctor(copy Reader).
2023-10-02 09:16:45 +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
b217da8fb8 fix some issue
- remove unnecessary macro in BMap, Unvirt and IronPad.
- add mtl slots display for mesh.
- fix potential nullptr issue in CKStateChunk buffer reader.
2023-09-26 20:51:16 +08:00
0a168ac5cc fix cmake build issue. fix build type checker. rm IronPad windows header including under linux 2023-09-25 21:45:53 +08:00
8083633a7b fix cmake error (part) 2023-09-24 23:27:20 +08:00
c0626eefee finish almost object output display 2023-09-22 22:31:51 +08:00
d37a552873 write some printer for ck class 2023-09-22 16:40:10 +08:00
f07ff1f246 finish IronPad debugging 2023-09-20 22:55:59 +08:00
01d1f0a250 add coredump tools 2023-09-20 22:26:39 +08:00
0bc99d6f39 add features
- add LIBCMO_BUILD_DEBUG and etc build macro.
- add notify in CKGlobals for CKMesh and etc.
- add test command.
2023-09-20 20:44:03 +08:00
81872053f0 finish PreDelete and CheckPreDeletion. now there is no problem when deleting object 2023-09-20 15:25:43 +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
be6cbc5692 finish mesh reading test (only core mesh data) 2023-09-19 11:59:23 +08:00
f60ee5058a improve mesh checking 2023-09-19 10:53:48 +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
42feff734d finish CKTexture reading 2023-09-12 17:03:06 +08:00
8a75eb9f21 use stb as default image codec 2023-09-06 15:17:39 +08:00
7f67902bf5 add FFmpeg as denpdency 2023-09-06 13:50:21 +08:00
fd69914a25 almost finish CKGroup 2023-09-01 12:19:06 +08:00
4c741ae778 fix cmake compile error 2023-08-31 12:37:23 +08:00
1fdc0394b9 try fix cmake 2023-08-31 10:20:10 +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
0887cd6d86 fix some fatal error when fully-rewrite file 2023-08-28 22:20:46 +08:00
8fce45b0b4 fix something 2023-08-27 22:14:02 +08:00
6837253a01 fix some running error 2023-08-27 16:51:18 +08:00
c8f18bce0c can compile now 2023-08-27 16:45:07 +08:00
168d76939b fix command helper 2023-08-27 14:21:44 +08:00
3252e61c0d update cmd dispatcher 2023-08-27 12:30:12 +08:00
8a1f71e855 refactor (5/?) 2023-08-26 20:34:51 +08:00
f687297ebb refact codegen 2023-08-20 21:38:16 +08:00
33b867e62a finish code gen 2023-08-20 16:10:22 +08:00
5a69ce338e finish linux related code writting. remove all offensive content.
- REMOVE all offensive content in README and etc. This project respect to every contributors.
- However, for commercial reason, we limit the contribution from Dassault.
- Change license.
- Finish linux platform code.
2023-03-26 20:32:13 +08:00
79aaf6b1ea update cmd. improve encoding 2023-03-04 11:11:36 +08:00
e166b8ec5b finish cmd 2023-03-04 00:13:03 +08:00
2bdeee9007 update interactive cmd 2023-03-03 16:05:32 +08:00