Guard g3d_interp_outline by defined(EDITOR)
This commit is contained in:
parent
2397bc9a02
commit
14530d43ea
|
@ -35,7 +35,9 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
||||||
|
|
||||||
struct grs_bitmap;
|
struct grs_bitmap;
|
||||||
|
|
||||||
|
#ifdef EDITOR
|
||||||
extern int g3d_interp_outline; //if on, polygon models outlined in white
|
extern int g3d_interp_outline; //if on, polygon models outlined in white
|
||||||
|
#endif
|
||||||
|
|
||||||
//Structure for storing u,v,light values. This structure doesn't have a
|
//Structure for storing u,v,light values. This structure doesn't have a
|
||||||
//prefix because it was defined somewhere else before it was moved here
|
//prefix because it was defined somewhere else before it was moved here
|
||||||
|
|
|
@ -34,10 +34,9 @@ static const unsigned OP_GLOW = 8; //glow value for next poly
|
||||||
|
|
||||||
static uint16_t init_model_sub(uint8_t *p, uint16_t);
|
static uint16_t init_model_sub(uint8_t *p, uint16_t);
|
||||||
|
|
||||||
|
#ifdef EDITOR
|
||||||
int g3d_interp_outline;
|
int g3d_interp_outline;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_INTERP_COLORS 100
|
|
||||||
|
|
||||||
static inline int16_t *wp(uint8_t *p)
|
static inline int16_t *wp(uint8_t *p)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue