1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 07:29:54 +00:00

Show weapon watermark with geometric xbow.

This commit is contained in:
Jacob Mandelson 2024-04-22 09:24:30 -07:00
parent e91c11ffb7
commit 14519dc258
2 changed files with 2 additions and 2 deletions

View File

@ -28,6 +28,7 @@ EX namespace bow {
#if HDR #if HDR
enum eWeapon { wBlade, wCrossbow }; enum eWeapon { wBlade, wCrossbow };
enum eCrossbowStyle { cbBull, cbGeodesic, cbGeometric }; enum eCrossbowStyle { cbBull, cbGeodesic, cbGeometric };
const string bowName[] = { "bull", "geod", "geom" };
#endif #endif
EX eWeapon weapon; EX eWeapon weapon;

View File

@ -705,8 +705,7 @@ EX void drawStats() {
if(peace::on) vers += " peace"; if(peace::on) vers += " peace";
if(racing::on) vers += " racing"; if(racing::on) vers += " racing";
if(daily::on) vers += " strange"; if(daily::on) vers += " strange";
if(bow::weapon && bow::style == bow::cbBull) vers += " b/bull"; if(bow::crossbow_mode()) vers += " b/" + bow::bowName[bow::style];
if(bow::weapon && bow::style == bow::cbGeodesic) vers += " b/geo";
if(land_structure != default_land_structure()) if(land_structure != default_land_structure())
vers += " " + land_structure_name(true); vers += " " + land_structure_name(true);
if(princess::challenge) vers += " Princess"; if(princess::challenge) vers += " Princess";