1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 17:37:39 +00:00

RogueViz fixes

This commit is contained in:
Zeno Rogue
2018-05-18 17:34:12 +02:00
parent c5c5f966dd
commit 530c689c98
8 changed files with 342 additions and 9 deletions

View File

@@ -830,6 +830,8 @@ namespace mapeditor {
void showDrawEditor();
}
struct renderbuffer;
namespace rug {
extern bool rugged;
extern bool computed;
@@ -921,6 +923,12 @@ namespace rug {
void addTriangle(rugpoint *t1, rugpoint *t2, rugpoint *t3, ld len = 1);
rugpoint *addRugpoint(hyperpoint h, double dist);
void buildRug();
extern renderbuffer *glbuf;
extern eGeometry gwhere;
extern bool no_fog;
extern ld lowrug, hirug, ruggospeed;
extern GLuint alternate_texture;
#endif
}