fix: C++ generator bitfields, sizeof placement, Ctrl+F search, view sync

- Generator emits proper bitfield members instead of padding stubs
- Named bitfield structs (MitigationFlagsValues etc) now converted by parser
- sizeof comment moved from top to closing brace (}; // sizeof 0x80)
- C/C++ view syncs with workspace double-click and controller navigation
- Ctrl+F incremental search in C++ code view (Enter=next, Escape=close)
- Workspace dock resizable via 1px drag handle separator
- Regenerated Vergilius_25H2.rcx with all fixes (61 named bitfield containers)
This commit is contained in:
IChooseYou authored and IChooseYou committed 2026-02-26 12:07:55 -07:00
1 parent aa04cfcb5c
commit 0d73575ea7
6 files changed
+2067 -2582

No files matched your search

+1 -3
View File
@@ -556,13 +556,11 @@ def postprocess_bitfields(nodes):
ids_to_remove = set()
for node in nodes:
# Only process anonymous struct nodes (not unions, not named types)
# Process struct nodes (not unions, not already bitfields, not named types)
if node.get('kind') != 'Struct':
continue
if node.get('classKeyword') in ('union', 'bitfield'):
continue
if node.get('name', '') != '':
continue
if node.get('structTypeName', ''):
continue