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
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
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
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
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
42b9ddaec6
fix fatal CKStateChunk read error. fix return statement in CKFile
2023-09-26 12:07:13 +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
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
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
94dadbfb1f
write garbage for BMap dll
2023-09-23 15:55:57 +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
ddf596faec
create visitor for all existed CK class
2023-09-22 14:48:45 +08:00
5671d7d7e6
create BMap project and copy-paste previous mesh convertion code
2023-09-21 13:47:30 +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
a06f6a58c9
finish CKMesh remain reading and ctor
2023-09-20 14:42:44 +08:00
0a85832d63
update project
2023-09-20 13:13:08 +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
678529a664
write some CKMesh
2023-09-18 21:06:34 +08:00
616a32ce19
split the implement of CKStateChunk because code is too much
2023-09-18 16:51:00 +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
17333527ee
think Register and notification works okey
2023-09-17 14:41:58 +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
23da6c9e3e
replace std::vector globally
2023-09-16 22:42:08 +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
8f960604ca
add some reading function
2023-09-15 17:03:36 +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
248b7e7385
finish material
2023-09-14 22:08:40 +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
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
e907c18f35
fill info for CKBitmapData
2023-09-10 13:23:04 +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