* Add Linux installation info
Add a repology badge and mention the possibility to install via the package manager.
I believe this is a better approach than explicitly mentioning a repository, because it uses repology's database (and the list will remain updated).
* use tiny badge
The big badge is too big and could overflow in the following section. The tiny one will keep the same size as new packages are added.
* Optimized final blit to the screen render target.
When bumping the table, instead of offseting the table pixels by CPU, just memcpy all the pixels to vScreenTex once, and then render two separate quads from that texture: one for the board and the other for the sidebar. Then change the coordinates of the board quad when bumping.
* Main menu bar doesn't cover game area
* Forgot to also take into account changing UI scale.
When bumping the table, instead of offseting the table pixels by CPU, just memcpy all the pixels to vScreenTex once, and then render two separate quads from that texture: one for the board and the other for the sidebar. Then change the coordinates of the board quad when bumping.
* fix harmless warnings and properly try/catch allocations via new
otherwise the error handling will never be triggered
* increase precision of mode_countdown_ handling
potentially there could be modes running a bit too long, depending on passed in ms (which were implicitly truncated before when passing in)
also fix some harmless warnings
* document warnings that i cannot handle on my own
* revert changes to have a new cleaner PR after review/cherry picks
* increase precision of mode_countdown_ handling
potentially there could be modes running a bit too long, depending on passed in ms (which were implicitly truncated before when passing in)
also fix some harmless warnings and add comments where original code is 'correct' but weird
SDL_MIXER_COMPILEDVERSION is not in Windows release of mixer v2.0.1, so it is back to basics with SDL_MIXER_PATCHLEVEL.
MIX_INIT_FLUIDSYNTH was renamed in 2.0.2, according to headers from Windows releases.
Ref PR #42, #46
* Compatibility for old CMake versions (3.0)
Compatibility for SDL Mixer 2.0.1
Basic controller support: LB, RB for flippers, A for plunger, DPAD for table bump
* Update SpaceCadetPinball/Sound.cpp
Co-authored-by: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com>