Open TheBrokenRail opened 2 weeks ago
Also worth noting that I don't really like giant PRs. Which is why I ask that you create separate PRs for different changes from now on.
Yeah, sorry about that. I got a bit carried away (clearly).
Also, I added tools/extract_apk.py
. It just calls grabsounds,py
and extracts the other assets to game/assets
. I mainly created it because I got annoyed with having to figure out how to merge-copy the game assets into game/assets
. It also shows a file chooser if you run it by itself, which should make it easier to use for beginners.
This PR:
CMakeLists.txt
so you no longer need tocd platforms/sdl
before building the project.platforms/sdl/CMakeLists.txt
like you would expect instead of insource/CMakeLists.txt
.tools/grabsounds.py
now extracts sounds togame/assets/sound
using LIEF (which is downloaded automatically).AppPlatform::readAssetFile
, which has been implemented (and tested) for both SDL, Win32, and native Android.AppPlatform::getPatchData
has been changed to useAppPlatform::readAssetFile
.ln -s
to the CI, someone should probably fix that.Logger
.