From 516d913692c9e5f6fdb2c55ebcde03a51d254d46 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Wed, 11 Jul 2007 16:14:52 +0000 Subject: [PATCH] Forgot to commit new APIs (still need doc'd) --- src/tp_magic_api.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tp_magic_api.h.in b/src/tp_magic_api.h.in index ca5fe9e97..bbf4bfc1d 100644 --- a/src/tp_magic_api.h.in +++ b/src/tp_magic_api.h.in @@ -42,6 +42,9 @@ typedef struct magic_api_t { int (*button_down)(void); void (*rgbtohsv)(Uint8, Uint8, Uint8, float *, float *, float *); void (*hsvtorgb)(float, float, float, Uint8 *, Uint8 *, Uint8 *); + int canvas_w; + int canvas_h; + SDL_Surface * (*scale)(SDL_Surface *, int, int, int); } magic_api; #define TP_MAGIC_API_VERSION __APIVERSION__