From c7059fbf28607a13313f824f51fcb72ae737f538 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 27 Feb 2013 15:35:02 -0600 Subject: [PATCH] Move noise function declations to tr_common.h tr_noise.c is in renderercommon directory, so declare them in header there too. --- code/renderercommon/tr_common.h | 2 ++ code/renderergl1/tr_local.h | 3 --- code/renderergl2/tr_local.h | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/code/renderercommon/tr_common.h b/code/renderercommon/tr_common.h index e48443ce..6c301c9c 100644 --- a/code/renderercommon/tr_common.h +++ b/code/renderercommon/tr_common.h @@ -72,6 +72,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/code/renderergl1/tr_local.h b/code/renderergl1/tr_local.h index 8b78c2b1..d7d425fd 100644 --- a/code/renderergl1/tr_local.h +++ b/code/renderergl1/tr_local.h @@ -1103,9 +1103,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/code/renderergl2/tr_local.h b/code/renderergl2/tr_local.h index 599a32af..368311b4 100644 --- a/code/renderergl2/tr_local.h +++ b/code/renderergl2/tr_local.h @@ -2105,9 +2105,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 );