diff --git a/common/include/3d.h b/common/include/3d.h index 630e150d8..0e1ad530b 100644 --- a/common/include/3d.h +++ b/common/include/3d.h @@ -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 diff --git a/similar/3d/interp.cpp b/similar/3d/interp.cpp index 1c6e83ca9..80758e6f3 100644 --- a/similar/3d/interp.cpp +++ b/similar/3d/interp.cpp @@ -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) {