@@ -1842,9 +1842,17 @@ void AM_Drawer()
1842
1842
{
1843
1843
if (am_showmonsters)
1844
1844
{
1845
- StrFormat (line, TEXTCOLOR_RED " MONSTERS:" TEXTCOLOR_NORMAL " %d / %d" ,
1845
+ if (G_IsHordeMode ())
1846
+ {
1847
+ StrFormat (line, TEXTCOLOR_RED " MONSTERS:" TEXTCOLOR_NORMAL " %d" ,
1848
+ level.killed_monsters );
1849
+ }
1850
+ else
1851
+ {
1852
+ StrFormat (line, TEXTCOLOR_RED " MONSTERS:" TEXTCOLOR_NORMAL " %d / %d" ,
1846
1853
level.killed_monsters ,
1847
1854
(level.total_monsters + level.respawned_monsters ));
1855
+ }
1848
1856
1849
1857
int x, y;
1850
1858
const int text_width = V_StringWidth (line.c_str ()) * CleanXfac;
@@ -1853,6 +1861,10 @@ void AM_Drawer()
1853
1861
{
1854
1862
x = surface_width - text_width;
1855
1863
y = OV_Y - (text_height * 4 ) + 1 ;
1864
+ if (G_IsHordeMode ())
1865
+ {
1866
+ y -= text_height * 2 ;
1867
+ }
1856
1868
}
1857
1869
else
1858
1870
{
@@ -1863,7 +1875,7 @@ void AM_Drawer()
1863
1875
screen->DrawTextClean (CR_GREY, x, y, line.c_str ());
1864
1876
}
1865
1877
1866
- if (am_showitems)
1878
+ if (am_showitems && ! G_IsHordeMode () )
1867
1879
{
1868
1880
StrFormat (line, TEXTCOLOR_RED " ITEMS:" TEXTCOLOR_NORMAL " %d / %d" ,
1869
1881
level.found_items ,
@@ -1886,7 +1898,7 @@ void AM_Drawer()
1886
1898
screen->DrawTextClean (CR_GREY, x, y, line.c_str ());
1887
1899
}
1888
1900
1889
- if (am_showsecrets)
1901
+ if (am_showsecrets && ! G_IsHordeMode () )
1890
1902
{
1891
1903
StrFormat (line, TEXTCOLOR_RED " SECRETS:" TEXTCOLOR_NORMAL " %d / %d" ,
1892
1904
level.found_secrets , level.total_secrets );
@@ -1940,6 +1952,10 @@ void AM_Drawer()
1940
1952
{
1941
1953
x = surface_width - text_width;
1942
1954
y = OV_Y - (text_height * 1 ) + 1 ;
1955
+ if (G_IsHordeMode ())
1956
+ {
1957
+ y -= text_height * 3 ;
1958
+ }
1943
1959
}
1944
1960
else
1945
1961
{
@@ -1981,6 +1997,10 @@ void AM_Drawer()
1981
1997
{
1982
1998
x = surface_width - text_width;
1983
1999
y = OV_Y - (text_height * 1 ) + 1 ;
2000
+ if (G_IsHordeMode ())
2001
+ {
2002
+ y -= text_height * 3 ;
2003
+ }
1984
2004
}
1985
2005
else
1986
2006
{
@@ -2009,6 +2029,10 @@ void AM_Drawer()
2009
2029
x = surface_width - text_width;
2010
2030
y = OV_Y - (text_height * 1 ) + 1 ;
2011
2031
}
2032
+ if (G_IsHordeMode ())
2033
+ {
2034
+ y -= text_height * 3 ;
2035
+ }
2012
2036
2013
2037
screen->DrawTextClean (CR_GREY, x, y, line.c_str ());
2014
2038
}
0 commit comments