Guard g3d_interp_outline by defined(EDITOR)

This commit is contained in:
Kp 2015-02-28 22:34:07 +00:00
parent 2397bc9a02
commit 14530d43ea
2 changed files with 4 additions and 3 deletions

View file

@ -35,7 +35,9 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
struct grs_bitmap;
#ifdef EDITOR
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
//prefix because it was defined somewhere else before it was moved here

View file

@ -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);
#ifdef EDITOR
int g3d_interp_outline;
#define MAX_INTERP_COLORS 100
#endif
static inline int16_t *wp(uint8_t *p)
{