101 Commits

Author SHA1 Message Date
Jan
b5475e30f0 Only load menu files once 2021-12-31 00:09:25 +01:00
Jan
1e3946974c Fix menu converter not properly referencing functions 2021-12-30 19:22:17 +01:00
Jan
9136a7de3b Enable of usage of functions that were defined in the same menu file 2021-12-30 19:20:01 +01:00
Jan
7283cc5640 Always set parenthesis for operations inside operations because the game is unable to calculate operations behind each other without parenthesis and does also not know what precedence is 2021-12-29 18:50:34 +01:00
Jan
8e4b2bb057 Add non default forecolor flag if forecolor is not white 2021-12-29 18:08:38 +01:00
Jan
f628d33a95 Properly dump and convert visible property for items 2021-12-29 17:04:18 +01:00
Jan
83492b907f Properly dump and render rect property for items 2021-12-29 17:04:03 +01:00
Jan
a7aac965da Convert menu item type data 2021-12-29 14:46:53 +01:00
Jan
bf7e136c54 Convert enable dvar values 2021-12-29 11:50:39 +01:00
Jan
02f8924ada Fix floating expression converting not respecting static values 2021-12-29 11:50:29 +01:00
Jan
0ede5b30d4 Convert float expressions 2021-12-29 10:16:28 +01:00
Jan
96ad97b784 Apply menu elements defaults 2021-12-29 09:02:40 +01:00
Jan
c87e87eafc Correctly write menu items to zone 2021-12-29 02:51:58 +01:00
Jan
a0ff11a857 Create default GfxImage assets 2021-12-29 02:51:33 +01:00
Jan
ae095f8fe5 Add focussound conversion for menus 2021-12-29 02:05:21 +01:00
Jan
3589035ed6 Use expression supporting data strings for menus 2021-12-29 01:25:18 +01:00
Jan
847e4d568c Add static dvars to menu conversion 2021-12-29 01:14:31 +01:00
Jan
5e31be9bac Finalize menu assets after loading all assets 2021-12-29 00:20:54 +01:00
Jan
7188b0946d Make use of custom functions when converting menus 2021-12-28 23:52:42 +01:00
Jan
43610b381d Reduce menu reading console output on successful read 2021-12-28 19:40:39 +01:00
Jan
d24e847204 Add command line argument for disable menu optimizations on loading 2021-12-28 18:26:41 +01:00
Jan
6d622e6ae1 Create Default materials for iw4 2021-12-28 18:04:51 +01:00
Jan
fe07b3a10e Convert menu expressions 2021-12-08 21:49:33 +01:00
Jan
acca33b036 Add conversion for EventHandlerSet 2021-12-07 21:35:56 +01:00
Jan
bc12b3dcd0 Menu item conversion base 2021-12-06 19:00:41 +01:00
Jan
988620e23d Menu conversion base 2021-12-05 16:23:25 +01:00
Jan
b082e471e7 Add permissive mode for menu parsing that accepts unknown script tokens as long as they can be put into the script 2021-11-28 17:55:26 +01:00
Jan
f760c517dd Add menu parsing results to zone state 2021-11-14 09:25:35 +01:00
Jan
7eecd58ce8 Load menu files that are referenced via loadmenu 2021-11-13 23:28:22 +01:00
Jan
4552a4fe4a Add asset loading states per zone for the usecase of saving loaded menus and menu functions 2021-11-13 22:18:44 +01:00
Jan
ff823b4722 Move menu parsing classes to menu namespace 2021-11-01 09:43:07 +01:00
Jan
38d60983e8 Add menu sequence for name properties 2021-10-31 18:44:02 +01:00
Jan
68610e49f3 Add sourceFile parameter to MultiInput ParserStream 2021-10-31 17:45:55 +01:00
Jan
ca1059b05c Add Menu Parsing Result 2021-10-31 17:33:46 +01:00
Jan
e79376eb3e Add menu defines for feature levels 2021-10-31 16:45:49 +01:00
Jan
bba55706bf Add basic parsing for menu lists with only loadMenus instructions 2021-10-31 15:37:46 +01:00
Jan
d5780a1124 Add Model dumping for T6 2021-08-14 15:39:40 +02:00
Jan
ee22face41 Add T5 model dumping 2021-08-14 13:57:32 +02:00
Jan
f052a97886 Fix T5 loading and dumping images 2021-08-14 13:57:18 +02:00
Jan
2c96bc5ef8 Fix signed/unsigned issue with IW3 AssetLoaderGfxImage 2021-07-31 12:57:18 +02:00
Jan
e544d043bd Fix rawfile dumping and loading for iw5 2021-07-24 13:51:41 +02:00
Jan
88710cb3bf IW5 Fixups 2021-07-23 16:28:59 +02:00
Jan
f201dfafd8 IW5 support initial commit 2021-07-23 01:12:36 +02:00
Jan
eedfccc617 Add IW4 localize asset loader 2021-07-10 10:53:03 +02:00
Jan
0492a87cbd fix t5 rawfile loader not compressing gsc and csc files as the loader expects it 2021-06-24 16:59:03 +02:00
Jan
b3029c0d28 Fix T5 obj loader using wrong types for some assets 2021-06-24 16:58:34 +02:00
Jan
bb3e7d9e88 Load T5 fastfiles 2021-05-12 21:47:34 +02:00
Jan
157e540302 more t5 stuffs 2021-04-27 19:31:26 +02:00
Jan
2edca7a57e Add T5 basis 2021-04-27 18:19:32 +02:00
Jan
b1fce0f4fb Add T6 vehicle team value for neutral 2021-04-27 15:22:56 +02:00