SDLPP - C++ Wrapper for SDL Code
Status: Beta
Brought to you by:
photoneffect
File | Date | Author | Commit |
---|---|---|---|
apps | 2013-09-19 | photoneffect | [r46] Fixed some bugs |
deps | 2010-03-27 | photoneffect | [r3] |
include | 2013-09-19 | photoneffect | [r47] Fixed a problem with 64 bit compilation |
mp3decode | 2010-03-27 | photoneffect | [r1] |
samples | 2010-05-08 | photoneffect | [r21] Added an extended string class (xstring) and p... |
src | 2013-09-19 | photoneffect | [r47] Fixed a problem with 64 bit compilation |
tools | 2013-06-03 | photoneffect | [r39] |
utils | 2010-05-08 | photoneffect | [r21] Added an extended string class (xstring) and p... |
COPYING | 2010-03-27 | photoneffect | [r1] |
SDLPP.sln | 2010-03-27 | photoneffect | [r2] |
SDLPP.vcproj | 2010-05-15 | photoneffect | [r22] Added static Text GUI control |
readme.txt | 2013-06-05 | photoneffect | [r42] |
SDLPP - Overview and Mission Statement -------------------------------------- Although the project's title states that SDLPP is a C++ wrapper for SDL, the purpose of this project is not to wrap the SDL API just for the fun of saying that we are now using classes and objects. SDL provides a comprehensive low level interface to various media devices. "Low Level" in this context does not refer to the language or interface structure that the library provides, but rather to the fact that it does not make any assumptions as to the nature of the application that will be using it. For example, the audio interfaces simply provide access to the sound device buffer. They do not assume the role of providing higher level entities such as sound clips and streaming audio. Now back to the purpose of SDLPP. The purpose of this library is to provide classes that will assume some things about the type of applications that will be using it and provide interfaces to the most common tasks that such applications must do. For example, if audio was mentioned before, the concept of a sound clip and a central manager that provides audio mixing of all active clips can be used by various applications that need to play simple sound clips. Initially, the provided interface classes will cover the common tasks done by games. Specifically, the beginning benchmark of this library will be the creation of a simple 2D arcade game. This does not mean that the design will not take into account later expansion into other game/application domains. In addition to the various "wrapper" classes, several generic useful classes will be provided to take care of some common needs, such as resource IO and memory management. Platform -------- SDLPP is being developed in windows with the Microsoft Visual C++ 2012 compiler. Great effort is taken to make sure that no system dependent code exists in the main code base. In case a need will arise to use system dependent code, such code will be isolated in a specific module and will provide the means to create alternative implementations for systems that the library will be ported to. During development, key applications will also be compiled and tested on Linux, in order to verify portability to gcc and non-windows platforms. Plans are to provide project files for compilation with VC 2012 and make files for compilation with gcc and similar compilers, both in windows and in various UNIX systems. The only requirement as far as platform is concerned is that there should be a C++ standard compliant (as much as possible) compiler. License ------- SDLPP is distributed under the LGPL. This conforms to the same license used by SDL. Details can be found in the file called: COPYING or at: http://www.gnu.org/copyleft/lesser.html