sdl2-branch

Jump to: navigation, search

sdl2-branch was a branch of Chocolate Doom that ported the codebase to SDL version 2.0. This new version of the SDL library had a number of enhancements over the old SDL v1.2 that Chocolate Doom previously used. Among other things it opened the door to possible ports to iOS and Android. sdl2-branch became the new codebase with the release of Chocolate Doom v3.0.0.

New features

  • Code runs on SDL2, bringing a small number of advantages such as hi-res icons, support for on-screen keyboards, and the possibility of ports to Android, iOS and Emscripten in the future.
  • Hardware-based scaling allows running at any resolution with little to no CPU overhead. The old software-based scaling no longer exists.
  • Dynamic switching between windowed and fullscreen mode using alt+enter key combo.
  • A new build system (chocpkg).
  • Previously-optional libraries will be included as standard in binary releases; this will allow people to use PNG screenshots and digital music packs on Windows.