Limit-Theory-Redux / ltheory

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

Update Winit and Glutin, and simplify the logic around window handling. #290

Closed dgavedissian closed 4 months ago

dgavedissian commented 4 months ago

Winit 0.30 introduced significant changes in the way we both create new windows (it needs to be done during the event loop), and also how to handle the event loop (it's now a trait, not a function).

This PR makes all of these changes, and also simplifies some things:

This PR also moves the Engine type to its own file.