mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-19 15:10:56 +00:00
r_main.c cosmetic changes ("Globals missaligned" -> "Globals misaligned"),
cleaned up a couple #if's
This commit is contained in:
parent
35169e2b94
commit
2930814d25
1 changed files with 6 additions and 8 deletions
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
#include "r_local.h"
|
#include "r_local.h"
|
||||||
|
|
||||||
//define PASSAGES
|
//#define PASSAGES
|
||||||
|
|
||||||
void *colormap;
|
void *colormap;
|
||||||
vec3_t viewlightvec;
|
vec3_t viewlightvec;
|
||||||
|
@ -327,11 +327,9 @@ void R_NewMap (void)
|
||||||
|
|
||||||
r_dowarpold = false;
|
r_dowarpold = false;
|
||||||
r_viewchanged = false;
|
r_viewchanged = false;
|
||||||
#ifndef QUAKEWORLD
|
#if !defined(QUAKEWORLD) && defined(PASSAGES)
|
||||||
#ifdef PASSAGES
|
|
||||||
CreatePassages ();
|
CreatePassages ();
|
||||||
#endif
|
#endif // !QUAKEWORLD && PASSAGES
|
||||||
#endif // !QUAKEWORLD
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1136,13 +1134,13 @@ void R_RenderView (void)
|
||||||
Sys_Error ("R_RenderView: called without enough stack");
|
Sys_Error ("R_RenderView: called without enough stack");
|
||||||
|
|
||||||
if ( Hunk_LowMark() & 3 )
|
if ( Hunk_LowMark() & 3 )
|
||||||
Sys_Error ("Hunk is missaligned");
|
Sys_Error ("Hunk is misaligned");
|
||||||
|
|
||||||
if ( (long)(&dummy) & 3 )
|
if ( (long)(&dummy) & 3 )
|
||||||
Sys_Error ("Stack is missaligned");
|
Sys_Error ("Stack is misaligned");
|
||||||
|
|
||||||
if ( (long)(&r_warpbuffer) & 3 )
|
if ( (long)(&r_warpbuffer) & 3 )
|
||||||
Sys_Error ("Globals are missaligned");
|
Sys_Error ("Globals are misaligned");
|
||||||
|
|
||||||
R_RenderView_ ();
|
R_RenderView_ ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue