Limit Theory Redux is a fork of the discontinued open-world space simulation game Limit Theory. We have made it our mission to continue the development of the ambitious Limit Theory project as an open source initiative.
Apache License 2.0
62
stars
8
forks
source link
Remove white flash at startup, drop "Instance" from engine singleton types. #310
We facilitated the renaming of the engine singletons by first renaming the Lua wrapper types to XYZImpl e.g. EngineImpl, InputImpl, etc. Then, that leaves Engine and Input free in the global namespace.
As a nice little usability improvement, I rewrote Gui:endGui in ffi_ext so that we don't need to pass the Input instance explicitly anymore, it's passed for us in ffi_ext (relying on the global variable existing properly).
We facilitated the renaming of the engine singletons by first renaming the Lua wrapper types to
XYZImpl
e.g.EngineImpl
,InputImpl
, etc. Then, that leavesEngine
andInput
free in the global namespace.As a nice little usability improvement, I rewrote
Gui:endGui
inffi_ext
so that we don't need to pass theInput
instance explicitly anymore, it's passed for us inffi_ext
(relying on the global variable existing properly).