Commit Graph
100 Commits
Author SHA1 Message Date
Jan 3fd17fc6d3 fix: calculate requiring marking for structs even when called recursively 2024-01-24 00:16:09 +01:00
Jan c6c89140b2 fix: check correct array for emptyness when getting dependencies from marker 2024-01-23 23:59:08 +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 7919683748 chore: write header with git version 2024-01-23 23:14:51 +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
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 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 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 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 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 32d8552115 Separate release and ci workflows 2023-12-30 20:37:33 +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
Jan 2af58e5cac Fix broken stringization resolution 2023-12-30 13:52:05 +01:00
Jan 3901ea2d3c Make DefinesProxy expand nested macros independently to avoid recursion 2023-12-30 11:06:27 +01:00
Jan 37b1f7fe87 Add more DefinesStreamProxy tests to harden expected behavior 2023-12-28 17:20:44 +01:00
Jan e8d029d846 Implement stringization operator 2023-12-27 15:20:15 +01:00
Jan b151c37dc0 Add unit tests for preprocessor operators 2023-12-27 15:20:03 +01:00
Jan 0bcadc1abe Add test to ensure menu simple color properties can be static
expressions
2023-12-26 13:11:59 +01:00
Jan 851baa5931 Add test to ensure menu simple floating point properties can be static
expressions
2023-12-26 13:09:20 +01:00
Jan 749f44b2c4 Add tests to ensure menu simple int properties can be static expressions 2023-12-26 13:06:48 +01:00
Jan 7820390dd8 Support static expressions for menu simple string properties 2023-12-25 22:59:56 +01:00
Jan 1b5d6f7439 Add unit test for menu item origin 2023-12-25 19:52:20 +01:00
Jan f5c987ce59 Add unit tests for menu item rect 2023-12-25 19:52:05 +01:00
Jan eb8ce86245 Add assertions to dvarStrList test to make sure the state is correct 2023-12-25 17:48:32 +01:00
Jan 7fff36dab2 Accept expressions as part of the column sequence 2023-12-25 11:34:49 +01:00
Jan 69cd172879 Accept setLocalVar scripts without value as default value expression 2023-12-25 09:50:24 +01:00
Jan 4ba33f03a0 Support comma in brackets and braces in preprocessor args 2023-12-24 01:01:17 +01:00
Jan 067f1a854e Add unit tests for properly parsing comma in square brackets and curly
braces in macro usages
2023-12-24 00:44:27 +01:00
Jan 381aaccdf4 Fix unused variables 2023-12-24 00:29:31 +01:00
Jan 3ad2414754 Fix not being able to use two multi-line macros after another 2023-12-24 00:21:36 +01:00
Jan 9c80332147 Update macro expansion logic to accept parameters over multiple lines 2023-12-24 00:05:27 +01:00
Jan b1d4176b6e Ensure not closing macro definition parameters throws an error 2023-12-23 13:54:57 +01:00
Jan c1c5378b08 Fix example line formatting in DefinesStreamProxy Test 2023-12-23 13:54:53 +01:00
Jan 12bb974324 Make DefinesProxy use ContinueDefine method instead of duplicated code 2023-12-23 13:54:45 +01:00
Jan 8d0147d6cf Make sure all tests need to pass for ci to pass, not just last 2023-12-23 13:53:48 +01:00
Jan 74154653aa Fix macro parameters not being able to be specified over multiple lines when defining 2023-12-23 13:53:45 +01:00
Jan b7022291a8 Add unit tests for expected behaviour for DefinesStreamProxy 2023-12-23 13:53:42 +01:00
Jan 82f3d4925f Fix not respecting case-insensitive functions when converting menus 2023-12-14 19:32:51 +01:00
Jan 0b1120f26f Add menu base function as lowercase to the function map to enable case-insensitivity 2023-12-14 18:29:09 +01:00
Jan 00c866c246 Fix custom menu function not being compared case-insensitive 2023-12-14 18:22:02 +01:00
Jan d5f881be04 Fix more missing headers 2023-11-19 21:07:27 +00:00
Jan 161a1924c8 Fix debug compilation on MSVC due to libtommath requiring dead code elimination 2023-11-19 21:07:27 +00:00
Jan 0c4835bc36 Fix build due to reordered headers 2023-11-19 21:07:27 +00:00
Jan 8c4d311527 Fix formatting of two remaining files 2023-11-19 21:07:27 +00:00
Jan da18710bd0 Use clang 17 in formatting pipeline 2023-11-19 21:07:26 +00:00
Jan 22e17272fd Update clang-format to mimic previously code formatting 2023-11-19 14:15:02 +01:00
Jan 8fe5ac2a69 Rename to check-formatting 2023-11-19 12:17:11 +01:00
Jan 30052461da Use clang-format 15 2023-11-19 12:03:25 +01:00
Jan 616f39a31e Use dry-run to check for clang-format errors instead of inplace editing 2023-11-19 12:03:25 +01:00
Jan cc31a4a4b0 Add Github workflow checking formatting 2023-11-19 12:03:24 +01:00
Jan 9197b537d7 Add code formatting configuration with clang-format 2023-11-19 12:03:03 +01:00
Jan 116415d4b9 Update documentation to reference docs website 2023-11-04 17:55:07 +01:00
Jan b73668c025 Separate 7z commands for tar and tar.gz 2023-11-04 15:15:37 +01:00
Jan c9da82688b Fix release script 2023-11-04 14:41:37 +01:00
Jan f19550b58e Zip artifacts before trying to upload them as artifacts 2023-11-04 14:38:29 +01:00
Jan ed20e6d0a2 Update token permissions for release job 2023-11-04 13:47:55 +01:00
Jan 770c802763 Automatically upload artifacts to releases 2023-11-04 13:24:19 +01:00
Jan 4e5cbc5bf6 Run ci on tags 2023-11-04 12:45:30 +01:00
Jan bcd9ede0e1 Reset initial release to 0.1.0 2023-11-04 12:09:05 +01:00
Jan 624dc356b2 Explicitly enable symbols for debug builds 2023-11-04 11:58:27 +01:00
Jan 91ebb24bfd Set gitsubmodule dependabot path to root directory since there is the submodule file 2023-11-04 10:34:09 +01:00
Jan ee1add63b8 Add dependabot 2023-11-04 10:27:46 +01:00
Jan 1746a338c7 Update logo 2023-11-04 10:23:08 +01:00
Jan 51899d4a69 Dump T6 sound PCM data as wav 2023-10-26 22:54:20 +02:00
Jan 8c2bb09b28 Dump soundbank data without having to dump aliases 2023-10-25 21:44:07 +02:00
Jan 22db02e78b Add technical documentation about IPak file structure 2023-10-21 18:48:10 +02:00
Jan 8f94dd1272 Add detailed image displaying IPak format 2023-10-21 16:12:52 +02:00
Jan 483d47d79e Build referenced targets from within zone definitions 2023-10-21 15:33:14 +02:00
Jan 85b6c3f6bd Introduce "none" project type 2023-10-21 15:33:14 +02:00
Jan 0b4a0ac070 Add possibility to build different targets in the same project for e.g. IPaks 2023-10-21 15:33:14 +02:00
Jan 2c09cc11e9 Add example project for building an IPak with corresponding ff 2023-10-21 12:27:47 +02:00
Jan 4811d41ec8 Fix calculating wrong chunk buffer window when only the block header is inside a chunk and all the data is in the next 2023-10-15 22:31:50 +02:00
Jan 75cd9bd4e4 Fix not respecting chunk buffer window border 2023-10-15 22:31:21 +02:00
Jan fa72a6d5db Fix writing whole file everytime an uncompressed command is written 2023-10-15 22:12:42 +02:00
Jan d779dfd884 Fix writing block header incorrectly 2023-10-15 22:12:25 +02:00