2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-12 13:21:42 +00:00
Commit Graph

139 Commits

Author SHA1 Message Date
Jan eb16dfcd00 refactor: merge ZoneInputStream interface with only implementation 2025-05-02 22:08:07 +01:00
Jan Laupetin 446c38d8ee refactor: reorder members of zcg generated classes 2025-05-02 22:08:06 +01:00
Jan ed029bc24d refactor: adjust template const modifiers 2025-05-02 22:08:06 +01:00
Jan 8b85cadb77 refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan 9e940a6f53 refactor: use zone reference in AssetLoader 2025-05-02 22:08:06 +01:00
Jan 50612d117e refactor: update zcg generate file headers 2025-04-30 17:01:52 +01:00
Jan Laupetin 68ee502c72 refactor: remove name sequence from zcg commands 2025-04-28 17:23:39 +02:00
Jan Laupetin 0103e4631f refactor: remove GetAssetName method from ZoneMark template 2025-04-28 17:18:09 +02:00
Jan Laupetin 7f59d35e87 refactor: replace GetAssetName method in ZoneLoad template 2025-04-28 17:09:40 +02:00
Jan 547da3fdf9 refactor: remove GetName method of ZoneWrite zcg template 2025-04-28 12:53:14 +01:00
Jan Laupetin 1fe1b30831 chore: use Asset definition instead of enum entry for zcg 2025-04-28 12:53:02 +01:00
Jan 3adbe5a275 refactor: fix additional zcg x64 warnings 2025-04-28 12:07:41 +01:00
Jan Laupetin d938f91541 fix: crash on trying to generate for specific asset 2025-04-28 11:55:47 +01:00
Jan Laupetin 2eefad105e chore: small code adjustments for generation code in zcg 2025-04-28 11:55:46 +01:00
Jan Laupetin 4e9599aabf chore: detect structs that differ on different architectures
* and exclude them from assetstructtests
2025-04-27 21:04:41 +02:00
Jan 60f5c1a18f refactor: adjust zcg code for working in x64 2025-04-26 19:08:15 +02:00
Jan 10cbd47bdc chore: use std::format for zcg templates 2025-04-24 21:37:43 +01:00
Jan 9f8a933277 chore: update ZoneCodeGenerator code style 2025-04-20 09:45:37 +02:00
Jan 9f738da517 chore: remove duplicated alignment utility method 2025-04-20 09:45:36 +02:00
Jan 785cf8c025 chore: update code style in ZoneCodeGenerator entrypoint 2025-04-20 09:45:32 +02:00
Jan cc67f6e730 refactor: use OutputPathFilesystem for writing fastfiles 2025-01-14 22:03:44 +01:00
Jan ffac925410 fix: reallocate assets before adding to zone pool when loading from
fastfile
2025-01-01 18:14:42 +01:00
Jan 5fee875495 chore: use filename of argv0 in UsageInformation 2024-09-23 23:05:04 +02:00
Jan 32480a75eb chore: give all args to arg parser instead of omitting arg0 2024-09-23 22:38:18 +02:00
Jan da18291c89 chore: improve args code for other tools 2024-09-23 20:00:00 +02:00
Jan 89074c8601 fix: not reallocating IW5 clipMap pInfo from temp block 2024-03-30 20:10:20 +01:00
Jan fc18f81302 fix: consider asset references when looking for assets of zone 2024-03-30 17:44:55 +01: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 d3d7f1b6e5 fix: not properly handling array of indirect asset ref pointers 2024-02-07 01:27:54 +01:00
Jan fef815e708 feat: recognize indirect asset refs when marking assets 2024-02-07 00:53:52 +01:00
Jan 87917caabc Merge pull request #97 from Laupetin/feature/version-cmd-arg
feat: add version command line arg
2024-01-24 00:45:55 +01:00
Jan 3fd17fc6d3 fix: calculate requiring marking for structs even when called recursively 2024-01-24 00:16:09 +01:00
Jan 0b0b888b0d chore: make help command return exit code 0 2024-01-23 23:14:52 +01:00
Jan 05437cfd7d feat: add version command line arg to all executables 2024-01-23 23:14:52 +01:00
Jan df2a5294e8 fix: consider structures that are assets requiring marking 2024-01-23 19:29:43 +01:00
Jan 70dba19484 fix: do not consider a structure require marking when it contains a string member 2024-01-23 19:29:09 +01:00
Jan 91cbfa2bbb chore: use marker template in loader for scriptstrings and dependencies 2024-01-22 22:40:03 +01:00
Jan 685a99577b chore: remove scriptstring and dependency registration from ZoneLoad template 2024-01-22 22:39:18 +01:00
Jan 9d7c0d3452 feat: add asset marking 2024-01-22 21:47:46 +01:00
Clang Format c858695f0c Adjust further code formatting 2023-11-19 21:07:28 +00:00
Clang Format 6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan 6c164eee61 Update catch2 version 2023-06-18 13:40:30 +02:00
Jan 61a42afe28 Mark scriptstrings as used even when referencing them via zone pointer 2022-12-03 12:44:33 +01:00
Jan e7eb43a955 Correctly parse binary operations that can be interpreted as sign prefixes for numbers 2021-11-28 15:16:43 +01:00
Jan 69c08def7f Add expression parsing for menu parser 2021-11-03 23:46:18 +01:00
Jan 4d674fac83 Fix zonewriting not applying updated values for embedded scriptstrings 2021-08-26 21:01:12 +02:00
Jan ae9633b696 Change ZoneCode zone writing template so it marks elements as following before writing them to ensure being able to write recursive structs 2021-06-24 16:59:43 +02:00
Jan a8c62de081 Add written variable for zone writing code to be able to differ between written data and original data 2021-05-08 16:41:42 +02:00