mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 03:54:47 +00:00
correct map geometry displayed in welcome message, and both displayed in EwG
This commit is contained in:
parent
db43ea9de8
commit
e1ce20cabe
11
geom-exp.cpp
11
geom-exp.cpp
@ -507,8 +507,8 @@ EX void showQuotientConfig3() {
|
||||
}
|
||||
#endif
|
||||
|
||||
EX string geometry_name() {
|
||||
switch(ginf[geometry].cclass) {
|
||||
EX string geometry_name(eGeometryClass gc) {
|
||||
switch(gc) {
|
||||
case gcHyperbolic:
|
||||
return XLAT("hyperbolic") + dim_name();
|
||||
|
||||
@ -541,6 +541,13 @@ EX string geometry_name() {
|
||||
return "?";
|
||||
}
|
||||
|
||||
EX string geometry_name() {
|
||||
if(embedded_plane)
|
||||
return geometry_name(geom3::mgclass()) + " @ " + geometry_name(geom3::ggclass());
|
||||
else
|
||||
return geometry_name(ginf[geometry].cclass);
|
||||
};
|
||||
|
||||
EX void select_quotient_screen() {
|
||||
cmode = sm::SIDE | sm::MAYDARK;
|
||||
gamescreen();
|
||||
|
@ -77,6 +77,7 @@ EX hookset<bool()> hooks_welcome_message;
|
||||
/** \brief Print the welcome message during the start of game. Depends on the current mode and other settings. */
|
||||
EX void welcomeMessage() {
|
||||
if(callhandlers(false, hooks_welcome_message)) return;
|
||||
if(embedded_plane) return IPF(welcomeMessage());
|
||||
#if CAP_TOUR
|
||||
else if(tour::on) return; // displayed by tour
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user