Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial SDL2 port #241

Merged
merged 12 commits into from
May 6, 2024
Merged

Initial SDL2 port #241

merged 12 commits into from
May 6, 2024

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    001a533 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f739edf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20601d1 View commit details
    Browse the repository at this point in the history
  4. Use SDL_assert on Linux/Mac.

    icculus committed May 2, 2024
    Configuration menu
    Copy the full SHA
    b5d6831 View commit details
    Browse the repository at this point in the history
  5. Make sure Mac and Linux builds have SDL2 available.

    Currently Windows gets this from vcpkg. Mac will get it from Homebrew,
    and the GitHub linux builders will just install it with apt-get.
    
    This might not be the perfect solution (having to install Homebrew is a pain,
    GitHub Actions has an ancient SDL2), but it gets all the common platforms
    running for now without much fuss.
    icculus committed May 2, 2024
    Configuration menu
    Copy the full SHA
    ff571ed View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. sdl2: Fix broken audio in MVE playback.

    This doesn't fix the audio gaps, just the static introduced in the SDL2 port.
    
    SDL2 does not initialize the audio callback's buffer, unlike SDL 1.2, under
    the assumption the callback is going to fully write it anyhow. But since
    the movie player wants to mix against the current contents of the buffer,
    we need to explicitly initialize it to silence first.
    icculus committed May 5, 2024
    Configuration menu
    Copy the full SHA
    65b1a7d View commit details
    Browse the repository at this point in the history
  2. sdl2: Ignore key-repeats events.

    Fixes keyboard input during gameplay.
    icculus committed May 5, 2024
    Configuration menu
    Copy the full SHA
    851f475 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b362bc9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f07fd5 View commit details
    Browse the repository at this point in the history
  5. sdl2: Updated README for SDL2 changes.

    Update SDL 1.2 references, remove SDL_image references.
    icculus committed May 5, 2024
    Configuration menu
    Copy the full SHA
    bd3a596 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8033513 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    6d837e2 View commit details
    Browse the repository at this point in the history