151 Commits

Author SHA1 Message Date
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
94aee91592
chore: remove unnecessary weapon defaults 2024-04-21 19:49:01 +02:00
Jan
1601c87481
chore: set internal name earlier 2024-04-21 19:49:01 +02:00
Jan
191965a970
chore: do not only load infostring arrays as pairs but n entries 2024-04-21 19:49:00 +02:00
Jan
199be31835
fix: bounce sound for iw4 weapons 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
9b19b5f26f
fix: linux build 2024-04-03 00:10:06 +02:00
Jan
976fbf94f8
fix: make vertex decl asset references work when building 2024-04-02 23:52:38 +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
a1cf4ef30b
feat: load iw4 weapons from raw 2024-04-02 23:49:06 +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
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
Jan
cd53c3cbe4
Move D3DFormat definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:35:00 +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
Jan
82f3d4925f
Fix not respecting case-insensitive functions when converting menus 2023-12-14 19:32:51 +01:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
5ee5056c5d Fix considering string static value to not be true for visible expressions 2023-09-24 14:18:15 +02:00
Jan
e56fa67e46 Fix not setting dataType when loading menus 2023-09-24 10:30:03 +02:00
Jan
4829a4206b Ensure correct expression type for static expressions in menu parsing but do not enforce when permissive 2023-08-24 20:12:57 +02:00
Jan
ccc020ca7e Make key handler map a multimap to be able to support multiple handlers for the same key 2023-08-23 23:07:55 +02:00
Jan
399d8e834d Make IW4 menu rect def align be unsigned like IW5 2023-08-23 20:51:11 +02:00
Jan
34cdd46b42 Fix linux compilation 2023-06-18 12:20:55 +02:00
Jan
3bef176676 Fix wrong blend ops for screen add blend func 2022-08-21 12:29:04 +02:00
Jan
db60287a7b Apply statemaps to materials 2022-08-20 19:23:49 +02:00
Jan
595af125b9 Load state maps when loading techniques 2022-08-13 20:50:40 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
364d801d3f fix compilation on gcc 2022-08-07 19:23:30 +02:00
Jan
63e9dc0c43 Material loading effect base 2022-08-07 19:17:04 +02:00
Jan
a8bb1a5ead Load particle cloud materials 2022-08-07 15:45:40 +02:00
Jan
713eb77230 Add material loading for tools materials 2022-08-07 12:06:02 +02:00
Jan
f87039d324 Rename base statebits to base state bits 2022-08-06 23:11:24 +02:00
Jan
1e546d4a19 Write broken material statebits writing 2022-08-06 19:08:45 +02:00
Jan
f3b175ab08 Handle material alphatest gt0 2022-08-06 18:59:13 +02:00
Jan
c010355d4a Dump material tile and filter properties 2022-08-06 18:47:28 +02:00
Jan
028d8fde7d Skip material loading for other types than 2d 2022-08-06 16:15:29 +02:00
Jan
347c1b3d68 Fix material loading sortkeys and cameraRegion 2022-08-06 15:40:00 +02:00
Jan
5771044c08 Material dumping and loading stuff 2022-08-06 10:52:52 +02:00
Jan
a3a01660d6 Add TechsetDefinitionCache to cache loaded techset definitions 2022-08-06 10:52:35 +02:00
Jan
b474109452 depthtest, depthwrite, polygonOffset for material loading 2022-07-24 13:54:58 +02:00
Jan
dd09027f0b CullFace loading material 2022-07-23 22:16:46 +02:00
Jan
61b44070e4 alphatest, blendfunc, colorwrite material loading 2022-07-23 21:29:45 +02:00
Jan
2f948ea54a More material loading constants 2022-07-23 15:50:35 +02:00