summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-02-27 15:35:02 -0600
committerTim Angus <tim@ngus.net>2013-03-19 16:41:14 +0000
commit00404a70131729ff9fb3299603ca608ae92b14d6 (patch)
tree536104183b86366db077a3419132fe09a0a69aa2
parenta926f9bde4bf5f882c9ad38609a4c13b25bd88bc (diff)
Move noise function declations to tr_common.h
tr_noise.c is in renderercommon directory, so declare them in header there too.
-rw-r--r--src/renderercommon/tr_common.h2
-rw-r--r--src/renderergl1/tr_local.h3
-rw-r--r--src/renderergl2/tr_local.h3
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 );