Remove write-only g3d_interp_outline
This commit is contained in:
parent
805f3126db
commit
a582b4ee82
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue