C++ API for the Simple Directmedia Library (SDL). Carefully designed C++ interface for the C-based SDL, focused on making memory safety trade-offs explicit and preserving performance of the original.
MIT License
rolmodl is a C++ API for the Simple Directmedia Library 2 (SDL2). The overhead is minimized, as long as this does not compromise other design goals. In general, the abstraction layer varies in depth quite a lot.
rolmodl exposes risks to the consumer and makes it non-trivial to make mistakes
rolmodl does not add new features
rolmodl implements all features of SDL2
The doxygen documentation is available at https://maximsmol.github.io/rolmodl/.
An example program is available that showcases some of the features and their inteded use.
The todo files list the features that were left unimplemented in the meantime. The project todo is a developer reference of porject goals and shorcomings
rolmodl uses Shake. It depends on SDL2.
After installing the dependencies, simply run ./build.sh
from the project folder.
Include the rolmodl header: ./src/rolmodl/hpp/Rolmodl.hpp
. Link with the rolmodl shared library ./dist/dbg/librolmodl.dylib
(or your OS equivalent).
Use ./run.sh
to run the test application.