momo5502
b2aa36ca5c
[IGfxWorld] Map cplane pointer
2017-03-17 23:42:05 +01:00
momo5502
15a6f87057
[IclipMap_t] Map cplane pointer
2017-03-17 23:41:50 +01:00
momo5502
8366cbdfbc
[IclipMap_t] Fix asset type
2017-03-16 20:54:17 +01:00
momo5502
3b702b9d9a
[IclipMap_t] Use existing clipmap as base
2017-03-16 20:40:32 +01:00
RektInator
19d122e187
[ImenuDef_t] 2 alignment issues fixed, some menu's still don't work though.
2017-03-02 00:20:20 +01:00
RektInator
643a3a36d5
[ImenuDef_t] Added sub save_ functions to ImenuDef_t interface
2017-02-26 14:54:19 +01:00
RektInator
23e1127e08
[ImenuDef_t] SelectIcon marking for feeder data
2017-02-26 13:10:48 +01:00
RektInator
f6d367e28b
[IFont_s] Font_s interface added
2017-02-26 12:57:02 +01:00
RektInator
509740b747
[ImenuDef_t] This wont be needed anymore.
2017-02-26 11:49:16 +01:00
RektInator
d1fbaf3f30
[ImenuDef_t] multiDef_s itemDefData writing
2017-02-26 11:45:53 +01:00
RektInator
edd906170b
[ImenuDef_t] itemDefData is now functional for most item types.
...
multiDef_s is todo.
2017-02-26 11:36:58 +01:00
RektInator
5e9e7e630d
[ImenuDef_t] ItemFloatExpressions are now functional
2017-02-26 11:25:22 +01:00
RektInator
1051a0b019
[ImenuDef_t] itemDefData writing in progress
2017-02-25 23:47:24 +01:00
RektInator
380d15ab07
[ImenuDef_t] ExpressionSupportingData writing
2017-02-25 22:02:58 +01:00
RektInator
26f8b86936
[ImenuDef_t] Menu marking.
2017-02-25 21:11:17 +01:00
RektInator
8c36783f1d
[IMenuList] asset marking.
2017-02-25 21:07:27 +01:00
RektInator
dafd117d07
[ImenuDef_t] Renamed IMenu to ImenuDef_t.
2017-02-25 21:01:06 +01:00
RektInator
e1c3ecdf4d
[IMenu] Initial commit
2017-02-25 20:55:04 +01:00
RektInator
bd8a746811
[IMenuList] Initial commit
2017-02-25 19:41:54 +01:00
momo5502
a4abdd9dcb
[StructuredData] Add 15 classes code, still not fully working!
2017-02-20 19:18:07 +01:00
momo5502
4a70fbf4c4
[ILoadedSound] Fix missing sound
2017-02-13 22:33:15 +01:00
momo5502
924e42ef33
[Isnd_alias_list_t] Fix missing sound
2017-02-13 22:33:15 +01:00
TheApadayo
f98562ebe0
[ILoadedSound] small fixes
2017-02-13 11:24:21 -05:00
TheApadayo
c8b93dfa20
[Isnd_alias_list_t] Add loader for sound aliases, really simple JSON format. (just type and soundFile entries, both strings)
2017-02-13 11:24:21 -05:00
TheApadayo
78826adeab
[LoadedSounds] Added RektInator's wav file loader for loaded sounds
2017-02-13 11:24:21 -05:00
momo5502
b3f83fe955
[General] Fix code analysis warning and memory leaks
2017-02-10 14:17:01 +01:00
momo5502
2d828d27db
[IFxEffectDef] Continue with the efx parser
2017-02-09 21:14:47 +01:00
momo5502
82e9f3864c
[General] Refactor all the code
...
This is the actual refactoring, the last commit was broken
2017-01-20 22:41:03 +01:00
momo5502
079bc920a8
[General] Basic refactoring
2017-01-20 14:37:52 +01:00
momo5502
74b34f2a6d
[LineEndings] Fix them all
2017-01-19 22:55:15 +01:00
sr0
e1a4e3ec27
Remove .gitattributes file
2017-01-18 23:44:36 +01:00
momo5502
c1ddfdf1e2
Merge branch 'my-commits-because-nothing-works-due-to-/dev/roots-crap' into 'develop'
...
My commits because nothing works due to /dev/roots crap
2017-01-18 15:18:25 +01:00
momo5502
3cadc64d13
[ModelSurfs] Skip releasing if buffer is empty
2017-01-18 14:55:18 +01:00
momo5502
4a4e938b00
[IXModel] Don't load physpreset for ak74u
2017-01-18 14:55:02 +01:00
/dev/root
6c9e28ff42
[LineEndings] Fix crlf lineendings
...
- added gitattributes file to force crlf for hpp/cpp/lua
2017-01-16 17:42:50 +01:00
momo5502
b8aa24b19d
[ZoneBuilder] Add support for empty assets
2017-01-13 15:47:21 +01:00
momo5502
2e4c234aa3
[IMaterial] Temporary workaround for broken materials
2017-01-08 19:37:07 +01:00
momo5502
7a8176238f
[General] Enable custom map code only in debug mode
2017-01-08 19:37:07 +01:00
momo5502
c9d160c72a
[General] Get rid of unnecessary submodules
2017-01-06 15:27:35 +01:00
momo5502
1148dac0ff
[IXModel] Import phys preset
2017-01-06 14:36:18 +01:00
momo5502
c8efcd694a
[IXModel] Zero smc stuff, it breaks the model
2017-01-04 00:03:20 +01:00
momo5502
4c9d394958
[IXModel] Fix lod surface pointer
2017-01-03 23:25:52 +01:00
momo5502
ff72493ce3
[IXModel] Finally XModels are correct
2017-01-03 22:04:10 +01:00
momo5502
b28df707b4
[IXModel] Correct more structs
2017-01-03 20:09:53 +01:00
momo5502
7d9c588e0e
[IXModel] Use correct XModel structure
2017-01-02 22:37:00 +01:00
momo5502
45c49d4171
[IXModel] Correctly load coll surfs
2017-01-02 19:31:32 +01:00
momo5502
2c7b7f6d87
[IXModel] Correct model loading
2017-01-01 20:04:20 +01:00
momo5502
6e689766df
[IMapEnts] Use IW4C if available
2016-12-31 15:53:48 +01:00
momo5502
aafa121ff1
[IMaterial] Fix water
2016-12-31 15:26:33 +01:00
momo5502
7135ef2a60
[IComWorld] Mark light definition
2016-12-31 03:48:49 +01:00
momo5502
8d7be2a74f
[IclipMap_t] Small fixes
2016-12-30 17:26:32 +01:00
momo5502
6e39c71243
[IGfxImage] Try fixing non-streamed images
2016-12-30 15:54:48 +01:00
momo5502
67a4e5c598
[IGfxWorld] Small fixes
2016-12-30 15:54:33 +01:00
TheApadayo
3b986f18af
2016-12-29 22:15:43 -05:00
TheApadayo
307e67b056
[Structs] Update with correct cbrushside_t structure
2016-12-29 22:14:50 -05:00
momo5502
63bc0db0b3
[IclipMap_t] Optimize leafbrushnode reading
2016-12-30 03:39:23 +01:00
momo5502
554a1f717f
[IclipMap_t] Only clear runtime data if necessary
2016-12-30 02:03:10 +01:00
TheApadayo
8fb9ae08c1
[GfxWorld] Make sure runtime data gets allocated if applicable
2016-12-29 19:30:07 -05:00
TheApadayo
392d7fa5a6
[MapEnts] Add fake stage 0 to fully custom ends
2016-12-29 19:29:35 -05:00
momo5502
3b3985b159
[IMapEnts] Fix raw entity loading
2016-12-29 23:52:23 +01:00
momo5502
0686439dbb
[IclipMap_t] Fix loading
2016-12-29 23:52:02 +01:00
momo5502
c3fe22c883
[IclipMap_t] Reformat code
2016-12-29 21:54:25 +01:00
TheApadayo
8974da19bb
[ZoneBuilder] Random fixes but clipmap import still doesn't work
2016-12-29 14:51:42 -05:00
TheApadayo
e95bf591cf
[clipMap_t] importer bugfxies plus some new structs
2016-12-29 14:15:09 -05:00
TheApadayo
72a7f8c226
[clipMap_t] added clip map importer
2016-12-29 14:15:09 -05:00
momo5502
3d7f3482c7
[IGfxImage] Fix for native non-streamed images
2016-12-29 15:59:11 +01:00
momo5502
ab7a837ebc
[IMaterial] Fix water
2016-12-29 03:06:30 +01:00
momo5502
e5e164e9b5
[IGfxImage] Fix non-streamed image loading
2016-12-29 02:21:45 +01:00
momo5502
9130a57465
[IGfxWorld] Finish importer
2016-12-29 00:54:50 +01:00
momo5502
03345e8d21
[General] Correct assettype enum
2016-12-28 21:35:30 +01:00
momo5502
8dbba5c5a5
[IMaterial] Fix compilation
2016-12-27 20:59:57 +01:00
momo5502
cb4f4a8321
[IMaterial] Correct loading order
2016-12-27 19:55:38 +01:00
momo5502
e909329910
[IMaterial] Sortkey workaround
...
Search a material with the same techset and copy its sortkey
2016-12-27 19:22:52 +01:00
TheApadayo
021ec9f1c4
[IGfxWorld] Null light maps in import testing
2016-12-27 10:43:20 -05:00
momo5502
43db338a5a
[General] Fix compiler warnings
2016-12-27 15:33:47 +01:00
momo5502
803596214d
[IMaterial] Correctly load images
2016-12-27 04:22:20 +01:00
momo5502
ea90c4be6b
[IMaterial] Correct constant reading
2016-12-27 00:12:07 +01:00
momo5502
a56e28db74
[IGfxImage] Fix image loading
2016-12-26 22:28:46 +01:00
momo5502
2c90324f25
[IMaterial] Give feedback for missing techsets
2016-12-26 19:43:53 +01:00
momo5502
f2f7ac9230
[IMaterial] Small fixes
2016-12-26 18:44:33 +01:00
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
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
83b25f6348
[IFxEffectDef] Ensure effects are 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
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
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
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
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
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
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