Commit Graph

819 Commits

Author SHA1 Message Date
TheApadayo
8294be1b32 2016-12-25 22:06:30 -05:00
TheApadayo
5577989918 [IMaterial] Wrote new importer for materials, should work but i haven't tested anything
- old format is still supported but only as a fallback
2016-12-25 22:05:21 -05:00
momo5502
3406baca4d [IGfxWorld] Fix portal importing 2016-12-26 02:27:54 +01:00
momo5502
4f608b3a19 [IGfxImage] Non-streamed image importer 2016-12-26 01:44:45 +01:00
momo5502
b381fbd238 [Merge] develop into mapimport 2016-12-25 23:10:27 +01:00
TheApadayo
3af4082143 [ZoneBuilder] Update with new structures.
Side Note: I changed some stuff in Zones.cpp that could fuck up iw4c map loading so someone needs to test that as I don't have the maps
2016-12-25 16:23:44 -05:00
momo5502
d6c0e17bcb [IGfxWorld] Exporter progress and new struct 2016-12-25 20:55:42 +01:00
momo5502
bfe1c335af [IGfxWorld] Import experiments 2016-12-25 03:41:42 +01:00
momo5502
96d07c14f8 [ZoneBuilder] Do security checks before unloading the zones 2016-12-24 22:22:09 +01:00
momo5502
83b25f6348 [IFxEffectDef] Ensure effects are written 2016-12-24 22:14:49 +01:00
momo5502
97abe50845 [ZoneBuilder] Ensure all assets that are loaded, were written 2016-12-24 22:14:49 +01:00
momo5502
b61b8e8f8d [IGameWorldSp] Finish GameWorldSp interface 2016-12-24 21:28:01 +01:00
momo5502
fb17f5ec90 [ZoneBuilder] Correctly store arrays 2016-12-24 18:37:27 +01:00
momo5502
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01:00
momo5502
aa3b1f6bd7 [ZoneBuilder] Assert that all assets are written 2016-12-24 16:17:35 +01:00
momo5502
fd3af1a965 [ZoneBuilder] Add GfxLightDef interface 2016-12-24 14:06:41 +01:00
TheApadayo
fb8f618ddc [IclipMap_t] Store pointers for other structs as well. Should fix other collision related crashes 2016-12-23 22:38:24 -05:00
momo5502
d075617328 [IFxWorld] Add missing clearpointer 2016-12-24 03:04:14 +01:00
momo5502
22d49ddee3 [IclipMap_t] Fix clipmaps completely (for real) 2016-12-24 02:47:00 +01:00
momo5502
8b76395d62 [IGfxWorld] Add more logging 2016-12-24 01:02:51 +01:00
momo5502
0bcff7bb4a [ZoneBuilder] Small alignment fixes 2016-12-24 00:03:44 +01:00
momo5502
08065d4142 [IFxEffectDef] Correctly load fx sounds 2016-12-23 23:29:35 +01:00
momo5502
a1e2a1e790 [ZoneBuilder] Remove marking function, loading does that 2016-12-23 22:58:41 +01:00
momo5502
39f9c73a38 [ZoneBuilder] Optimize nested asset writing 2016-12-23 22:10:11 +01:00
TheApadayo
59196903de [ZoneBuilder] Only mark assets once to speed up link step 2016-12-23 13:00:14 -05:00
TheApadayo
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
TheApadayo
e87ce9938d [ZoneBuilder] Nested assets work now (but it doesn't fix the clip map bug) 2016-12-23 08:43:37 -05:00
TheApadayo
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
momo5502
cec0db3e4c [IclipMap_t] More bugfixes 2016-12-23 01:03:17 +01:00
momo5502
da59feb2d6 [ZoneBuilder] Inline pointer conversion 2016-12-23 00:24:25 +01:00
momo5502
48059698c1 [IclipMap_t] Don't store collision borders 2016-12-23 00:10:49 +01:00
momo5502
9fab21c269 [ZoneBuilder] Some clipmap fixes (which don't work 😦) 2016-12-22 23:21:20 +01:00
momo5502
66c35f7f47 [IclipMap_t] Add logging 2016-12-22 18:38:27 +01:00
momo5502
470361848e [ZoneBuilder] Small fixes in clipmap 2016-12-22 15:28:09 +01:00
momo5502
a4ad38c4d9 [IFxWorld] Structure fixes 2016-12-22 12:58:12 +01:00
momo5502
336a891d26 [Debugging] Slightly optimize zb writing 2016-12-22 12:53:52 +01:00
momo5502
403974b9cc [Debugging] Slightly optimize iw4 reading log 2016-12-22 12:37:09 +01:00
TheApadayo
296af1716a [ZoneBuilder] Added IFxWorld interface, should work fully 2016-12-22 00:42:53 -05:00
TheApadayo
f8a50eda81 2016-12-21 20:59:37 -05:00
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
momo5502
fac7f0ef4c [AssetHandler] Use thread_local declaration instead of mutex 2016-12-21 17:08:15 +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
28767e9b56 [AssetHandler] Controll bypass for each thread individually 2016-12-19 20:55:38 +01:00
momo5502
bac3f4cd44 [AssetHandler] Use mutex to synchronize DB_FXAH access 2016-12-19 19:41:29 +01:00
momo5502
d8d67898f3 [ModelSurfs] Fix possible memory leak 2016-12-19 18:14:15 +01:00
momo5502
2b226dbcdb [Command] Add openLink command 2016-12-18 17:42:25 +01:00
momo5502
241915d37b [General] Use unordered_map where it makes sense 2016-12-18 13:24:15 +01:00
momo5502
5ef1c17e56 [Localization] Remove unnecessary localizations 2016-12-17 13:28:17 +01:00
momo5502
b045a488e1 [AntiCheat] Add --ac-disable premake flag 2016-12-17 12:58:16 +01:00
momo5502
dc6d78187c [FileSystem] Abstract file interfaces and rawfile interface 2016-12-16 22:42:28 +01:00
momo5502
6aa94712e2 [Bots] Fix spawning a second bot 2016-12-15 20:05:50 +01:00
momo5502
deca58db58 [Dvar] Don't use Steam name for now, it's not ready yet 2016-12-15 19:18:08 +01:00
momo5502
f0e234dd2a [Material] Fix previews for zonebuilder 2016-12-14 18:12:29 +01:00
momo5502
bb6b1b0764 [Network] Ignore WSAENETRESET error 2016-12-14 17:26:49 +01:00
momo5502
61647226f4 [Materials] Use reader to hopefully prevent concurrency errors 2016-12-13 22:19:18 +01:00
momo5502
bc5aed43d8 [Materials] Redirect preview images to loadscreens
This is a temporary workaround. We should create real previews!
2016-12-13 21:31:51 +01:00
momo5502
f1d90af0d7 [Dedicated] Fix frame handler 2016-12-13 19:26:30 +01:00
momo5502
22900cf1ed [Dvar] Use steamname as initial name 2016-12-10 13:07:45 +01:00
momo5502
5cd08907a8 [IFxEffectDef] Parse version 2016-12-10 13:07:45 +01:00
momo5502
13f4af34b2 [Network] Allow cl_maxpackets 125 2016-12-08 21:23:06 +01:00
momo5502
fb8958d2ea [Dedicated] Time wrapping workaround 2016-12-08 20:07:42 +01:00
momo5502
183da91131 [Party] Re-Ignore configstring checksums 2016-12-08 20:07:42 +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
788ccae967 [Command] Use pointers instead of an abstraction interface for params 2016-12-07 20:00:24 +01:00
momo5502
835597fbf6 [ZoneBuilder] Version system for models and anims 2016-12-07 18:53:01 +01:00
momo5502
d6a2dbdd2b [Command] Implement abstract parameter interface 2016-12-07 18:53:01 +01:00
momo5502
107076c26a [FastFiles] Partially correct fastfile progress 2016-12-06 21:16:02 +01:00
momo5502
566cad6784 [IFxEffectDef] Prepare efx loading 2016-12-06 19:36:57 +01:00
momo5502
1907677070 [Party] Reimplement some configstring checks 2016-12-05 20:43:42 +01:00
momo5502
68548ad45a [Threading] Make the game run single-threaded 2016-12-05 20:43:16 +01:00
momo5502
ef263d35c1 [QuickPatch] Remove profile loading error 2016-12-05 17:50:46 +01:00
momo5502
6a14220ee7 [Maps] Load sun from main zone instead of gfxworld basename 2016-12-04 21:42:05 +01:00
momo5502
38aba91cc9 [Maps] Load raw suns 2016-12-01 21:00:09 +01:00
momo5502
2c0f582427 [MinidumpUpload] Correct getName override 2016-11-29 21:39:03 +01:00
momo5502
c8a5268c2e [ZoneBuilder] Force sound loading, structs aren't touched 2016-11-29 21:33:31 +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