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
daa891a922
feat: add techset compiling for IW3
2026-03-14 20:54:59 +01:00
Jan Laupetin
5993c88897
feat: dump iw3 technique sets
2026-03-14 20:54:59 +01:00
Jan Laupetin
edcc6774c7
fix: not reusing cbrushedge_t type in iw3,iw4 clipMap
2026-03-14 16:01:30 +01:00
Jan Laupetin
bf9beb1458
chore: make sure TechsetCompilerT6 sets proper worldVertFormat
2026-03-02 22:08:55 +00:00
Jan Laupetin
aa47ffa629
refactor: introduce subasset loading
2026-02-05 18:17:15 +01:00
Jan Laupetin
00546740e4
fix: filling union members that are not supposed to be written
...
* This causes some pointers to be partially overwritten when filling in the wrong order as well
2026-01-17 00:45:21 +00:00
Jan Laupetin
4cdccba016
feat: add embedded image loader for every supported game
2026-01-05 09:50:21 +00:00
Jan Laupetin
4b5cea3180
fix: iw3/iw4 xmodels having invalid collLod
2025-07-10 17:57:48 +01:00
Jan
311d5935b3
feat: use templated xmodel loading and dumping code for iw3
2025-07-10 16:59:23 +01:00
Jan
65c8cd6198
feat: add json material loading/writing for iw3
2025-07-05 13:27:49 +02:00
Jan
dd9b0915d9
fix: wrong XQuat structs for iw3,t5
2025-06-22 21:38:11 +01:00
Jan Laupetin
2230efbd27
chore: make xquat and xquat2 structs to improve handling from zcg
2025-06-19 20:45:19 +01:00
Jan
03ccede91c
refactor: implement base x64 fastfile loading for iw4
2025-06-19 18:59:20 +01:00
Jan Laupetin
4ccd0a55cf
chore: adjust game structs to have custom alignment when they are
...
platform independent
2025-04-27 21:05:22 +02:00
Jan Laupetin
a6107e24a2
chore: disable type alignment on x64 for x86 games
2025-04-26 19:48:03 +02:00
Jan
5d0c94e430
refactor: fix x64 compilation for ObjLoading
2025-04-26 19:48:03 +02:00
Jan
5cc52c42cd
refactor: image and obj data loading
2024-09-26 07:22:35 +02:00
Jan
3201cefd5b
chore: rename accuracy table properties in weapon structs
2024-05-20 10:41:57 +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
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
638b659a48
Example material stencil values and blendfunc
2022-05-08 12:44:34 +02:00
Jan
c91d71e809
Dump iw3 materials
2022-04-21 19:58:31 +02:00
Jan
636034d87c
Add menu ItemType enums to all games
2021-08-27 21:46:02 +02:00
Jan
1e1485cedc
Add IW3 xmodel dumping
2021-08-14 11:35:41 +02:00
Jan
2edca7a57e
Add T5 basis
2021-04-27 18:19:32 +02:00
Jan
775bf01752
Add Image loading for dds textures for iw3
2021-04-28 15:29:56 +02:00
Jan
e6a10fb992
fix iw3 gcc compatibility
2021-04-15 18:35:36 +02:00
Jan
12c2629061
Make xmodel counts unsigned for iw3
2021-04-15 17:08:02 +02:00
Jan
742cb596e6
Fix iw3 xanim not using different structs for dynamic indices
2021-04-15 11:45:17 +02:00
Jan
4e05bc6b44
Fix errors in iw3 commands and structs
2021-04-15 10:37:39 +02:00
Jan
ecef868903
Add loading of iw3 fastfiles
2021-04-14 19:41:41 +02:00
Jan
6b72ac080f
Finish iw3 zone code generation
2021-04-14 18:39:54 +02:00
Jan
adae75a7a6
add rest of iw3 commands
2021-04-14 16:49:17 +02:00
Jan
ce61ef8a45
iw3 clipmap, sounds, image commands
2021-04-14 12:07:45 +02:00
Jan
8342395823
IW3 Material Commands
2021-04-12 22:07:55 +02:00
Jan
1267b8aa7b
iw3 basis
2021-04-12 19:18:55 +02:00