ptitSeb / Serious-Engine

A port to the OpenPandora (and working fine on plain Linux) of the open source version of a game engine developed by Croteam for the classic Serious Sam games. Status: Working (for both FE and SE).
https://pyra-handheld.com/boards/threads/serious-sam-first-encounter.77225/
GNU General Public License v2.0
74 stars 22 forks source link

Pause the game when the window is minimized #65

Closed twolife closed 1 year ago

twolife commented 1 year ago

it only handle SDL_WINDOWEVENT_MINIMIZED for now, but looking at the win32 code just a few line upper we could handle other events if needed (SDL_WINDOWEVENT_MAXIMIZED, SDL_WINDOWEVENT_LEAVE, SDL_WINDOWEVENT_ENTER, ...)

ptitSeb commented 1 year ago

Nice, thanks.