2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-17 07:21:43 +00:00
Commit Graph

435 Commits

Author SHA1 Message Date
njohnson 72dd51609f Clang format. 2026-05-16 09:54:26 +02:00
njohnson 336c9d8d86 Fix LMAP parsing and don't resolve till after ptr is ready. 2026-05-16 09:54:26 +02:00
njohnson 4208bab758 Remove un-needed constants and switch to parsing name by null character. 2026-05-16 09:54:25 +02:00
njohnson d1b74c7230 Remove vestigial lmapLookupStart code. 2026-05-16 09:54:25 +02:00
njohnson 42ed9d8616 Move const to anonymous namespace. 2026-05-16 09:54:25 +02:00
njohnson efbbc05626 Clang format. 2026-05-16 09:54:25 +02:00
njohnson e92681914f Add CreationState to fill in lightdef lookup start. 2026-05-16 09:54:24 +02:00
njohnson 531b4811ca Fill in lookup start. 2026-05-16 09:54:24 +02:00
njohnson 773fee4a03 T5 and T6 set lmapLookupStart to 0. 2026-05-16 09:54:24 +02:00
njohnson 7d3791a404 Change manual CString reader to std::getline builtin. Don't require cucoloris be present. 2026-05-16 09:54:23 +02:00
njohnson e0c1ba1724 Remove unused max constant. 2026-05-16 09:54:23 +02:00
njohnson 2b3f680d48 feat: add t6 gfxlight dumper and loader 2026-05-16 09:54:23 +02:00
njohnson 5b6a725f78 feat: add t5 gfxlight dumper and loader 2026-05-16 09:54:23 +02:00
njohnson 3c15f8ad7e feat: add iw5 gfxlight dumper and loader 2026-05-16 09:54:22 +02:00
njohnson a905a6d161 feat: add iw3 gfxlight dumper and loader 2026-05-16 09:54:22 +02:00
Jan Laupetin 2d2ea30b45 fix: iw5 uses isFrictionInfinity as well 2026-05-03 16:00:30 +02:00
Jan Laupetin a31d3c4b88 fix: iw4 physpreset uses FLT_MAX as infinite friction 2026-05-03 15:56:09 +02:00
Jan Laupetin 67bdb79654 fix: do not clamp iw4 physpreset mass 2026-05-03 15:46:52 +02:00
njohnson 1d6c028454 Clang format. 2026-05-02 12:04:51 +02:00
njohnson 0eb1f9f978 Add IW5 SndCurve dumper. 2026-05-02 12:04:51 +02:00
njohnson dec2ae96cb Add loader logic from IW4. 2026-05-02 12:04:50 +02:00
njohnson 3136a03754 Add dumper and loader call to parents. 2026-05-02 12:04:45 +02:00
Paging Red 759a3ccf0e Merge pull request #753 from pagingred/iw5_physpreset_dumper
feat: phys presets dumping and loading for IW3, IW5, T5
2026-05-02 12:01:59 +02:00
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 a497efe67b feat: compile iw5 techsets 2026-03-18 23:04:41 +01:00
Jan Laupetin e8b9ece6bd feat: t5 techset compiling 2026-03-14 23:38:59 +01:00
Jan Laupetin daa891a922 feat: add techset compiling for IW3 2026-03-14 20:54:59 +01:00
Jan Laupetin 6e19b94b9b chore: use templated loaders for shaders in IW4,T6 2026-03-14 09:09:57 +01:00
Jan Laupetin 90d7f92ddd chore: replace all usages of removed ClassUtils macros 2026-03-06 00:13:04 +01:00
Jan Laupetin 86ae57578b feat: add t6 sub asset loaders for shaders 2026-03-02 22:08:57 +00:00
Jan Laupetin aa47ffa629 refactor: introduce subasset loading 2026-02-05 18:17:15 +01:00
Jan Laupetin 4cdccba016 feat: add embedded image loader for every supported game 2026-01-05 09:50:21 +00:00
Jan Laupetin 33584f6f7b feat: add external image loader for every supported game 2026-01-05 09:50:20 +00:00
Jan Laupetin da2a76f6da chore: update image namespacing 2026-01-05 09:50:20 +00:00
Jan Laupetin 8eb79da8a2 chore: adjust asset data when taking from global asset pools 2025-12-23 15:40:52 +01:00
Jan Laupetin bcf2b0a3ae chore: small adjustment to console log levels 2025-12-16 14:13:52 +00:00
Jan Laupetin 02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02: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 95a6a028ab refactor: streamline IW3 asset loading 2025-08-05 01:22:39 +02:00
Jan Laupetin 6806337f46 refactor: streamline IW4 asset loading 2025-08-05 01:14:20 +02:00
Jan Laupetin 81a67151b5 refactor: streamline IW5 asset loading 2025-08-05 01:14:19 +02:00
Jan Laupetin b5c9567389 refactor: streamline T5 asset loading 2025-08-05 01:14:19 +02:00
Jan Laupetin a5024d40b0 refactor: streamline T6 asset loading 2025-08-05 01:14:19 +02:00
Jan Laupetin e9a7f43348 fix: formatting 2025-08-03 21:35:44 +02:00
Jan Laupetin 250556ab61 refactor: streamline namespaces of xmodel dumping and loading 2025-08-03 17:47:21 +02:00
Jan Laupetin 0546572ecf refactor: streamline weapon dumping 2025-08-03 17:40:24 +02:00
Jan Laupetin 58de885ebe refactor: streamline sound dumping 2025-07-31 20:57:13 +01:00
Jan Laupetin 566f3994e3 refactor: streamline zbarrier dumping 2025-07-31 19:46:21 +01:00
Jan Laupetin ab118f3528 refactor: streamline vehicle dumping 2025-07-31 19:28:42 +01:00
Jan Laupetin d05f4fd43e refactor: streamline tracer dumper 2025-07-31 19:28:42 +01:00