Commit Graph
11 Commits
Author SHA1 Message Date
JanandGitHub b4477ac1a9 refactor: accuracy graph subassets (#847)
* refactor: use subassets to load accuracy graphs for iw4,iw5,t5,t6

* fix: not dumping anim names for t5 weapons and t6 attachment unique

* refactor: dump accuracy graphs like a subasset

* refactor: use shared method for accuracy graph filenames
2026-06-20 17:16:37 +02:00
Paging RedGitHubnjohnson <gitea.nicholasjohnson.info>Jan Laupetin
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 <[email protected]>
2026-04-23 23:27:34 +02:00
Jan Laupetin aa47ffa629 refactor: introduce subasset loading 2026-02-05 18:17:15 +01:00
Jan Laupetin 6a84d1ea68 chore: generalize IAssetDumper interface 2025-10-15 20:06:01 +01:00
Jan Laupetin c6e9cbedda feat: report on unlinking progress 2025-10-14 23:20:56 +01:00
Jan Laupetin 46fb919a52 refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
2025-08-06 00:50:35 +02:00
Jan Laupetin 0546572ecf refactor: streamline weapon dumping 2025-08-03 17:40:24 +02:00
Jan Laupetin 39fe9965d1 refactor: move iw3,iw4,iw5,t5 dumpers into seperate folders 2025-07-25 21:23:49 +01:00
Jan 308816a38e chore: write game into dumped jsons to prevent mixup of incompatible formats 2025-06-24 19:50:24 +01:00
Jan 28949f4ee8 chore: use constants for model array sizes in iw5 attachment writing 2024-04-21 19:39:28 +02:00
Jan 9248cc323c feat: dump iw5 weapon attachments as json 2024-04-14 12:48:18 +02:00