From 00404a70131729ff9fb3299603ca608ae92b14d6 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 27 Feb 2013 15:35:02 -0600 Subject: Move noise function declations to tr_common.h tr_noise.c is in renderercommon directory, so declare them in header there too. --- src/renderercommon/tr_common.h | 2 ++ src/renderergl1/tr_local.h | 3 --- src/renderergl2/tr_local.h | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/renderercommon/tr_common.h b/src/renderercommon/tr_common.h index f751f7a3..4bca7e4e 100644 --- a/src/renderercommon/tr_common.h +++ b/src/renderercommon/tr_common.h @@ -67,6 +67,8 @@ extern cvar_t *r_stereoEnabled; qboolean R_GetModeInfo( int *width, int *height, float *windowAspect, int mode ); +float R_NoiseGet4f( float x, float y, float z, float t ); +void R_NoiseInit( void ); /* ==================================================================== diff --git a/src/renderergl1/tr_local.h b/src/renderergl1/tr_local.h index a2db3d44..f54400eb 100644 --- a/src/renderergl1/tr_local.h +++ b/src/renderergl1/tr_local.h @@ -1106,9 +1106,6 @@ extern cvar_t *r_marksOnTriangleMeshes; //==================================================================== -float R_NoiseGet4f( float x, float y, float z, float t ); -void R_NoiseInit( void ); - void R_SwapBuffers( int ); void R_RenderView( viewParms_t *parms ); diff --git a/src/renderergl2/tr_local.h b/src/renderergl2/tr_local.h index 6fe25081..6c0bf165 100644 --- a/src/renderergl2/tr_local.h +++ b/src/renderergl2/tr_local.h @@ -2108,9 +2108,6 @@ extern cvar_t *r_marksOnTriangleMeshes; //==================================================================== -float R_NoiseGet4f( float x, float y, float z, float t ); -void R_NoiseInit( void ); - void R_SwapBuffers( int ); void R_RenderView( viewParms_t *parms ); -- cgit