// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#ifndef __DRAWINGCONTEXT_H__
-#define __DRAWINGCONTEXT_H__
+#ifndef SUPERTUX_DRAWINGCONTEXT_H
+#define SUPERTUX_DRAWINGCONTEXT_H
-#include <stdint.h>
#include <vector>
#include <string>
+
+#include "SDL.h"
+
#include "vector.h"
#include "screen.h"
-#include <SDL.h>
class Surface;
class Font;
/** Adds a drawing request for a surface into the request list */
void draw_surface(const Surface* surface, const Vector& position, int layer,
- uint32_t drawing_effect = NONE_EFFECT);
+ Uint32 drawing_effect = NONE_EFFECT);
/** Adds a drawing request for part of a surface */
void draw_surface_part(const Surface* surface, const Vector& source,
const Vector& size, const Vector& dest, int layer,
- uint32_t drawing_effect = NONE_EFFECT);
+ Uint32 drawing_effect = NONE_EFFECT);
/** draws a text */
void draw_text(Font* font, const std::string& text, const Vector& position,
int layer);
struct DrawingRequest
{
int layer;
- uint32_t drawing_effect;
+ Uint32 drawing_effect;
RequestType type;
Vector pos;
DrawingRequests drawingrequests;
};
-#endif
+#endif /*SUPERTUX_DRAWINGCONTEXT_H*/