Commit Graph

331 Commits

Author SHA1 Message Date
TheApadayo
4cb109c3ee [Debgging] Add read/write logger
- You can use the two comparison files (iw4_reads.log & zb_writes.log) to compare the two for differences
- Move the hook in QuickPatches around to change the asset that you're logging
2016-12-21 20:58:00 -05:00
momo5502
896c3b7068 [ZoneBuilder] Correctly write GfxImages 2016-12-22 02:48:00 +01:00
momo5502
64e76c905e [General] Use pre-incrementation in for loops 2016-12-22 01:32:07 +01:00
momo5502
56ba9d0ed6 [IGfxWorld] Code styling 2016-12-22 01:23:48 +01:00
momo5502
e93831319f [ZoneBuilder] IGfxWorld and IclipMap_t fixes 2016-12-22 00:35:05 +01:00
momo5502
ec37ab6714 [IGfxWorld] Fix material memory (there is still a bug there!) 2016-12-21 20:56:17 +01:00
momo5502
24ce44ae52 [IclipMap_t] Fix interface, it should work now 2016-12-21 20:24:04 +01:00
momo5502
9505d8cbe4 [IclipMap_t] Small fixes, stuff is still broken 2016-12-21 20:11:27 +01:00
momo5502
079f05d6eb [IGfxWorld] Correct brackets (ocd) 2016-12-21 19:26:13 +01:00
momo5502
b72b8b8a15 [ZoneBuilder] clipmap and gfxworld fixes 2016-12-21 19:20:57 +01:00
momo5502
48557d02d1 [ZoneBuilder] Add ComWorld interface 2016-12-21 17:51:51 +01:00
momo5502
3e69704aed [ZoneBuilder] Correct XAssetHeader struct 2016-12-21 17:27:45 +01:00
TheApadayo
25c5baa549 [IGfxWorld] GfxWorld writer completed
-also added mark for GfxWorld so it works properly
-still needs to be debugged (it doesn't work)
2016-12-20 22:15:01 -05:00
momo5502
c216929687 [IclipMap_t] Structure fixes 2016-12-20 22:26:58 +01:00
momo5502
756d7c15a9 [IGfxWorld] Small fixes and more progress 2016-12-20 22:23:23 +01:00
TheApadayo
89fc89275f [ZoneBuilder] Added clipMap_t asset interface (untested) 2016-12-20 16:22:20 -05:00
momo5502
58073404cc [ZoneBuilder] Add IGameWorldMp interface 2016-12-20 20:16:23 +01:00
momo5502
1c82e29871 [XModel] Adapt structure 2016-12-20 18:15:28 +01:00
momo5502
3597bc7bfa [IGfxWorld] Correct formatting 2016-12-20 17:42:15 +01:00
TheApadayo
58cedeaf5d [Style] Fixed my code to play nice with warnings
-also updated gitgnore
2016-12-20 10:08:33 -05:00
TheApadayo
8b7c990a53 [ZoneBuilder] Added GfxWorld asset interface but is completely untested
i have no idea if any of it works so try it out whenever
2016-12-20 01:47:10 -05:00
momo5502
f0e234dd2a [Material] Fix previews for zonebuilder 2016-12-14 18:12:29 +01:00
momo5502
5cd08907a8 [IFxEffectDef] Parse version 2016-12-10 13:07:45 +01:00
momo5502
81d94cbd5e [IFxEffectDef] Add the structs provided by @aerosoul94 2016-12-07 22:08:13 +01:00
momo5502
dfa50dc1bb [IFxEffectDef] More preparations for fx loading 2016-12-07 21:19:06 +01:00
momo5502
835597fbf6 [ZoneBuilder] Version system for models and anims 2016-12-07 18:53:01 +01:00
momo5502
566cad6784 [IFxEffectDef] Prepare efx loading 2016-12-06 19:36:57 +01:00
momo5502
4d517f2895 [ZoneBuilder] Add snd_alias_list_t interface 2016-11-29 21:12:35 +01:00
momo5502
3551d0c0eb [ZoneBuilder] Add LoadedSound interface 2016-11-29 19:32:46 +01:00
momo5502
1b12886229 [ZoneBuilder] Add sndcurve interface 2016-11-29 19:13:46 +01:00
momo5502
5489fa2461 [IFxEffectDef] Add nullpointer check for material preloading 2016-11-29 08:32:15 +01:00
momo5502
d596cdc97b [ZoneBuilder] Add interface for FxEffectDef
Soundaliases are missing, so the game will complain about missing sounds!
2016-11-28 22:12:42 +01:00
momo5502
b0f13911ca [ZoneBuilder] Rough concept for external data 2016-11-20 20:41:38 +01:00
momo5502
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +01:00
momo5502
9591d7eacd [IXModel] Adjust XModel structure for flag support 2016-11-12 20:06:23 +01:00
momo5502
5dccdc2454 Model stuff 2016-11-09 19:38:01 +01:00
momo5502
5710f30376 Remove debug stuff 2016-11-06 14:10:30 +01:00
momo5502
51bbbdd588 Model stuff 2016-11-06 14:03:51 +01:00
momo5502
6626bc9fc7 Some model stuff 2016-11-06 02:24:30 +01:00
momo5502
ad18adc187 Fix techniques (ZoneBuilder) and fully dump gfxworlds with enable-dxsdk flag 2016-10-09 12:02:17 +02:00
/dev/urandom
4ebfd55d3d
Fix issue by loading the string buffer into a variable instead of using it directly. 2016-09-17 23:10:48 +02:00
momo5502
25585fc9a4 Introduce library util 2016-09-17 00:14:59 +02:00
momo5502
e94d9788d0 Fix code analysis warnings 2016-09-04 13:06:44 +02:00
momo5502
f6410370ac Stringtable tests 2016-08-16 13:58:45 +02:00
momo5502
2ea490382b More fixes and optimizations 2016-07-11 17:37:36 +02:00
momo5502
9562285ed7 Use new format library and sort utils 2016-07-11 17:14:58 +02:00
momo5502
8a4c64c2db Fix noborder stuff 2016-06-28 12:46:28 +02:00
momo5502
5c70ca9011 Fixes and stuff 2016-06-19 17:40:30 +02:00
momo5502
64593aa079 Bugfixes 2016-06-10 14:50:03 +02:00
momo5502
80267f8874 Optimize pointer clearing for zonebuilding 2016-06-10 13:52:55 +02:00
momo5502
a0e52dc550 Fix looped anims and add the long-awaited support for model-tags and quick and ugly fix for textures 2016-06-10 00:08:07 +02:00
momo5502
06e91f9dd2 Some tests 2016-06-09 13:44:59 +02:00
momo5502
5a4ddb27d3 XModel import tests 2016-06-09 01:26:33 +02:00
momo5502
ba93f02379 Anim import 2016-06-05 21:55:38 +02:00
momo5502
2b5a171668 Experiments 2016-06-05 15:09:01 +02:00
momo5502
0a0d6ae5e6 Script stuff 2016-05-29 16:16:15 +02:00
momo5502
82fecdb1b9 Map ents experiments 2016-05-19 18:42:25 +02:00
momo5502
3a2d64e936 Meh :P 2016-05-16 17:18:40 +02:00
momo5502
18f4bb0a44 Fully 2016-05-16 17:17:25 +02:00
momo5502
f637670e52 Workaround 2016-05-16 15:38:58 +02:00
momo5502
f2cdd84416 2016-05-14 15:32:43 +02:00
momo5502
2886928f0b Structureddata stuff in fastfiles 2016-03-04 17:02:00 +01:00
momo5502
bcdc555c4a POW (aka. hashcash) stuff. 2016-02-22 23:35:53 +01:00
momo5502
a11f004a7e More proto stuff.
We should add a version identifier before releasing!
2016-02-12 15:06:06 +01:00
momo5502
9d9229b229 Delta parts. Not sure if correct, as I haven't tested it yet. My head still hurts :P 2016-01-30 12:22:37 +01:00
momo5502
73ed335b11 Fixes and shit. 2016-01-28 00:32:46 +01:00
momo5502
13bf9d2b79 Fix rawfile stuff (TODO: Implement correct compression!) 2016-01-27 03:02:42 +01:00
momo5502
f9c087e012 Rawfile loading for zone. 2016-01-27 02:22:07 +01:00
momo5502
599d7c692e XAnim tests. 2016-01-26 19:54:39 +01:00
momo5502
9cd0624f88 XModel stuff 2016-01-26 16:12:41 +01:00
momo5502
19a4c62617 Use static cast and check binary. 2016-01-26 01:41:21 +01:00
momo5502
86e1faabc3 XModel stuff, unfinished. 2016-01-25 23:47:50 +01:00
momo5502
388d5836cd Optimize loops. 2016-01-24 19:58:13 +01:00
momo5502
d28323f73e Optimizations
- Increase warning level
- Use proper casting
- Fix some more warnings.
2016-01-24 12:19:34 +01:00
momo5502
a4bc6ee8d5 Optimization. 2016-01-22 20:49:52 +01:00
momo5502
c55c3b7364 Animated material support. 2016-01-22 20:26:00 +01:00
momo5502
bf80c3fd61 Material fixes. 2016-01-22 18:10:45 +01:00
momo5502
9449750aab Allow building custom materials and images. 2016-01-22 16:11:47 +01:00
momo5502
f509e67953 Various fixes and optimizations. 2016-01-22 13:18:26 +01:00
momo5502
ac4548f4c2 Build materials. 2016-01-22 11:59:43 +01:00
momo5502
558112166a ZoneBuilder stuff. 2016-01-12 19:08:26 +01:00