Same sort of thing as the previous commits, but for the engine. Forward declaration cleanup and constification.

git-svn-id: https://svn.eduke32.com/eduke32@7072 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-16 06:09:09 +00:00
parent 342b32c4aa
commit 2e2731c119
16 changed files with 35 additions and 84 deletions

View file

@ -363,7 +363,7 @@ float glox1, gloy1, glox2, gloy2;
static int32_t gltexcacnum = -1;
//in-place multiply m0=m0*m1
static float* multiplyMatrix4f(float m0[4*4], float m1[4*4])
static float* multiplyMatrix4f(float m0[4*4], const float m1[4*4])
{
float mR[4*4];
@ -1248,7 +1248,6 @@ void polymost_init()
}
////////// VISIBILITY FOG ROUTINES //////////
extern int32_t nofog; // in windows/SDL layers
// only for r_usenewshading < 2 (not preferred)
static void fogcalc_old(int32_t shade, int32_t vis)
@ -3985,7 +3984,7 @@ void polymost_editorfunc(void)
searchit = 0;
}
void polymost_scansector(int32_t sectnum);
// variables that are set to ceiling- or floor-members, depending
// on which one is processed right now