Paging Red
010ac3ad3e
Add IW3 PhysPreset dump logic ( #744 )
...
* Copied template from font.
* Create PhysPreset writer from Font dumper template.
* Completely refactor to match previous implementation.
* Remove files from previous implementation.
* Fix PhysPresetFields.
* Add missing fields and correct order.
* Add static infinity check as builtin does not work.
* Wasn't clang formatted.
* Remove unused 'perSurfaceSndAlias' field.
* Removed unsupported vals (tracer & vehicle) and un-needed vals (material).
* Make order match struct and mark 'tempDefaultToCylinder' as QBOOLEAN.
* Make order match struct and clamp vals for 'mass' and 'tempDefaultToCylinder'.
* Remove un-needed includes and add limits for float max.
* Remove clamping of mass.
* Use float max to determine if friction is infinite.
* Clang format.
* chore: formatting
* chore: do not use classes for obj constants
---------
Co-authored-by: njohnson <gitea.nicholasjohnson.info>
Co-authored-by: Jan Laupetin <jan@laupetin.net >
2026-04-23 23:27:34 +02:00
Jan Laupetin
161ab45306
chore: handle iw4 technique flags
2026-03-14 09:09:57 +01:00
Jan Laupetin
bb9dba4132
chore: add CommonCodeSourceInfos for IW4
2026-03-14 09:09:45 +01:00
Jan Laupetin
e749514972
fix: compilation with CommonTechset
2026-03-02 22:08:55 +00:00
Jan Laupetin
e61ec8582a
chore: use CommonTechset instead of TechsetDefinition
2026-03-02 22:08:55 +00:00
Jan Laupetin
18ccbb9180
feat: dump techsets for t6
2025-12-16 11:47:25 +00:00
Jan
b05a473e6a
fix: iw4 materials not writing correct stateBitsEntry
2025-06-28 14:51:04 +01:00
Jan
7ef944ebd4
chore: refactor IW4 asset loaders
2025-01-01 18:14:41 +01:00
Future
2d28f423ef
feat(iw4): load leaderboard definitions from raw
2024-05-25 17:00:18 +02:00
Jan
3201cefd5b
chore: rename accuracy table properties in weapon structs
2024-05-20 10:41:57 +02:00
Jan
e8ab3ba92d
chore: rename iw4/iw5 column id property to colId
2024-05-19 13:31:53 +02:00
Jan
0c0103c998
chore: rename leaderboardDef folder to leaderboard
2024-05-19 12:09:26 +02:00
Jan
489e4d033e
chore: only dump leaderboard values when they are relevant for the column
2024-05-19 11:46:21 +02:00
Future
7ba5a616cd
feat: dump leaderboard definitions on IW4/IW5
2024-05-19 08:55:06 +02:00
Jan
a1cf4ef30b
feat: load iw4 weapons from raw
2024-04-02 23:49:06 +02:00
Jan
df7b25b854
feat: dump t6 materials as json
2024-02-18 10:16:43 +01:00
Clang Format
6b4f5d94a8
Reformat code with clang format
2023-11-19 21:07:21 +00:00
Jan
1757caa33d
fix statemap layout for iw4 for wireframe
2022-08-21 01:25:04 +02:00
Jan
db60287a7b
Apply statemaps to materials
2022-08-20 19:23:49 +02:00
Jan
c5cfdfde89
Add statemap validation in debug mode
2022-08-20 15:11:08 +02:00
Jan
2dd8660824
Add supplemental data for iw4 statemap layout
2022-08-20 14:37:05 +02:00
Jan
53bfcadea8
Add StateMap parsing
2022-08-13 19:26:33 +02:00
Jan
c010355d4a
Dump material tile and filter properties
2022-08-06 18:47:28 +02:00
Jan
5771044c08
Material dumping and loading stuff
2022-08-06 10:52:52 +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
Jan
0cbf234faf
Use string constants for material loading
2022-07-23 14:33:27 +02:00
Jan
92d808b7a4
Use constants for material sort key names
2022-07-23 13:05:37 +02:00
Jan
82349d3432
Material loading base
2022-07-15 11:21:54 +02:00
Jan
638b659a48
Example material stencil values and blendfunc
2022-05-08 12:44:34 +02:00
Jan
cc2f0ca487
Write Statebits data to gdt materials
2022-05-02 21:11:51 +02:00
Jan
01d9a4d912
Improve recognition of material types
2022-04-29 23:55:10 +02:00
Jan
2823a46b92
Add improvements from iw3 material dumping to iw4
2022-04-21 19:58:49 +02:00
Jan
2114b761b0
Dump iw4 materials as json for data investigation purposes
2022-04-18 14:46:13 +02:00
Jan
9990338130
Handle custom samplers
2022-04-15 16:34:44 +02:00
Jan
65c9267b06
Correctly identify update frequencies for shader arguments
2022-04-15 16:01:39 +02:00
Jan
99c7ebbe9b
Load vertex decl asset
2022-04-10 19:39:26 +02:00
Jan
e0bcf7aff0
Load Vertex Stream Routing
2022-04-10 17:48:12 +02:00
Jan
7d2ca46cb1
Dump known material argument hashes
2022-04-09 19:07:24 +02:00
Jan
ef936eba57
Dump IW4 techset code constant argument mappings
2022-03-24 23:04:35 +01:00
Jan
25244bc3b0
Dump IW4 techset files
2022-03-23 14:42:17 +01:00
Jan
c9a0392fc1
Dump IW4 tracers
2022-01-15 16:04:49 +01:00
Jan
5b68b21755
Move IW4 weapon and vehicle fields to separate header files
2022-01-15 16:04:35 +01:00
Jan
bcafddd83a
Dump and load iw4 physpresets
2022-01-02 10:25:48 +01:00
Jan
805c00539b
Move IW4 menu dumping logic to separate class and constants to common scope
2021-10-24 14:59:43 +02:00
Jan
abcce11b00
Split InfoString classes into multiple files depending on loading and writing code
2021-03-24 13:51:21 +01:00
Jan
313e9e9f1a
Remove reference asset names from info strings
2021-03-06 21:20:13 +01:00
Jan
3b1e62e398
Add dumping of iw4 weapon files
2020-10-26 01:00:24 +01:00