1282 Commits

Author SHA1 Message Date
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
f17eda9086
Merge pull request #93 from Laupetin/fix/asset-marking
fix: introduce asset marking to catch all scriptstrings and dependencies
v0.6.0
2024-01-22 22:54:34 +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
Jan
6083a91ab5
Merge pull request #91 from Laupetin/iw3-stringtable
feat: add StringTable loading for IW3
v0.5.0
2024-01-20 20:15:15 +01:00
Jan
c8d25059b9
fix: fix StringTableLoaderV3 not properly initializing cell indices 2024-01-20 20:04:22 +01:00
Jan
ada3a3251e
test: add unit tests for string table asset loaders 2024-01-20 20:03:59 +01:00
Jan
2a1b64021b
chore: use generic loaders for iw4,iw5,t5,t6 instead of duplicating implementations 2024-01-20 15:38:38 +00:00
Jan
8de849dc85
feat: add iw3 StringTable loading via generic loader 2024-01-20 15:37:15 +00:00
Jan
4696011d9d
chore: extend CsvStream to be able to emit const char* allocated with a MemoryManager 2024-01-20 16:30:59 +01:00
Jan
5b087518aa
Merge pull request #90 from Laupetin/feature/iw3-localize
feat: add localize entry loading for IW3
2024-01-20 11:53:20 +01:00
Jan
09f3313d76
chore: make localize common loaders const 2024-01-20 11:39:26 +01:00
Jan
bcdde6a244
feat: add localize entry loading for IW3 2024-01-20 11:37:41 +01:00
Jan
bd0e1b10a3
Merge pull request #89 from Laupetin/dependabot/submodules/thirdparty/catch2-79205da
Bump thirdparty/catch2 from `863c662` to `79205da`
2024-01-20 08:58:44 +01:00
Jan
71f6b15f82
Merge pull request #88 from Laupetin/dependabot/submodules/thirdparty/json-7efe875
Bump thirdparty/json from `a259ecc` to `7efe875`
2024-01-20 08:58:31 +01:00
Jan
8c460fecca
Merge pull request #87 from Laupetin/dependabot/submodules/thirdparty/zlib-7af6320
Bump thirdparty/zlib from `643e17b` to `7af6320`
2024-01-20 08:58:17 +01:00
dependabot[bot]
2d54356ff9
Bump thirdparty/catch2 from 863c662 to 79205da
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `863c662` to `79205da`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](863c662c0e...79205da6a6)

---
updated-dependencies:
- dependency-name: thirdparty/catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 22:26:35 +00:00
dependabot[bot]
a1975a3281
Bump thirdparty/json from a259ecc to 7efe875
Bumps [thirdparty/json](https://github.com/nlohmann/json) from `a259ecc` to `7efe875`.
- [Release notes](https://github.com/nlohmann/json/releases)
- [Commits](a259ecc51e...7efe875495)

---
updated-dependencies:
- dependency-name: thirdparty/json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 22:26:31 +00:00
dependabot[bot]
72e4a90abe
Bump thirdparty/zlib from 643e17b to 7af6320
Bumps [thirdparty/zlib](https://github.com/madler/zlib) from `643e17b` to `7af6320`.
- [Release notes](https://github.com/madler/zlib/releases)
- [Commits](643e17b749...7af6320ad7)

---
updated-dependencies:
- dependency-name: thirdparty/zlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 22:26:28 +00:00
Jan
48d320c99d
Merge pull request #83 from Laupetin/feature/fix-menu-dumps-mistakes
Fix smaller menu dumping mistakes
2024-01-07 15:47:27 +01:00
Jan
034809c7bb
Fix formatting 2024-01-07 14:36:23 +00:00
Jan
44b0f4da5e
Move DXGI_FORMAT definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:41:50 +01:00
Jan
cd53c3cbe4
Move D3DFormat definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:35:00 +01:00
Jan
c4150279d0
Add naive expression dumping for menus for debugging purposes 2024-01-06 19:39:07 +01:00
Jan
6eca361517
Fix IW4 menu dumper not dumping custom functions properly 2024-01-06 13:41:02 +01:00
Jan
15bec9c356
Remove duplicated dumping of disabled property in items 2024-01-06 12:07:47 +01:00
Jan
e7e18996fc
Merge pull request #81 from Laupetin/dependabot/submodules/thirdparty/catch2-863c662
Bump thirdparty/catch2 from `b7b71ff` to `863c662`
2024-01-06 00:03:55 +01:00
dependabot[bot]
2ba020cdce
Bump thirdparty/catch2 from b7b71ff to 863c662
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `b7b71ff` to `863c662`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](b7b71ffd3a...863c662c0e)

---
updated-dependencies:
- dependency-name: thirdparty/catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 22:46:10 +00:00
Jan
383042046e
Merge pull request #58 from skiff/main
T6 SndBank & SndDriverGlobals Asset Dumping
v0.4.0
2024-01-01 16:54:16 +01:00
Alex
c8f1c16130 fix SND_HashName 2024-01-01 10:29:26 -05:00
Jan
07266bb9dc
Merge pull request #77 from Laupetin/refactor/localize-remove-duplication
Remove duplicated code in localize asset loading
v0.3.4
2023-12-31 13:55:55 +01:00
Jan
9d0beaa8fc
Communicate to the asset loader when parsing localize file failed 2023-12-31 13:45:17 +01:00
Jan
eb065658e6
Use CommonLocalizeEntry in parser 2023-12-31 13:41:44 +01:00
Jan
7c50dd84a7
Reduced duplicated code between localize asset loaders 2023-12-31 13:32:38 +01:00
Jan
4eabf98712
Merge pull request #71 from diamante0018/main
feat: add warning for dupe localize assets
2023-12-31 12:38:56 +01:00
Jan
196e2edd8a
Use ZoneState to check whether localize key is duplicated 2023-12-31 12:28:13 +01:00
Jan
e4cfda73dc
Move localize parsing into localize root folder 2023-12-31 11:09:45 +01:00
Jan
ef8442fa2b
Merge pull request #75 from Laupetin/feature/separate-release-workflow
Separate release and ci workflows
2023-12-30 21:01:06 +01:00
Jan
32d8552115
Separate release and ci workflows 2023-12-30 20:37:33 +01:00
Jan
6b2e0bf198
Merge pull request #73 from Laupetin/feat/preprocessor-operators
Add preprocessor operators
v0.3.3
2023-12-30 20:17:17 +01:00
Jan
29a77ff0d8
Correctly name token-paste instead of token-join 2023-12-30 20:05:49 +01:00
Jan
e090e112e6
Implement token pasting 2023-12-30 20:03:35 +01:00
Jan
eece5bb91d
Leave in token joining operator but do stringize forward lookup instead 2023-12-30 18:47:32 +01:00
Jan
edb88273e7
Fix not correct adding input suffix when expanding nested macro 2023-12-30 16:45:06 +01:00
Jan
70d4d77266
Identify token joining operators 2023-12-30 16:41:17 +01:00
Jan
729b72c1d9
Consider triple number sign in macro value combination of ## and # 2023-12-30 14:39:08 +01:00
Jan
799fa37c44
Fix not ignoring whitespace after macro parameter comma 2023-12-30 14:16:49 +01:00
Jan
d3519c2f62
Do not expand macros in strings 2023-12-30 14:01:59 +01:00