]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Add text for the last commit
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 4 Sep 2010 16:28:32 +0000 (19:28 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 4 Sep 2010 16:28:32 +0000 (19:28 +0300)
data/gfx/hud/bg_stomach_status.tga
data/qcsrc/client/sbar.qc

index 0f8082c35dd688f07c2b19e4da0985b44b53789a..94670a23fff754a0cb62b7377d6ba3e5d6a6c4f6 100644 (file)
Binary files a/data/gfx/hud/bg_stomach_status.tga and b/data/gfx/hud/bg_stomach_status.tga differ
index 663c3c219f07cd00f2e8fffd7fec4a56f45ebc79..d6384a655421565d979b2b28bf53503102c3e902 100644 (file)
@@ -2881,9 +2881,15 @@ void Sbar_Draw (void)
                                drawpic(bottomleft - '0 256 0', "gfx/hud/bg_stomach", '256 256 0', color, sbar_alpha_bg, DRAWFLAG_NORMAL);\r
                        }\r
                        if(getstati(STAT_STOMACH_EATEN))\r
                                drawpic(bottomleft - '0 256 0', "gfx/hud/bg_stomach", '256 256 0', color, sbar_alpha_bg, DRAWFLAG_NORMAL);\r
                        }\r
                        if(getstati(STAT_STOMACH_EATEN))\r
-                               drawpic(bottomleft- '0 256 0', "gfx/hud/bg_stomach_status", '256 256 0', '1 0 0', sbar_alpha_bg, DRAWFLAG_NORMAL);\r
+                       {\r
+                               drawpic(bottomleft - '0 256 0', "gfx/hud/bg_stomach_status", '256 256 0', '1 0 0', sbar_alpha_bg, DRAWFLAG_NORMAL);\r
+                               drawstring(bottomleft - '-80 168 0', "predator:", '8 8 0', '0 0 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+                       }\r
                        else\r
                        else\r
+                       {\r
                                drawpic(bottomleft- '0 256 0', "gfx/hud/bg_stomach_status", '256 256 0', '0 1 0', sbar_alpha_bg, DRAWFLAG_NORMAL);\r
                                drawpic(bottomleft- '0 256 0', "gfx/hud/bg_stomach_status", '256 256 0', '0 1 0', sbar_alpha_bg, DRAWFLAG_NORMAL);\r
+                               drawstring(bottomleft - '-80 168 0', "self:", '8 8 0', '0 0 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+                       }\r
                }\r
                float stomach_load;\r
                stomach_load = getstati(STAT_STOMACH_LOAD); // shows the predator's stomach load when we are eaten, and ours otherwise\r
                }\r
                float stomach_load;\r
                stomach_load = getstati(STAT_STOMACH_LOAD); // shows the predator's stomach load when we are eaten, and ours otherwise\r