SDLucid 0.90.0 review
DownloadSDLucid is a C++ wrapper library for the Simple Direct Media Layer by Sam Latinga
|
|
SDLucid is a C++ wrapper library for the Simple Direct Media Layer by Sam Latinga. SDLucid aims to not only be a wrapper, but also to offer a cleaner interface than the original SDL as well as more functionality. Want to see it in action? Here is a screenshot of the example contained in the distribution, nicely showing off the transforms code. SDLucid provides all of the following features that are not provided in SDL:
- a nice interface
- fast graphics primitives (polygons, circles...) with arbitrary fill modes
- affine transformations on surfaces (i.e. stretching, rotation...)
- bitmap fonts
- mp3, mod, wav playing with arbitrary mixing and samplerate conversion.
When designing SDLucid, I tried to follow these guidelines:
- make a new and clean interface to SDL that stays as close as possible to SDL terminology, but no closer.
- implement mighty functionality that's easy to use (some of this functionality duplicates what is available as SDL_mixer,SDL_image,SDL_ttf etc)
- use naming conventions that loosely resemble those of the STL, so SDLucid doesn't introduce another naming scheme into a client program
- stick to one mighty image format: PNG
- use exceptions for error reporting
It mixes well with STL code. Installation and use is drop-dead easy because of supplied autoconf macros and an sdlucid-config shell script. SDLucid currently depends on
- a good c++ compiler (gcc 2.95 will do)
- SDL, obviously. :)
- ixlib, a C++ tool library.
SDLucid 0.90.0 search tags