Merge pull request #371 from jlmjlm/geom_wmark
Show weapon watermark with geometric xbow.
This commit is contained in:
commit
ec9be47a83
|
@ -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;
|
||||||
|
|
3
hud.cpp
3
hud.cpp
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue