You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Track the engine's new callin and coordinate contracts
The engine grew explicit parameters on several callins and moved mouse
callbacks onto Lua's coordinate contract. Follow both, and use the new
data rather than re-deriving it.
Callins: update takes a frame delta, draw_screen* take the view size,
and key_press/key_release carry modifiers, label, utf32 and the resolved
action list. Modifier flags now thread through the event dispatcher as
KeyMods, replacing the get_mod_key_state() polls that read live SDL state
a tick after the key they were matching. add_grass takes a grass value,
so the map writer stores each cell's real byte and the brush writes its
target level instead of a binary on/off.
Coordinates: mouse callbacks are now view-relative and bottom-origin, the
same space GetMouseState and the ray query already used. Traces therefore
stop flipping, while the panel and chonsole managers flip once on entry
for RmlUi's top-origin layout, and the control API converts explicitly
because its clients address the window like a screenshot.
E2E: park the cursor 40px above the window's bottom edge. EdgeMoveWidth
is a fraction of the view (~4px here), so parking at height-4 sat inside
the edge-scroll band and walked the camera south before most captures.
0 commit comments