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

Merge pull request #371 from jlmjlm/geom_wmark

Show weapon watermark with geometric xbow.
This commit is contained in:
Zeno Rogue 2024-04-22 18:42:57 +02:00 committed by GitHub
commit ec9be47a83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

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