1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 22:57:38 +00:00

fixed the floor graphics in dual tilings

This commit is contained in:
Zeno Rogue
2025-08-17 14:23:12 +02:00
parent 6c3400aeae
commit 963c2326ec
2 changed files with 4 additions and 0 deletions

View File

@@ -423,6 +423,7 @@ void geometry_information::generate_floorshapes_for(int id, cell *c) {
if(fake::in()) data = FPIU(cgi.gpdata);
siid = data->id_to_params[id][0] == 1;
sidir = data->id_to_params[id][1];
if(INVERSE) siid = 1;
}
else if(PURE && geometry != gBinaryTiling && geosupport_football() < 2) {

View File

@@ -524,6 +524,7 @@ EX void updateHi(eItem it, int v) {
EX void gainItem(eItem it) {
int g = gold();
bool lhu = landUnlocked(laHell);
bool rc = rlyehComplete();
items[it]++; if(it != itLotus) updateHi(it, items[it]);
if(it == itRevolver && items[it] > 6) items[it] = 6;
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("And the Orbs of Yendor await!"));
}
if(rlyehComplete() && !rc)
addMessage(XLAT("Cthulhu's tentacles reach out upon the world..."));
}
}