Various UI changes:

* Add optional numeric values to healthbars, like in the standalone mod.
 * Remove minimap themes, keep only the Demolitionist color set.
 * Draw keys in the minimap using their respective colors.
 * Don't send AutoAutosave tokens to the minimap.
 * Tweak the minimap color of shootable actors so they look less like usable lines.
 * Use smaller font for cumulative damage on boss healthbars.
This commit is contained in:
Mari the Deer 2023-08-17 20:13:16 +02:00
commit 964dcf84f9
14 changed files with 69 additions and 193 deletions

View file

@ -265,7 +265,9 @@ Class SWWMSimpleTracker play
bool expired;
bool ismissile;
bool isbeam, isybeam;
bool iskey;
int lastupdate;
Color keycolor;
ui double smoothalpha; // smoothened alpha, for ui
SWWMSimpleTracker next;
@ -288,6 +290,8 @@ Class SWWMSimpleTracker play
countitem = SWWMUtility.IsScoreItem(target);
vipitem = SWWMUtility.IsVipItem(target);
lastupdate = level.maptime;
iskey = (target is 'Key');
if ( iskey ) keycolor = Key.GetMapColorForKey(Key(target));
if ( isitem )
{
if ( !target.bSPECIAL || Inventory(target).Owner )