Skip to content

Modernize build system and port to SDL2 - #18

Open
carstene1ns wants to merge 2 commits into
mattdm:mainfrom
carstene1ns:modernize
Open

Modernize build system and port to SDL2#18
carstene1ns wants to merge 2 commits into
mattdm:mainfrom
carstene1ns:modernize

Conversation

@carstene1ns

Copy link
Copy Markdown

This is working good so far, contains only few bells and whistles.
I intend to add some further things, but opened this now to get some early feedback.

  • On the packaging side there are a few TODOs for NSIS and RPM building, but the "normal" installation under GNU/Linux and compatibles should work.
  • On the SDL2 port side there are some "nice to have" things left, text input in the highscore screen and (likely) removal of the laundry system.

See commit descriptions and inline comments for details.

There are a few TODOs left with Windows and RPM packaging
- Only the final rendering is changed to benefit from hardware scaling,
  the rest is still in software. However, the surfaces are changed to
  be in the preferred format for the texture, to minimize conversions.
- Mouse movement with the keyboard is a bit hacky with older SDL2
  versions (older than 2.0.18 from 2021), but works.

TODOS:
- Highscore entry should be rewritten to use SDL_TEXTINPUT events
- Dirty laundry concept needs to be migrated to new rendering
@mattdm

mattdm commented Apr 14, 2026

Copy link
Copy Markdown
Owner

Thanks! I'll take a look when I get a chance!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants