2025-08-21 00:48 CEST

spring: develop 93f07f2e Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Licho Eshed develop 2016-10-16 18:47:10 develop ec8620fa
Changeset add callin AllowDraw for LuaMenu (#276)

* add callin for luamenu AllowDraw. If registered and returns fals, skips draw for menu

* added to events.def

* active test

* allowdraw callin support

* fix windows ignores

* call rendering at least once per 30s even when minimized, add more SDL events

* only swap buffers and wait for vsync if rendering occured

* also skip vsync delay and buffer swap if game skips rendering
mod - .gitignore Diff ] File ]
mod - cont/base/springcontent/LuaHandler/Utilities/specialCallinHandlers.lua Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Lua/LuaMenu.cpp Diff ] File ]
mod - rts/Lua/LuaMenu.h Diff ] File ]
mod - rts/Menu/LuaMenuController.cpp Diff ] File ]
mod - rts/Menu/LuaMenuController.h Diff ] File ]
mod - rts/System/Events.def Diff ] File ]
mod - rts/System/SpringApp.cpp Diff ] File ]