mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-01 01:12:52 +00:00
simple-impossible now works with the new model, and also rotates
This commit is contained in:
parent
c468c90463
commit
c21d5373e5
@ -140,6 +140,8 @@ bool walls_created = false;
|
|||||||
|
|
||||||
const int darkval_e6[6] = {0,4,6,0,4,6};
|
const int darkval_e6[6] = {0,4,6,0,4,6};
|
||||||
|
|
||||||
|
bool spinning = true;
|
||||||
|
|
||||||
void draw_ro() {
|
void draw_ro() {
|
||||||
|
|
||||||
shiftmatrix Zero = ggmatrix(currentmap->gamestart());
|
shiftmatrix Zero = ggmatrix(currentmap->gamestart());
|
||||||
@ -147,7 +149,7 @@ void draw_ro() {
|
|||||||
if(true) {
|
if(true) {
|
||||||
|
|
||||||
transmatrix S = Id;
|
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;
|
int bid = 0;
|
||||||
for(auto& b: bricks) { bid++;
|
for(auto& b: bricks) { bid++;
|
||||||
@ -455,6 +457,10 @@ int args() {
|
|||||||
View = Id;
|
View = Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if(argis("-bspin")) {
|
||||||
|
spinning = true;
|
||||||
|
}
|
||||||
|
|
||||||
else if(argis("-bnet")) {
|
else if(argis("-bnet")) {
|
||||||
PHASEFROM(3);
|
PHASEFROM(3);
|
||||||
cgi.require_shapes();
|
cgi.require_shapes();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user