summaryrefslogtreecommitdiff
path: root/source/ref_public.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
commit4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (patch)
treed48be98832d2d9cb977540541fae1acb1859142b /source/ref_public.h
parenta5afaf65af8ef50d1ce8bbd9e2133239013c26f7 (diff)
Huge search and replace commit.
Use fixed size integer types from stdint.h instead of custom defined ones. Get endianess infromation form endian.h. Added `remotemode' console command. Link with -ldl only on Linux.
Diffstat (limited to 'source/ref_public.h')
-rw-r--r--source/ref_public.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ref_public.h b/source/ref_public.h
index 04877c0..8e4dce3 100644
--- a/source/ref_public.h
+++ b/source/ref_public.h
@@ -205,11 +205,11 @@ typedef struct refAPI_s {
void (*RenderFrame)( refdef_t *fd );
void (*LightPoint)( vec3_t origin, vec3_t light );
- void (*SetColor)( uint32 flags, const color_t color );
- void (*SetClipRect)( uint32 flags, const clipRect_t *clip );
+ void (*SetColor)( int flags, const color_t color );
+ void (*SetClipRect)( int flags, const clipRect_t *clip );
void (*SetScale)( float *scale );
- void (*DrawChar)( int x, int y, uint32 flags, int ch, qhandle_t hFont );
- int (*DrawString)( int x, int y, uint32 flags, int maxChars,
+ void (*DrawChar)( int x, int y, int flags, int ch, qhandle_t hFont );
+ int (*DrawString)( int x, int y, int flags, int maxChars,
const char *string, qhandle_t hFont ); // returns advanced x coord
// will return 0 0 if not found
void (*DrawGetPicSize)( int *w, int *h, qhandle_t hPic );