Commit Graph

336 Commits

Author SHA1 Message Date
rackover
eebd0ae1da Cleanup & handle flag conversion in iw3xport 2021-04-12 00:44:11 +02:00
rackover
eebc48ab7c Set correct type flags when loading soundaliases (this should be in iw3xport, i'll move it later) 2021-04-12 00:44:03 +02:00
rackover
7dbb258a47 Correct array allocation for loaded sounds 2021-04-12 00:43:55 +02:00
rackover
e19409f550 Zonebuilder builds sounds & loaded_sounds now 2021-04-12 00:43:38 +02:00
rackover
4db236c852 Additional techset matching 2021-04-12 00:43:29 +02:00
rackover
d6394f0c69 weapon zonebuilding fix? 2021-04-07 15:17:56 +02:00
rackover
a2c8705868 Do not overwrite a techniqueset with another, the game really doesn't like taht 2021-04-06 21:16:44 +02:00
rackover
ace08107fe Only read clipmap models if we have a clipmap model count 2021-04-06 21:16:37 +02:00
rackover
aa85b95740 Added more techset matching 2021-04-06 21:16:04 +02:00
rackover
aa9f98b0e7 Fix warnings, fix post-rebase issues 2021-04-05 18:13:00 +02:00
rackover
fe2e2f1b3c Read clipmap from clipmap file (already converted) instead of converting it on the fly 2021-04-05 17:29:57 +02:00
rackover
953dcd2057 Material error formatting using const char* instead of string 2021-04-05 17:29:57 +02:00
rackover
529e44ac51 Fixed clipmap trigger brushmodel conversion (correct indexing) 2021-04-05 17:29:55 +02:00
rackover
d610e85176 C-Compliant clipmap trigger conversion 2021-04-05 17:29:53 +02:00
rackover
fe8571a0c6 Enhanced material matching for iw3 maps 2021-04-05 17:25:53 +02:00
rackover
f4838994f8 Small improvement to clipmap trigger generation code 2021-04-05 17:25:50 +02:00
rackover
ff8e321836 Fix soundalias building for zonebuilder 2021-04-05 17:25:48 +02:00
RektInator
7fbeacbe51 [Menus] Rollback old menu code 2019-10-03 19:23:06 +02:00
TheApadayo
07278ebbfa [ZoneBuilder] Add support for iw3 techsets, decl, vs, and ps 2019-02-01 16:16:42 -05:00
TheApadayo
c845572be5 Merge branch 'feature/assetinterface-weapon' into 'develop'
Add weapons to zonebuilder
2019-01-25 00:59:05 +01:00
TheApadayo
128ef8016b [Menus] Reduce complexity in the system for loading menus (+1 squashed commits) 2019-01-22 19:29:30 -05:00
TheApadayo
7c952eb548 [General] Fix warnings 2019-01-19 11:48:19 -05:00
TheApadayo
831291bdfe [ImenuDef_t] Add logging to menus and fix a bug in clearing the array pointer for float expression entries 2019-01-19 11:28:36 -05:00
TheApadayo
ad5a58462f [Menus] Properly load menus
Overridden menus are just loaded in iw4x_code_post_gfx_mp and new ones are added to ui_mp/iw4x.txt
2019-01-17 18:39:01 -05:00
TheApadayo
8080700432 [Menus] Rewrite how menus are loaded and used to support custom menu lists 2019-01-17 16:33:26 -05:00
TheApadayo
4dc912af3e [Menus] Start working on loading custom menus
Currently doesn't work to override menus so I'm going to have to rewrite some stuff
2019-01-16 23:52:42 -05:00
TheApadayo
4572425f00 [IWeapon] Write effects to fastfile as well. 2019-01-15 23:09:50 -05:00
TheApadayo
59ef8edbe2 [ITracer] Add tracer writing support 2019-01-15 21:48:34 -05:00
TheApadayo
43456aedbd [ZoneBuilder] Fix one small thing in weapon writing, change how we search for assets in common_mp as using DB_EnumXAssets was missing some of them, and allow the weapon loading function see zonebuilder assets 2019-01-15 19:40:57 -05:00
TheApadayo
5eb9996aea [IWeapon] More writer fixes for weapons 2019-01-13 13:19:18 -05:00
TheApadayo
a2b90deefe [IWeapon] First working version of interface. Successfully writes and verifies usp_mp 2019-01-11 14:20:48 -05:00
TheApadayo
b1966a3d2d [AssetInterfaces] Start working on weapon asset handler 2019-01-08 19:09:14 -05:00
momo5502
4fa89722a2 [General] Use const string references 2018-12-17 15:34:28 +01:00
momo5502
9ca19f8f7b [IMaterial] Better statebits 2018-05-10 18:10:56 +02:00
momo5502
0ac7f39b05 [IGfxImage] Fix wrong image resolutions 2018-05-10 13:44:11 +02:00
momo5502
d8b2318acd [IclipMap_t] Fix border mapping 2018-05-09 15:52:36 +02:00
momo5502
ceebe4dfd0 [IGfxImage] Fix image loading 2018-05-09 15:14:31 +02:00
momo5502
33a8baa9b5 [Game] Adapt to correct structures 2018-05-09 14:33:52 +02:00
momo5502
7ca3b49f1e [Game] Fix structure changes 2018-05-09 12:04:20 +02:00
momo5502
c3083ea78c [IMaterial] Fix materials 2018-05-09 11:20:17 +02:00
momo5502
08bc848267 [General] Small code fixes and optimization 2017-06-14 20:53:54 +02:00
momo5502
a1c14cd03f [Premake] Upgrade to VS2017 2017-06-13 14:52:43 +02:00
TheApadayo
9997367ded [clipMap_t] some attempts to generate triggers 2017-06-07 14:15:32 -04:00
momo5502
e1c85f81d6 [ZoneBuilder] Load native XModels when not explicitly specified in the csv
aka 'primary asset'
2017-06-05 21:03:04 +02:00
momo5502
089c0d152c [IMaterial] Add techset remapping 2017-06-02 22:18:14 +02:00
momo5502
15aea4e0bc [Node] Get serverlist from dedis 2017-05-30 20:31:00 +02:00
momo5502
350c451de8 [IMaterial] Find sortkey by comparing techsets 2017-05-30 10:52:22 +02:00
momo5502
7570ad055e [IMaterial] Fix for material remap fails 2017-05-30 10:09:27 +02:00
momo5502
f6a242c6b7 [IMaterialTechniqueSet] Correctly write all arguments 2017-05-29 10:54:20 +02:00
momo5502
df2dd13b1d [Maps] Make sure techsets are clean when sorting materials 2017-05-28 18:13:48 +02:00
momo5502
fc6c24ca30 [IFxEffectDef] Don't load native fx first 2017-05-25 15:01:28 +02:00
momo5502
9bf36c2c77 [IMaterial] Adjust missing techset message 2017-05-04 12:30:39 +02:00
momo5502
2c9a051aad [ZoneBuilder] Enumerate XAssetEntries instead of logging them 2017-05-01 13:08:34 +02:00
momo5502
d6a674b883 [Exception] Don't deadlock trying to close the window 2017-04-27 11:14:44 +02:00
momo5502
f7a337f04c [IMaterial] Update techset mapping 2017-04-26 08:05:11 +02:00
momo5502
7c728b4658 [General] Use preincrement 2017-04-24 22:33:13 +02:00
momo5502
cdf759736f [IMaterial] Indentation 2017-04-24 21:14:59 +02:00
momo5502
e2bad62c70 [IXModel] Remove legacy support 2017-04-24 21:14:50 +02:00
momo5502
a830fcde97 [General] Adjust shader structures 2017-04-22 21:47:04 +02:00
RektInator
c1615eb67f [Isnd_alias_list_t] Compiler warnings fixed. 2017-04-22 19:20:17 +02:00
RektInator
2e92534e4d [Isnd_alias_list_t] Property setting from json implemented, speakermap is todo. 2017-04-22 18:27:52 +02:00
momo5502
ef882ff398 [IMaterial] Fix mapping for effect techsets 2017-04-20 21:52:50 +02:00
momo5502
1b41692f36 [IFxEffectDef] Add fx importer 2017-04-20 21:28:01 +02:00
momo5502
34df306212 [IMaterial] Add mapping for fx materials 2017-04-20 21:27:38 +02:00
momo5502
dbe0af988f [IGfxWorld] Test pointer duplication 2017-04-18 19:28:00 +02:00
momo5502
6f72458a40 [IMaterial] Fix code analysis warning 2017-04-16 11:56:57 +02:00
momo5502
a177e20bf6 [IMaterial] Fix technique mapping 2017-04-16 01:51:41 +02:00
momo5502
79c38f44f3 [IGfxWorld] Reflection null check missing 2017-04-16 01:51:23 +02:00
momo5502
0218c76a26 [IMaterial] Check if replacement was found 2017-04-15 22:50:20 +02:00
momo5502
360729120c [General] Allow building custom maps 2017-04-15 16:48:43 +02:00
momo5502
2df233d694 [IclipMap_t] Read missing SModelAABBNodes 2017-04-07 22:07:23 +02:00
momo5502
556fd8ac16 [IMaterial] Better techset mapping 2017-04-03 22:08:02 +02:00
momo5502
0d1267f7d9 [IGfxWorld] Map all array entries 2017-04-01 10:34:34 +02:00
momo5502
3a0a5b8506 [Maps] Add dvar r_forceForwardModels for debugging 2017-03-28 14:09:24 +02:00
momo5502
b57aa4b262 [QuickPatch] Fix memory leak 2017-03-28 08:56:51 +02:00
TheApadayo
0b1f28bdae [IGfxWorld] More work, some possible fixes 2017-03-27 21:25:58 -04:00
momo5502
38080b7d73 [IGfxWorld] Make sure to allocate the necessary buffers 2017-03-27 18:01:23 +02:00
momo5502
50345ce512 [IGfxWorld] Sort world surfaces 2017-03-27 17:48:52 +02:00
TheApadayo
c02eede3f4 [IGfxWorld] My terrible attempt at sorting gfxsurfaces 2017-03-27 00:56:08 -04:00
TheApadayo
73e158e07e [clipMap_t] Revert all my model fuckery 2017-03-26 20:44:46 -04:00
TheApadayo
8b51792e61 [IclipMap_t] Broken model aabb tree generation. will finish later 2017-03-26 20:44:46 -04:00
momo5502
654b2210ce [IMapEnts] Correct map entities 2017-03-25 22:18:31 +01:00
momo5502
c77cbf39b2 [IMapEnts] Correct map ents if no preset found 2017-03-25 13:42:57 +01:00
momo5502
576b07891e [IXModel] Fix surfs sign 2017-03-25 13:42:21 +01:00
momo5502
bf86ba7033 [IFxWorld] Fix missing block pop 2017-03-20 21:20:19 +01:00
momo5502
19b6203272 [IGfxWorld] Fix runtime data overflow 2017-03-20 21:07:55 +01:00
momo5502
2690b6dab7 [clipMap_t] Fix warning 2017-03-20 12:40:06 +01:00
momo5502
94eaf9c94d [IComWorld] Add light support 2017-03-20 10:38:46 +01:00
TheApadayo
3427aa6e7f [clipMap_t] working on the quad tree for model nodes 2017-03-19 23:38:53 -04:00
momo5502
3ca58dd4ce [IGfxWorld] Map smodel index pointers 2017-03-19 02:09:05 +01:00
momo5502
3b6c502368 [IGfxWorld] Fix aabbtree structure 2017-03-19 00:24:11 +01:00
momo5502
21a2be135f [IXModel] Correctly read collision data 2017-03-18 15:20:32 +01:00
momo5502
5b0b14a5f5 [IPhyCollmap] Fix plane writing 2017-03-18 15:20:21 +01:00
momo5502
649605551d [IclipMap_t] Fix incorrect plane check 2017-03-18 15:20:04 +01:00
momo5502
d47cc138d5 [IMaterial] Refactor binary material format 2017-03-18 15:19:41 +01:00
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