Repository navigation
1.1
Randm64 v1.1
This update introduces an integrated Level Mesh and Geometry Editor directly inside the main workspace sidebar, alongside major UX improvements, new keyboard shortcut translation tools, and critical bug fixes for ROM compilation.
🚀 What's New in v1.1
📐 Integrated Level Mesh Editor
- Sidebar Tab Integration: You can now view and edit Collision Vertices, Collision Triangles, and Water Boxes directly in a dedicated tab on the left sidebar without overlapping popup windows.
- Viewport Selection Synchronization: Ctrl + Click a collision triangle or vertex in the 3D viewport to automatically open the Mesh tab, select the clicked element from the list, and scroll it into view.
- Scrollable UI Layout: Added scrollbars and fixed height limits to list boxes to ensure input textboxes and the Save Mesh Changes button are fully visible on all monitor resolutions.
⌨️ Real-Time Keyboard Mesh Translation
Edit geometry positions with absolute precision using keyboard controls:
- Left / Right Arrow: Translate element on the X-axis by 50 units (10 units if holding Shift).
- Up / Down Arrow: Translate element on the Z-axis by 50 units (10 units if holding Shift).
- PageUp / PageDown: Translate element on the Y-axis (height) by 50 units (10 units if holding Shift).
Intelligent Selection Behavior
- Moving a Collision Vertex translates only that vertex.
- Moving a Collision Triangle translates all three defining vertices simultaneously, shifting the entire face.
- Moving a Water Box moves the entire boundary region (translating X1, X2, Z1, Z2, and the height Y simultaneously).
- Thread-Safe Live Redrawing: Fully decoupled UI input threads from the rendering thread, allowing real-time redraw updates in the 3D viewport without freezing or driver context violation crashes.
🩹 Bug Fixes
- Critical Save Fix: Corrected string parsing slice markers inside the level compiler's save routines. Previously, if
COL_TRI_STOP()resided on the same line as a special object, saving cut off the remainder of that line, deleting the first special object definition (e.g. tree) and corrupting subsequent object indices. Slicing now cuts off exactly after the macro call, preserving the integrity of special objects and warp doors. - WPF ComboBox Dark Mode Theme: Replaced light-themed popups with fully styled dark theme dropdown blocks. Dropdown option texts are now high-contrast white on dark gray (#2D2D30) with clean hovered highlights.
- Camera Focus Snapping: Selecting element list items highlights them in the viewport but no longer forces camera movement or snapping.