Commit Graph

1151 Commits

Author SHA1 Message Date
96d07c14f8 [ZoneBuilder] Do security checks before unloading the zones 2016-12-24 22:22:09 +01:00
83b25f6348 [IFxEffectDef] Ensure effects are written 2016-12-24 22:14:49 +01:00
97abe50845 [ZoneBuilder] Ensure all assets that are loaded, were written 2016-12-24 22:14:49 +01:00
15bf3fb0e0 [ZoneBuilder] Workaround for colmaps 2016-12-24 21:38:42 +01:00
b61b8e8f8d [IGameWorldSp] Finish GameWorldSp interface 2016-12-24 21:28:01 +01:00
fb17f5ec90 [ZoneBuilder] Correctly store arrays 2016-12-24 18:37:27 +01:00
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01:00
aa3b1f6bd7 [ZoneBuilder] Assert that all assets are written 2016-12-24 16:17:35 +01:00
fd3af1a965 [ZoneBuilder] Add GfxLightDef interface 2016-12-24 14:06:41 +01:00
fb8f618ddc [IclipMap_t] Store pointers for other structs as well. Should fix other collision related crashes 2016-12-23 22:38:24 -05:00
d075617328 [IFxWorld] Add missing clearpointer 2016-12-24 03:04:14 +01:00
22d49ddee3 [IclipMap_t] Fix clipmaps completely (for real) 2016-12-24 02:47:00 +01:00
8b76395d62 [IGfxWorld] Add more logging 2016-12-24 01:02:51 +01:00
0bcff7bb4a [ZoneBuilder] Small alignment fixes 2016-12-24 00:03:44 +01:00
08065d4142 [IFxEffectDef] Correctly load fx sounds 2016-12-23 23:29:35 +01:00
a1e2a1e790 [ZoneBuilder] Remove marking function, loading does that 2016-12-23 22:58:41 +01:00
39f9c73a38 [ZoneBuilder] Optimize nested asset writing 2016-12-23 22:10:11 +01:00
21a55d949a [Submodules] Update submodules 2016-12-23 22:06:35 +01:00
59196903de [ZoneBuilder] Only mark assets once to speed up link step 2016-12-23 13:00:14 -05:00
9945d15b90 Merge branch 'nested_assets' into develop 2016-12-23 11:03:40 -05:00
d5e1c6a371 Revert "[ZoneBuilder] Store inter-asset-related pointers" 2016-12-23 11:03:04 -05:00
aabeb23023 [ZoneBuilder] I MOTHERFUCKING FIXED CLIPMAPS AND CUSTOM MAPS WORK NOW!!!!!!!
-sorry had to get that out
2016-12-23 10:58:17 -05:00
e87ce9938d [ZoneBuilder] Nested assets work now (but it doesn't fix the clip map bug) 2016-12-23 08:43:37 -05:00
2903444e89 [ZoneBuilder] Rewrote to write assets in a nested way to more accurately emulate how linker_pc works
-it doesn't compile... yet
2016-12-23 01:42:56 -05:00
4c1859e871 [ZoneBuilder] Store inter-asset-related pointers 2016-12-23 02:25:21 +01:00
cec0db3e4c [IclipMap_t] More bugfixes 2016-12-23 01:03:17 +01:00
da59feb2d6 [ZoneBuilder] Inline pointer conversion 2016-12-23 00:24:25 +01:00
48059698c1 [IclipMap_t] Don't store collision borders 2016-12-23 00:10:49 +01:00
9fab21c269 [ZoneBuilder] Some clipmap fixes (which don't work 😦) 2016-12-22 23:21:20 +01:00
66c35f7f47 [IclipMap_t] Add logging 2016-12-22 18:38:27 +01:00
470361848e [ZoneBuilder] Small fixes in clipmap 2016-12-22 15:28:09 +01:00
715fe82483 [Stream] Fix stream writing 2016-12-22 13:28:02 +01:00
a4ad38c4d9 [IFxWorld] Structure fixes 2016-12-22 12:58:12 +01:00
336a891d26 [Debugging] Slightly optimize zb writing 2016-12-22 12:53:52 +01:00
403974b9cc [Debugging] Slightly optimize iw4 reading log 2016-12-22 12:37:09 +01:00
19730f1760 [Submodules] Update some 2016-12-22 12:35:02 +01:00
296af1716a [ZoneBuilder] Added IFxWorld interface, should work fully 2016-12-22 00:42:53 -05:00
8f42168ec3 [Stream] Write invalid streams 2016-12-22 03:32:38 +01:00
f8a50eda81 2016-12-21 20:59:37 -05:00
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
896c3b7068 [ZoneBuilder] Correctly write GfxImages 2016-12-22 02:48:00 +01:00
33754f40aa [Stream] Reimplement the correct stream writing (thx @TheApadayo) 2016-12-22 02:00:09 +01:00
64e76c905e [General] Use pre-incrementation in for loops 2016-12-22 01:32:07 +01:00
56ba9d0ed6 [IGfxWorld] Code styling 2016-12-22 01:23:48 +01:00
e93831319f [ZoneBuilder] IGfxWorld and IclipMap_t fixes 2016-12-22 00:35:05 +01:00
ec37ab6714 [IGfxWorld] Fix material memory (there is still a bug there!) 2016-12-21 20:56:17 +01:00
24ce44ae52 [IclipMap_t] Fix interface, it should work now 2016-12-21 20:24:04 +01:00
9505d8cbe4 [IclipMap_t] Small fixes, stuff is still broken 2016-12-21 20:11:27 +01:00
079f05d6eb [IGfxWorld] Correct brackets (ocd) 2016-12-21 19:26:13 +01:00
b72b8b8a15 [ZoneBuilder] clipmap and gfxworld fixes 2016-12-21 19:20:57 +01:00