-
Notifications
You must be signed in to change notification settings - Fork 29
Home
Doxygen documentation for the latest stable release can be found here!
Centurion is a modern C++ header-only library built on top of SDL2 in order to improve type-safety, memory safety and overall ease-of-use. It can be used for creating windows, 2D-rendering, keyboard input, mouse input, sound effects, music, etc. In other words, most of the things you can do with SDL2!
Centurion is written in modern C++17, which means that the API is much more expressive, type-safe and easy-to-use than raw SDL2, which is written in C. By using Centurion effectively, there’s no need to worry about memory leaks and ownership of resources! By using Centurion you will write type-safe, expressive and efficient code. Furthermore, Centurion is distributed as a single header, which makes installing the library to your project very simple.
Hopefully, you’re at least a little bit interested in the library by now! If you have SDL2 installed, all you need to do is to download the centurion.hpp
file in the include
directory, which contains the entire Centurion library, and include it in your project!