common2 is a D1 library to make multimedia programming easier.
A complete D2 overhaul is being done here: https://github.com/p0nce/gfm
I strongly suggest you use it instead.
- vectors, matrices, quaternions, basic geometry
- SDL 1.2 wrapper
- OpenGL wrapper battle-tested on SM 3.0 hardware (from OpenGL 1.3 to 2.1)
- INI file support
- logging
- BASS wrapper
- 2D image class with some primitives
- bitmap font loading