99868d5897
The SFX manager and SFXOpenAL would check if SFXs are enabled before pausing (looping) sound effects, so disabling SFXs in the options would fail to stop looping SFxs. Furthermore, 'OnSoundEnabledBack' would pause all looping SFXs. This commit checks for the pause status of the World (if applicable) to decide if the looping SFXs should be immediately resumed (networking) or not (real pause). Also clean some comments and move some code around. This patch doesn't address sound resuming when going from the pause menu to the options in networked mode, whereas it doesn't in a normal race. This is what caused the bug to trigger in the first place, but it's very minor by itself and the design of the SFX code could have triggered other future issues too. |
||
---|---|---|
.github | ||
android | ||
cmake | ||
data | ||
doc | ||
lib | ||
src | ||
switch | ||
tools | ||
.gitignore | ||
Brewfile | ||
CHANGELOG.md | ||
CMakeLists.txt | ||
COPYING | ||
INSTALL.md | ||
NETWORKING.md | ||
README.md | ||
sources.cmake |
SuperTuxKart
SuperTuxKart is a free kart racing game. It focuses on fun and not on realistic kart physics. Instructions can be found on the in-game help page.
The SuperTuxKart homepage can be found at https://supertuxkart.net/. There is also our FAQ and information on how get in touch with the community.
Latest release binaries can be found here, and preview release here.
Hardware Requirements
To run SuperTuxKart, make sure that your computer's specifications are equal or higher than the following specifications:
- A graphics card capable of 3D rendering - NVIDIA GeForce 470 GTX, AMD Radeon 6870 HD series card or Intel HD Graphics 4000 and newer. OpenGL >= 3.3
- You should have a dual-core CPU that's running at 1 GHz or faster.
- You'll need at least 512 MB of free VRAM (video memory).
- System memory: 1 GB
- Minimum disk space: 700 MB
- Ideally, you'll want a joystick with at least 6 buttons.
License
The software is released under the GNU General Public License (GPL) which can be found in the file COPYING
in the same directory as this file.
3D coordinates
A reminder for those who are looking at the code and 3D models:
SuperTuxKart: X right, Y up, Z forwards
Blender: X right, Y forwards, Z up
The export utilities perform the needed transformation, so in Blender you just work with the XY plane as ground, and things will appear fine in STK (using XZ as ground in the code, obviously).
Building from source
Building instructions can be found in INSTALL.md