Classes | |
class | GameWindow |
Basic rendering unit. More... | |
class | Image |
Stores imagedata and is capable of loading pngs. More... | |
class | Layer |
Drawable objects should derive from this class. Layers can be managed by LayerManagers. More... | |
class | LayerManager |
Groups layers into one block in which they can be managed. More... | |
class | Quad |
Capable of drawing a rectangle on screen. More... | |
struct | Rectangle |
Basic data for a rectangle. More... | |
class | Sprite |
A basic drawable object with animation support. More... | |
class | TiledLayer |
Capable of drawing a grid of cells with tiles from an image. More... | |
Enumerations | |
enum | IMG_LOAD_ERROR { IMG_LOAD_ERROR_NONE = 0, IMG_LOAD_ERROR_NOT_FOUND, IMG_LOAD_ERROR_INV_PNG, IMG_LOAD_ERROR_PNG_FAIL, IMG_LOAD_ERROR_WRONG_SIZE, IMG_LOAD_ERROR_ALREADY_INIT } |
Error codes when loading images. More... | |
enum | IMG_LOAD_TYPE { IMG_LOAD_TYPE_PATH = 0, IMG_LOAD_TYPE_BUFFER } |
Specifies how to load the image. More... | |
enum | TRANSFORM { TRANS_NONE = 0, TRANS_MIRROR = 1, TRANS_BILINEAR_OFF = 2, TRANS_ADDITIVE_BLENDING = 4 } |
Texture transformation. More... |
enum wsp::IMG_LOAD_ERROR |
Error codes when loading images.
IMG_LOAD_ERROR_NONE | Image successfully loaded. |
IMG_LOAD_ERROR_NOT_FOUND | File was not found. |
IMG_LOAD_ERROR_INV_PNG | Invalid PNG header. |
IMG_LOAD_ERROR_PNG_FAIL | Invalid PNG data. |
IMG_LOAD_ERROR_WRONG_SIZE | The images width and height should both be a multiple of 4. |
IMG_LOAD_ERROR_ALREADY_INIT | Returns this if the image was already initialized. |
enum wsp::IMG_LOAD_TYPE |
enum wsp::TRANSFORM |