1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

simple-impossible now works with the new model, and also rotates

This commit is contained in:
Zeno Rogue 2023-01-30 00:46:55 +01:00
parent c468c90463
commit c21d5373e5

View File

@ -140,6 +140,8 @@ bool walls_created = false;
const int darkval_e6[6] = {0,4,6,0,4,6};
bool spinning = true;
void draw_ro() {
shiftmatrix Zero = ggmatrix(currentmap->gamestart());
@ -147,7 +149,7 @@ void draw_ro() {
if(true) {
transmatrix S = Id;
if(!nilv::model_used) cspin(0, 1, ticks * TAU / anims::period);
if(spinning) S = cspin(0, 1, ticks * TAU / anims::period);
int bid = 0;
for(auto& b: bricks) { bid++;
@ -455,6 +457,10 @@ int args() {
View = Id;
}
else if(argis("-bspin")) {
spinning = true;
}
else if(argis("-bnet")) {
PHASEFROM(3);
cgi.require_shapes();