1 |
/** \file SDL_Tools.h |
/** \file SDL_Tools.h |
2 |
* Declares the SDL tools methods. |
* Declares the SDL tools methods. |
3 |
* |
* |
4 |
|
* Revision history: |
5 |
|
* v1.1 (June 5, 2003) - Added the createSurface method |
6 |
|
* |
7 |
* @author <A href="mailto:vovansim@hotmail.com">Vovansim (aka Scorpion)</A> |
* @author <A href="mailto:vovansim@hotmail.com">Vovansim (aka Scorpion)</A> |
8 |
* @version 1.0 |
* @version 1.1 |
9 |
* @date May 15, 2003 |
* @date June 5, 2003 |
10 |
*/ |
*/ |
11 |
|
|
12 |
#ifndef ISO_ENGINE_SDL_TOOLS_H_ADCBNDJKHB |
#ifndef ISO_ENGINE_SDL_TOOLS_H_ADCBNDJKHB |
25 |
SDL_Surface* createScreen(Uint16 width, Uint16 height, char* caption, Uint32 flags); |
SDL_Surface* createScreen(Uint16 width, Uint16 height, char* caption, Uint32 flags); |
26 |
|
|
27 |
/** |
/** |
28 |
|
* Creates a new SDL_Surface with the specified dimensions and flags. Everything else is set to be the same values as for the main screen surface. |
29 |
|
*/ |
30 |
|
SDL_Surface* createSurface(Uint16 width, Uint16 height, Uint32 flags); |
31 |
|
|
32 |
|
/** |
33 |
* Returns the pixel value at (x, y) |
* Returns the pixel value at (x, y) |
34 |
* @warning The surface must be locked before calling this! |
* @warning The surface must be locked before calling this! |
35 |
*/ |
*/ |