From 4727e7159070d6614d5cea32504bcce2478f7632 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 30 Mar 2019 17:47:16 +0100 Subject: [PATCH] rug:: bugfix: draw boundary and model elements (previously changing fillmodel had no effect on rug) --- hyper.h | 2 ++ rug.cpp | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/hyper.h b/hyper.h index 124e50da..7e928a5b 100644 --- a/hyper.h +++ b/hyper.h @@ -1013,6 +1013,8 @@ hyperpoint gethyper(ld x, ld y); void resetview(); void drawthemap(); void drawfullmap(); +void draw_boundary(int w); +void draw_model_elements(); extern function wrap_drawfullmap; bool displaystr(int x, int y, int shift, int size, const char *str, color_t color, int align); bool displaystr(int x, int y, int shift, int size, const string& str, color_t color, int align); diff --git a/rug.cpp b/rug.cpp index 5e1123cc..a8508d38 100644 --- a/rug.cpp +++ b/rug.cpp @@ -1288,6 +1288,14 @@ void prepareTexture() { glbuf->clear(0); ptds.clear(); + + #if CAP_QUEUE + draw_boundary(0); + draw_boundary(1); + + draw_model_elements(); + #endif + drawthemap(); if(mousing && !renderonce) { for(int i=0; i