vector status_pos;\r
string status_text;\r
status_text = strcat(ftos(bound(0, stomach_load, 9)), "/", ftos(bound(0, g_balance_vore_swallow_limit, 9)));\r
- status_pos = bottomleft - '-43 171 0';\r
+ status_pos = bottomleft - '-44 171 0';\r
status_pos -= '1 0 0' * stringwidth(status_text, FALSE, '22 22 0') * 0.5;\r
drawstring(status_pos, status_text, '22 22 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
\r
- if(getstati(STAT_VORE_DIGESTING))\r
- drawstring(bottomleft - '-76 142 0', "stomach digesting", '12 12 0', '1 0.5 0.5', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
- else if(stomach_load == g_balance_vore_swallow_limit)\r
- drawstring(bottomleft - '-76 142 0', "stomach full", '12 12 0', '0.5 1 0.5', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
- else if(!stomach_load)\r
- drawstring(bottomleft - '-76 142 0', "stomach empty", '12 12 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
- else\r
- drawstring(bottomleft - '-76 142 0', "stomach has prey", '12 12 0', '0.75 1 0.75', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+ if(getstati(STAT_VORE_DIGESTING)) // we are currently digesting\r
+ drawpic(bottomleft - '-35 149 0', "gfx/hud/sb_digestion", '16 16 0', '0 1 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+ else if(stomach_load) // we can digest at this time\r
+ drawpic(bottomleft - '-35 149 0', "gfx/hud/sb_digestion", '16 16 0', '0.25 0.25 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+ else // we cannot digest at this time\r
+ drawpic(bottomleft - '-35 149 0', "gfx/hud/sb_digestion", '16 16 0', '0.25 0 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
\r
// draw the stomach board player list\r
- entity pl;\r
+ entity pl, pred;\r
float f;\r
\r
pos = bottomleft;\r
pos_y += 1.1 * sbar_fontsize_y;\r
}\r
\r
+ // set the predator's name\r
if(getstati(STAT_VORE_EATEN))\r
- if(pl.sv_entnum == getstati(STAT_VORE_EATEN) - 1)\r
- Sbar_PrintStomachboardItemPred(bottomleft - '-76 156 0', pl);\r
+ {\r
+ if(pl.sv_entnum == getstati(STAT_VORE_EATEN) - 1)\r
+ pred = pl;\r
+ }\r
+ else\r
+ pred = self;\r
}\r
+\r
+ // draw the predator's name\r
+ Sbar_PrintStomachboardItemPred(bottomleft - '-76 150 0', pred);\r
}\r
\r
if (cvar("viewsize") <= 100) {\r
Mircea Kitsune\r
http://www.furaffinity.net/user/mircea/\r
\r
-**---------------- Logo: ----------------\r
+**---------------- 2D art: ----------------\r
\r
*Wolf\r
http://www.openclipart.org/detail/6111/wolf-by-johnny_automatic-6111\r
sheikh_tuhin\r
http://www.openclipart.org/user-detail/sheikh_tuhin\r
\r
+*Biohazard symbol \r
+http://www.openclipart.org/detail/23551/biohazard-symbol-by-gamefreak7744\r
+*GameFreak7744\r
+http://www.openclipart.org/user-detail/GameFreak7744\r
+\r
**---------------- Coding: ----------------\r
\r
*Main Programmer\r
pfunked\r
http://www.opengameart.org/user/68\r
\r
-\r
**---------------- Sounds: ----------------\r
\r
*Swallowing Gulp\r