summaryrefslogtreecommitdiff
path: root/src/renderercommon
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2015-06-12 14:22:37 -0500
committerTim Angus <tim@ngus.net>2016-04-07 11:02:28 +0100
commit7b1fa0e3cc8c106a08ab8d7e12a0c40d2e2a7791 (patch)
tree536ffb63ccf7375b1f3c39e1f4ebfaf59e4be6ec /src/renderercommon
parent14964e061958f37aff3e4a68f22523df91bdc373 (diff)
Move image load function prototypes to tr_common.h
The functions themselves are in code/renderercommon/tr_image_*.c
Diffstat (limited to 'src/renderercommon')
-rw-r--r--src/renderercommon/tr_common.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/renderercommon/tr_common.h b/src/renderercommon/tr_common.h
index fe44f784..0dc5653d 100644
--- a/src/renderercommon/tr_common.h
+++ b/src/renderercommon/tr_common.h
@@ -130,6 +130,20 @@ void R_DoneFreeType( void );
void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font);
/*
+=============================================================
+
+IMAGE LOADERS
+
+=============================================================
+*/
+
+void R_LoadBMP( const char *name, byte **pic, int *width, int *height );
+void R_LoadJPG( const char *name, byte **pic, int *width, int *height );
+void R_LoadPCX( const char *name, byte **pic, int *width, int *height );
+void R_LoadPNG( const char *name, byte **pic, int *width, int *height );
+void R_LoadTGA( const char *name, byte **pic, int *width, int *height );
+
+/*
====================================================================
IMPLEMENTATION SPECIFIC FUNCTIONS