mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-18 11:19:59 +00:00
rug:: bugfix: draw boundary and model elements (previously changing fillmodel had no effect on rug)
This commit is contained in:
parent
f41e149688
commit
4727e71590
2
hyper.h
2
hyper.h
|
@ -1013,6 +1013,8 @@ hyperpoint gethyper(ld x, ld y);
|
||||||
void resetview();
|
void resetview();
|
||||||
void drawthemap();
|
void drawthemap();
|
||||||
void drawfullmap();
|
void drawfullmap();
|
||||||
|
void draw_boundary(int w);
|
||||||
|
void draw_model_elements();
|
||||||
extern function<void()> wrap_drawfullmap;
|
extern function<void()> 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 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);
|
bool displaystr(int x, int y, int shift, int size, const string& str, color_t color, int align);
|
||||||
|
|
8
rug.cpp
8
rug.cpp
|
@ -1288,6 +1288,14 @@ void prepareTexture() {
|
||||||
glbuf->clear(0);
|
glbuf->clear(0);
|
||||||
|
|
||||||
ptds.clear();
|
ptds.clear();
|
||||||
|
|
||||||
|
#if CAP_QUEUE
|
||||||
|
draw_boundary(0);
|
||||||
|
draw_boundary(1);
|
||||||
|
|
||||||
|
draw_model_elements();
|
||||||
|
#endif
|
||||||
|
|
||||||
drawthemap();
|
drawthemap();
|
||||||
if(mousing && !renderonce) {
|
if(mousing && !renderonce) {
|
||||||
for(int i=0; i<numplayers(); i++) if(multi::playerActive(i))
|
for(int i=0; i<numplayers(); i++) if(multi::playerActive(i))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user