Both of the DI_ALWAYSSHOWCOUNTERS and DI_DRAWCURSORFIRST flags, when passed to DrawInventoryBar, have no effect. The reason they don't work is because the flags variable that is being checked in the function is the incorrect variable.
Line 1061:
Code: Select all
if (j ^ !!(parms.flags & DI_DRAWCURSORFIRST))
Code: Select all
if (parms.amountfont != null && (item.Amount > 1 || (parms.flags & DI_ALWAYSSHOWCOUNTERS)))
Here is a test file:
Load it up with Heretic (switch to the fullscreen HUD) and give yourself an artifact. You'll notice, even though the flags are being passed, the select box is drawn over the item, and the counter is not shown.