Skip to content

Make the game runnable without sound. #78

Description

@elektito

At the moment, the game won't run without sound capability on the machine. Make it possible to run the game without sound.

  • Do not quit the game when SDL_mixer cannot be initialized.
  • Set a flag so that the PlaySound function (in helpers.cc) immediately returns.
  • Make it so that the game cannot be unmuted when there is no sound capability.
  • Give an error message on startup but proceed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions