mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
crystal:: animates correctly
This commit is contained in:
parent
683b235d55
commit
d506c73571
3
hyper.h
3
hyper.h
@ -1298,6 +1298,9 @@ namespace rug {
|
||||
rugpoint *addRugpoint(hyperpoint h, double dist);
|
||||
void buildRug();
|
||||
|
||||
bool in_crystal();
|
||||
void physics();
|
||||
|
||||
extern renderbuffer *glbuf;
|
||||
extern eGeometry gwhere;
|
||||
extern bool no_fog;
|
||||
|
@ -267,6 +267,7 @@ void saveHighQualityShot(const char *fname, const char *caption, int fade) {
|
||||
if(rug::rugged) {
|
||||
if(!rug::renderonce) rug::prepareTexture();
|
||||
glbuf.enable();
|
||||
if(rug::in_crystal()) rug::physics();
|
||||
rug::drawRugScene();
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user