Sdl2-branch

From Chocolate Doom
Jump to: navigation, search

sdl2-branch was a branch of Chocolate Doom that ports the codebase to SDL version 2.0. This new version of the SDL library has a number of enhancements over the old SDL v1.2 that Chocolate Doom has used until now. Among other things it opens the door to possible ports to iOS and Android. Now complete, sdl2-branch has become the new codebase for Chocolate Doom; Chocolate Doom v3.0.0 is the first release based on the new SDL2 codebase.

New features[edit]

  • 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.

External links[edit]