Remove write-only g3d_interp_outline

This commit is contained in:
Kp 2023-02-04 19:21:25 +00:00
parent 805f3126db
commit a582b4ee82
3 changed files with 0 additions and 28 deletions

View file

@ -43,12 +43,6 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#endif
#endif
#if DXX_USE_EDITOR
namespace dcx {
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
struct g3s_uvl {

View file

@ -31,10 +31,6 @@
namespace dcx {
#if DXX_USE_EDITOR
int g3d_interp_outline;
#endif
namespace {
constexpr std::integral_constant<unsigned, 0> OP_EOF{}; //eof

View file

@ -626,9 +626,6 @@ static void render_object_search(grs_canvas &canvas, const d_level_unique_light_
static void do_render_object(grs_canvas &canvas, const d_level_unique_light_state &LevelUniqueLightState, const vmobjptridx_t obj, window_rendered_data &window)
{
#if DXX_USE_EDITOR
int save_3d_outline=0;
#endif
int count = 0;
#ifndef NDEBUG
@ -669,13 +666,6 @@ static void do_render_object(grs_canvas &canvas, const d_level_unique_light_stat
//check for editor object
#if DXX_USE_EDITOR
if (EditorWindow && obj==Cur_object_index) {
save_3d_outline = g3d_interp_outline;
g3d_interp_outline=1;
}
#endif
#if DXX_USE_EDITOR
if (_search_mode)
render_object_search(canvas, LevelUniqueLightState, obj);
@ -694,14 +684,6 @@ static void do_render_object(grs_canvas &canvas, const d_level_unique_light_stat
render_object(canvas, LevelUniqueLightState, o);
}
#if DXX_USE_EDITOR
if (EditorWindow && obj==Cur_object_index)
g3d_interp_outline = save_3d_outline;
#endif
}
}
}