From 820907cb25d8ab75a002678a101f06dcd4a1d626 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 5 Dec 2004 08:26:33 +0000 Subject: [PATCH] defs needed for realtime lighting on models and for doom replacement texture loading (when lacking the origional texture - which shouldn't be happening in my testbed.). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@564 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/glquake.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/gl/glquake.h b/engine/gl/glquake.h index df615d24d..03bc7766d 100644 --- a/engine/gl/glquake.h +++ b/engine/gl/glquake.h @@ -289,7 +289,7 @@ void R_DrawAliasModel (entity_t *e); //gl_alias.c void R_DrawGAliasModel (entity_t *e); void R_DrawGAliasShadowVolume(entity_t *e, vec3_t lightpos, float radius); -void R_DrawGAliasModelLighting (entity_t *e); +void R_DrawGAliasModelLighting (entity_t *e, vec3_t lightpos, vec3_t colours, float radius); //misc model formats void R_DrawAlias3Model (entity_t *ent); @@ -319,6 +319,7 @@ void GL_BuildLightmaps (void); void GL_LoadShaders(void); int Mod_LoadReplacementTexture(char *name, qboolean mipmap, qboolean alpha, qboolean gammaadjust); +extern int image_width, image_height; int Mod_LoadHiResTexture(char *name, qboolean mipmap, qboolean alpha, qboolean gammaadjust); int Mod_LoadBumpmapTexture(char *name);