Commit Graph

10 Commits

Author SHA1 Message Date
39c85e7f3c limit framerate of controls' nested event loops 2024-08-22 09:47:06 -04:00
fe4821cb4e fix CPU spike during intro splash screens 2024-08-22 09:47:06 -04:00
4e6306b110 record and replay mods on startup buttons. fix #394 2024-08-09 19:47:15 -04:00
cc5823bbcd de-duplicate quitting logic 2024-08-03 12:30:08 -04:00
4fa4f0b92b remove args and windows logic from all set_up_apple_events 2024-06-12 22:38:31 -06:00
ALONSO Laurent
e2a4fcc788 OsX[AppleEvents]: try to avoid some crash by delaying the function which is called
by such events...

Fixes #292
2023-01-06 13:57:01 -05:00
760a172526 Some style tweaks 2020-02-09 18:24:09 -05:00
29ef8b9c1e Refactor the game event loop and add menus to the Linux build
Patch from @x-qq
Addresses #195
2020-01-25 17:57:32 -05:00
3f38ce1fed Rearrange the main game event loop a little
This patch is contributed by @x-qq
and should improve CPU usage on Linux.
2020-01-19 15:39:42 -05:00
82abdab695 Major code reorganization
This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.

A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
2017-04-14 00:24:29 -04:00