mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 18:37:39 +00:00
fixed the floor graphics in dual tilings
This commit is contained in:
@@ -423,6 +423,7 @@ void geometry_information::generate_floorshapes_for(int id, cell *c) {
|
|||||||
if(fake::in()) data = FPIU(cgi.gpdata);
|
if(fake::in()) data = FPIU(cgi.gpdata);
|
||||||
siid = data->id_to_params[id][0] == 1;
|
siid = data->id_to_params[id][0] == 1;
|
||||||
sidir = data->id_to_params[id][1];
|
sidir = data->id_to_params[id][1];
|
||||||
|
if(INVERSE) siid = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(PURE && geometry != gBinaryTiling && geosupport_football() < 2) {
|
else if(PURE && geometry != gBinaryTiling && geosupport_football() < 2) {
|
||||||
|
|||||||
@@ -524,6 +524,7 @@ EX void updateHi(eItem it, int v) {
|
|||||||
EX void gainItem(eItem it) {
|
EX void gainItem(eItem it) {
|
||||||
int g = gold();
|
int g = gold();
|
||||||
bool lhu = landUnlocked(laHell);
|
bool lhu = landUnlocked(laHell);
|
||||||
|
bool rc = rlyehComplete();
|
||||||
items[it]++; if(it != itLotus) updateHi(it, items[it]);
|
items[it]++; if(it != itLotus) updateHi(it, items[it]);
|
||||||
if(it == itRevolver && items[it] > 6) items[it] = 6;
|
if(it == itRevolver && items[it] > 6) items[it] = 6;
|
||||||
achievement_collection(it);
|
achievement_collection(it);
|
||||||
@@ -579,6 +580,8 @@ EX void gainItem(eItem it) {
|
|||||||
addMessage(XLAT("Abandon all hope, the gates of Hell are opened!"));
|
addMessage(XLAT("Abandon all hope, the gates of Hell are opened!"));
|
||||||
addMessage(XLAT("And the Orbs of Yendor await!"));
|
addMessage(XLAT("And the Orbs of Yendor await!"));
|
||||||
}
|
}
|
||||||
|
if(rlyehComplete() && !rc)
|
||||||
|
addMessage(XLAT("Cthulhu's tentacles reach out upon the world..."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user