49 Commits

Author SHA1 Message Date
Jan
8b85cadb77
refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan
5d0c94e430
refactor: fix x64 compilation for ObjLoading 2025-04-26 19:48:03 +02:00
Jan
4c09e94220
refactor: remove MemoryManager create method usages 2025-01-13 22:03:20 +00:00
Jan
2313da1c12
chore: inject ZoneAssetCreationStateCollection to states 2025-01-03 14:55:19 +01:00
Jan
416823c6cd
chore: rename ZoneAssetLoaderState to ZoneAssetCreationState 2025-01-03 11:01:44 +01:00
Jan
9068e96dfa
chore: make IZoneLoadingState return reference 2025-01-03 10:42:37 +01:00
Jan
aa212e0958
chore: parse includes and assetlists while parsing zone definition 2025-01-01 18:14:43 +01:00
Jan
9852f52a15
chore: get rid of now unused AssetLoading classes 2025-01-01 18:14:43 +01:00
Jan
9ae5aaa1db
chore: fix loading and writing code for IW4 2025-01-01 18:14:41 +01:00
Jan
7ef944ebd4
chore: refactor IW4 asset loaders 2025-01-01 18:14:41 +01:00
Jan
eb0cec1d81
refactor: make LoadDependency and LoadIndirectAssetReference functions work with Asset template types 2024-04-22 23:36:21 +02:00
Jan
a3acba8bc0
chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
82f3d4925f
Fix not respecting case-insensitive functions when converting menus 2023-12-14 19:32:51 +01:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
5ee5056c5d Fix considering string static value to not be true for visible expressions 2023-09-24 14:18:15 +02:00
Jan
e56fa67e46 Fix not setting dataType when loading menus 2023-09-24 10:30:03 +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
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
399d8e834d Make IW4 menu rect def align be unsigned like IW5 2023-08-23 20:51:11 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
daa7008038 Add dumper and reader for IW4 GfxLightDef 2022-01-02 18:01:24 +01:00
Jan
98d62039eb If menu optimization is enabled, optimize away unnecessary if statements 2022-01-01 23:12:27 +01:00
Jan
d900b9cccd Fix not correctly setting type data for text scroll items 2022-01-01 19:40:08 +01:00
Jan
21f68c117e Fix float expression forecolors not setting dynamic forecolor flag 2022-01-01 18:44:04 +01:00
Jan
2df12e101e Disable static value evaluation for visible expression when optimizations are turned off 2022-01-01 16:59:27 +01:00
Jan
64a1e4c176 Fix menu visibility 2022-01-01 16:39:39 +01:00
Jan
657d32e5f6 Properly update menulist asset dependencies 2021-12-31 00:30:58 +01:00
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
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
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
d24e847204 Add command line argument for disable menu optimizations on loading 2021-12-28 18:26:41 +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