155 Commits

Author SHA1 Message Date
Jan
eb0cec1d81
refactor: make LoadDependency and LoadIndirectAssetReference functions work with Asset template types 2024-04-22 23:36:21 +02:00
Jan
a3acba8bc0
chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
aa59768416
chore: remove previous manual lower case conversions of indirect asset references 2024-04-22 19:28:41 +02:00
Jan
4fb00bf368
Merge pull request #170 from diamante0018/main
maint(iw4): compress rawfiles just like on IW5 (fix zlib mem leak IW4, T5, IW5)
2024-04-21 20:22:08 +02:00
Jan
191965a970
chore: do not only load infostring arrays as pairs but n entries 2024-04-21 19:49:00 +02:00
6ed399be86
maint(iw4): compress rawfiles just like on IW5 2024-04-21 13:17:51 +02:00
Jan
d1a189defc
chore: convert anim names to lower before adding as indirect asset references 2024-04-02 23:49:24 +02:00
Jan
239001e6f2
refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan
4f0ee35740
refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan
e62e4c873e
fix: not loading t6 weapon camo shader consts from json 2024-03-24 16:57:47 +01:00
Jan
b1ff653dc8
style: fix formatting 2024-03-24 16:35:10 +01:00
Jan
742b8d5bc6
chore: restructure t6 weapon camo json 2024-03-24 16:24:05 +01:00
Jan
c881cd6fd3
feat: load t6 weapon camo from json 2024-03-24 16:24:05 +01:00
Jan
af37476e23
chore: make material json loader use anonymous namespace 2024-03-24 16:24:01 +01:00
Jan
cf891e458a
chore: move json classes to json folder 2024-03-24 00:51:33 +01:00
Jan
a0a420f7f1
fix: build on linux 2024-02-29 17:27:48 +01:00
Jan
0bb17a33bd
feat: load materials from json 2024-02-29 17:27:48 +01:00
Jan
1f6d0ab51a
chore: replace material dumping with lib recommendation of serializing and deserializing json 2024-02-29 17:27:44 +01:00
Jan
62e08c29bd
fix: attachment unique overwrites handling being incorrect 2024-02-15 21:13:58 +01:00
Jan
b9bf4778fa
fix: fix weapon attachment unique hidetags 2024-02-13 23:53:59 +01:00
Jan
66e8f8fa78
chore: use cerr for error messages in weapon assets for t6 2024-02-13 23:53:42 +01:00
Jan
68dfac10db
fix: consider attachmentunique szXAnims an assetref 2024-02-13 16:57:15 +01:00
Alex
e61c58c4c5 allow sound aliases without explicit files 2024-02-12 11:54:43 -05:00
Jan
05ce73049d
chore: small code cleanups 2024-02-10 10:52:02 +01:00
Alex
f7ece105ed more linux build fails 2024-02-09 12:04:41 -05:00
Alex
2478a1355f code review changes 2024-02-09 11:39:51 -05:00
Alex
aa2bebedde
Merge branch 'Laupetin:main' into main 2024-02-06 22:01:47 -05:00
Jan
2dd4eaf54f
feat: automatically load anims of weapons in t6 2024-02-06 23:56:31 +01:00
Jan
ce31472f7f
fix: notetracksoundmap initialized with empty string instead of nullptr in t6 2024-02-04 21:16:01 +01:00
Jan
27cd703cbd
fix: weapon hidetags initialized with empty string instead of nullptr in t6 2024-02-04 21:10:29 +01:00
Alex
9254e25b22 fix loaded sound banks and generating streamed sound banks 2024-02-02 16:48:23 -05:00
Alex
365502d819 more linux build errors 2024-01-26 12:58:31 -05:00
Alex
4e8d335c26 add climits for linux builds 2024-01-26 12:46:37 -05:00
Alex
80da882b4d
Merge branch 'Laupetin:main' into main 2024-01-26 12:15:26 -05:00
Alex
a020de6f80 SoundBankWriter code 2024-01-26 12:14:47 -05:00
Alex
acd9fa27fc reverb and duck loading. cleaned up asset loading with custom csv parser 2024-01-24 22:01:47 -05:00
Alex
2323b322ca finish SndAliasList loading 2024-01-24 01:13:40 -05:00
Jan
2a1b64021b
chore: use generic loaders for iw4,iw5,t5,t6 instead of duplicating implementations 2024-01-20 15:38:38 +00:00
Jan
09f3313d76
chore: make localize common loaders const 2024-01-20 11:39:26 +01:00
Alex
b10c752391 populate sound alias sub lists correctly. allocate memory for loadedAssets count 2024-01-15 12:58:14 -05:00
Alex
b5dd6df1cd begin working on SndBank loading from raw 2024-01-12 16:38:53 -05:00
Jan
44b0f4da5e
Move DXGI_FORMAT definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:41:50 +01:00
Jan
7c50dd84a7
Reduced duplicated code between localize asset loaders 2023-12-31 13:32:38 +01:00
Jan
196e2edd8a
Use ZoneState to check whether localize key is duplicated 2023-12-31 12:28:13 +01:00
Jan
e4cfda73dc
Move localize parsing into localize root folder 2023-12-31 11:09:45 +01:00
09f7473db4
feat: add warning for dupe localize assets 2023-12-26 16:57:28 +01:00
JezuzLizard
8b62bc0bc0 Address review comments. 2023-12-14 13:48:44 -08:00
JezuzLizard
96e67dc1fa Use clang-format. 2023-12-14 13:28:16 -08:00
JezuzLizard
bcf9956da2 Fix warning. 2023-12-14 13:28:16 -08:00