From d4b4e657bfa17100ed1b56905087336c63daa61e Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 13 Jan 2006 06:11:47 +0000 Subject: [PATCH] Fixed some parameter types to match the engine. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1860 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- plugins/plugin.c | 2 +- plugins/plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/plugin.c b/plugins/plugin.c index a9ebbc654..44bc1e163 100644 --- a/plugins/plugin.c +++ b/plugins/plugin.c @@ -135,7 +135,7 @@ BUILTIN(void, Draw_Image, (float x, float y, float w, float h, float s1, float t BUILTIN(void, Draw_Line, (float x1, float y1, float x2, float y2)); #undef ARGNAMES #define ARGNAMES ,PASSFLOAT(x),PASSFLOAT(y),PASSFLOAT(w),PASSFLOAT(h) -BUILTIN(void, Draw_Fill, (int x, int y, int w, int h)); +BUILTIN(void, Draw_Fill, (float x, float y, float w, float h)); #undef ARGNAMES #define ARGNAMES ,x,y,characture BUILTIN(void, Draw_Character, (int x, int y, unsigned int characture)); diff --git a/plugins/plugin.h b/plugins/plugin.h index 170fc013c..31814c2cb 100644 --- a/plugins/plugin.h +++ b/plugins/plugin.h @@ -123,7 +123,7 @@ EBUILTIN(void, Media_ShowFrameRGBA_32, (void *src, int srcwidth, int srcheight, EBUILTIN(qhandle_t, Draw_LoadImage, (char *name, qboolean iswadimage)); //wad image is ONLY for loading out of q1 gfx.wad EBUILTIN(void, Draw_Image, (float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t image)); -EBUILTIN(void, Draw_Fill, (int x, int y, int w, int h)); +EBUILTIN(void, Draw_Fill, (float x, float y, float w, float h)); EBUILTIN(void, Draw_Line, (float x1, float y1, float x2, float y2)); EBUILTIN(void, Draw_Character, (int x, int y, unsigned int characture)); EBUILTIN(void, Draw_Colourp, (int palcol));