Commit Graph

19 Commits

Author SHA1 Message Date
0447381896 fix: fix libcmo build issue 2024-08-23 11:28:49 +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
8ed7df659d add JPG and PNG image fmt support.
a file saving issue raised in BMap sub-project cause this change.
initially i do not want to add these ballance not supported image format. but for RawData saved image with PNG suffix will raise error when calling SaveImage()
so i add these to make sure all image can be saved.
2023-12-14 14:49:14 +08:00
6296261532 resolve bmp alpha channel saving issue 2023-12-03 20:50:25 +08:00
c55e334ead fix texture saving error 2023-11-10 14:58:07 +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
1575186c69 finish CKBitmapData::DumpToChunk 2023-09-28 23:29:52 +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
d66716acd7 write shit 2023-09-20 10:49:32 +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
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
9c1fcd172d almost finish CKBitmapData read 2023-09-11 22:20:45 +08:00
e2647ed39b refactor VxImageDescEx 2023-09-11 14:39:07 +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
f7f1478ecf fix CKContext prevobj error. finish bitmap reader / writer 2023-09-07 16:27:41 +08:00