The draw function must now be passed explicitly to Game::run, along with
an optional update function. Lambda functions and non-member functions
can be used as the main game loop, and draw and update logic can be kept
separate.
Initial support for Steam API callers and callback handlers is available
in the sb:☁️:steam namespace. The current number of players can be
retrieved, and an SDL event is posted automatically whenever the Steam
overlay is activated.
Callback handlers were implemented using what Valve calls the manual
method, which is similar to an event loop, because Valve's standard
method is not compatible with MinGW.
Emscripten tests now use ASYNCIFY instead of emscripten_set_main_loop.
This allows Catch2 to continue execution and print its output after the
test completes. It also allows Game::run to run multiple times in a
single program.
The test program now launches and runs tests within the game's main
loop. It also tests a call to the Steam API.
A MacOS entitlements file was added to the test program.
Details about using MinGW with the Steam API were added to the README.
suppress_input functions moved from the Node class to the Game class to
further deprecate the Node class.
Game::get_input was removed to further move toward using composition
over inheritance in object construction.
11 lines
338 B
XML
11 lines
338 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>com.apple.security.cs.disable-library-validation</key>
|
|
<true/>
|
|
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
|
<true/>
|
|
</dict>
|
|
</plist>
|