From d6ddbe4efea106ffe4023c4665b3db1d09b0abb8 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 6 Feb 2012 15:18:34 +0900 Subject: [PATCH] Create decls for the new draw functions. --- ruamoko/include/draw.h | 2 ++ ruamoko/lib/draw.r | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ruamoko/include/draw.h b/ruamoko/include/draw.h index 55d2c25eb..be432af3a 100644 --- a/ruamoko/include/draw.h +++ b/ruamoko/include/draw.h @@ -10,6 +10,8 @@ struct _qpic_t { }; typedef struct _qpic_t *qpic_t; +@extern void Draw_FreePic (qpic_t pic); +@extern qpic_t Draw_MakePic (int width, int heiight, void *data); @extern qpic_t Draw_CachePic (string name, int alpha); @extern void Draw_Pic (int x, int y, qpic_t pic); diff --git a/ruamoko/lib/draw.r b/ruamoko/lib/draw.r index a9a3f095a..c1c970922 100644 --- a/ruamoko/lib/draw.r +++ b/ruamoko/lib/draw.r @@ -1,5 +1,7 @@ #include "draw.h" +void Draw_FreePic (qpic_t pic) = #0; +qpic_t Draw_MakePic (int width, int heiight, void *data) = #0; qpic_t (string name, int alpha) Draw_CachePic = #0; void (int x, int y, qpic_t pic) Draw_Pic = #0;