342 Commits

Author SHA1 Message Date
JezuzLizard
76a98e65fd Replace magic numbers with macros from zutil.h. Compress animtrees when linking. 2023-12-14 13:28:16 -08: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
b8b76adc73
fix(menus): make functions case insensitive 2023-12-10 21:33:02 +01:00
0ad1964864
fix: address review comments 2023-12-09 22:49:32 +01:00
9306210227
feature: Load GSC bin files from gsc-tool from raw 2023-12-09 14:33:56 +01:00
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +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
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
51899d4a69 Dump T6 sound PCM data as wav 2023-10-26 22:54:20 +02:00
Jan
9b35b90a28 Fix IPak reading error message having incorrect text 2023-10-15 22:11:38 +02:00
Jan
e16ea9de84 Load T6 GfxImages from raw when building 2023-10-15 19:08:27 +02:00
Jan
abbb697d7c Add data writing for IPaks 2023-10-15 18:12:23 +02:00
Jan
2d0ef40335 Remove unused IPakBlock non-bits fields 2023-10-15 14:50:14 +02:00
Jan
78196cd6f6 Improve code documentation of IPakEntryReadStream 2023-10-15 14:23:26 +02:00
Jan
8514378465 Write IPak base skeleton without data 2023-10-07 19:41:54 +02:00
Jan
479b1d1836 Log asset name when not being able to create empty asset 2023-10-05 20:19:49 +02:00
Jan
1e6824368c Fix bugs related to parsing IW5 base game menus 2023-09-26 22:27:32 +02:00
Jan
486d704ce6 Add MP only IW5 UiScripts 2023-09-26 20:59:55 +02:00
Jan
9dde58c064 Add non-loading implementation for AssetLoaderMaterial for IW5 to be able to create default materials 2023-09-26 20:59:43 +02:00
Jan
13dfbc9bbb Add IW5 specific uiscripts 2023-09-25 22:55:00 +02:00
Jan
4ff8b3396e Implement the rest of IW5 menu event handler sequences 2023-09-25 21:54:27 +02:00
Jan
d071dc1bfd Make script numeric matchers match negative numbers as well 2023-09-25 21:45:06 +02:00
Jan
870fa44b02 Add existing iw5 script statements 2023-09-24 22:48:11 +02:00
Jan
8653c434d1 Fix not respecting new string values in localize parser when processing matches 2023-09-24 18:55:34 +02:00
Jan
36cd9e11fe Support localize entries that have a name that cannot be represented as an identifier 2023-09-24 15:58:57 +02:00
Jan
cf711c3af7 Use SimpleLexer escaped strings for localization 2023-09-24 15:25:08 +02:00
Jan
5ee5056c5d Fix considering string static value to not be true for visible expressions 2023-09-24 14:18:15 +02:00
Jan
0b92b9b871 Fix setLocalVar not correctly flushing script when not setting static var 2023-09-24 11:46:39 +02:00
Jan
e56fa67e46 Fix not setting dataType when loading menus 2023-09-24 10:30:03 +02:00
Jan
502e134ed8 Fix not properly handling concurrent strings in permissive menu loading mode 2023-09-23 19:04:15 +02:00
Jan
2cd5d05a19 Use escaped strings with simple lexer whenever appropriate 2023-09-23 15:21:09 +02:00
Jan
88bc1c1056 Fix SimpleLexer not being able to read escaped strings 2023-09-23 14:28:59 +02:00
Jan
7d0abaf256 Fix not setting menuData when converting IW5 menus 2023-08-25 19:22:25 +02:00
Jan
4829a4206b Ensure correct expression type for static expressions in menu parsing but do not enforce when permissive 2023-08-24 20:12:57 +02:00
Jan
8a1fe03358 Add base for IW5 menu parsing 2023-08-23 23:08:50 +02:00
Jan
ccc020ca7e Make key handler map a multimap to be able to support multiple handlers for the same key 2023-08-23 23:07:55 +02:00
Jan
fc57032937 Add base for IW5 menu parsing based on IW4 menu parser 2023-08-23 20:51:40 +02:00
Jan
399d8e834d Make IW4 menu rect def align be unsigned like IW5 2023-08-23 20:51:11 +02:00
Jan
3233186d8b Add AssetLoader for IW5 StringTable 2023-08-22 17:20:43 +02:00
Jan
34cdd46b42 Fix linux compilation 2023-06-18 12:20:55 +02:00
Jan
b2313c6415 Add missing algorithm header 2022-08-21 12:49:24 +02:00
Jan
3bef176676 Fix wrong blend ops for screen add blend func 2022-08-21 12:29:04 +02:00
Jan
db60287a7b Apply statemaps to materials 2022-08-20 19:23:49 +02:00
Jan
2dd8660824 Add supplemental data for iw4 statemap layout 2022-08-20 14:37:05 +02:00
Jan
b93707dfe5 Correctly parse state map default case 2022-08-13 21:13:07 +02:00
Jan
fe59cbdee1 Make sure state maps define rules for all entries 2022-08-13 21:12:34 +02:00
Jan
595af125b9 Load state maps when loading techniques 2022-08-13 20:50:40 +02:00