statusbar fullscreen, fullscreenoffsets // ZDoom HUD
{
	//health
	drawimage "MEDIA0", 20, -2, centerbottom;
	drawnumber 2147483647, HUDFONT_DOOM, untranslated, health, drawshadow, 82, -20;
	
	//armor
	drawimage armoricon, 20, -24, centerbottom;
	drawnumber 2147483647, HUDFONT_DOOM, untranslated, armor, drawshadow, whennotzero, 82, -39;

	//whee, i do this so that all this junk doesn't show up while you're posessing a monster
	ininventory not Satanic_Posessing
	{
		//weapontag
		drawstring BIGFONT, white, weapontag, -1+center, -34, 0, alignment(center), drawshadow;

		//midscreen soul ammo counter
		drawstring SMALLFONT, untranslated, "mana", -1+center, -21, 0, alignment(center), drawshadow;
		drawnumber 3, BIGFONT, red, ammo satanic_soulammo, drawshadow, alignment(center), -1+center, -13;

		//ammo
		drawimage ammoicon1, -14, -4, centerbottom;
		drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo1, drawshadow, -25, -20;

		//powerup active message log 
		ininventory PowerNecShroud
		{
			drawstring SMALLFONT, red, "Necroshroud Active", -1+center, -42, 0, alignment(center),drawshadow;
		}
		
		ininventory PowerNecBar
		{
			drawstring SMALLFONT, red, "Necrobarrier Active", -1+center, -42, 0, alignment(center),drawshadow;
		}
		
		ininventory PowerNecVis
		{
			drawstring SMALLFONT, red, "Necrovision Active", -1+center, -50, 0, alignment(center),drawshadow;
		}
		
		ininventory PowerTimeFreezer
		{
			drawstring SMALLFONT, red, "Clock of Doom Active", -1+center, -58, 0, alignment(center),drawshadow;
		}
		
		//powerup icons
		drawswitchableimage PowerNecShroud, "NCSHB0", "NCSHA0", -22, 66, centerbottom;
		drawswitchableimage PowerNecBar, "NCBRB0", "NCBRA0", -22, 89, centerbottom;
		drawswitchableimage PowerNecVis, "NCRVB0", "NCRVA0", -22, 109, centerbottom;
		drawswitchableimage PowerTimeFreezer, "TIMEC0", "TIMEA0", -22, 123, centerbottom;
		
		//powerup time remaining
		drawnumber 2,SMALLFONT,white,poweruptime NecShroudAbility,whennotzero,drawshadow,alignment(right),-27,54;
		drawnumber 2,SMALLFONT,white,poweruptime NecBarAbility,whennotzero,drawshadow,alignment(right),-27,74;
		drawnumber 2,SMALLFONT,white,poweruptime NecVisAbility,whennotzero,drawshadow,alignment(right),-27,94;
		drawnumber 2, SMALLFONT,white,poweruptime DoomClockAbility,whennotzero,drawshadow,alignment(right),-27,108;
	
		usesammo
		{
			//secondary ammo and inventory
			usessecondaryammo
			{
				drawimage ammoicon2, -14, -22, centerbottom;
				drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo2, drawshadow, -25, -38;
				inventorybarnotvisible
				{
					drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -39, -26, -56, untranslated;
				}
			}
			else //no secondary ammo
			{
				inventorybarnotvisible
				{
					drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -21, -26, -38, untranslated;
				}
			}
		}
		else // no ammo but inventory
		{
			inventorybarnotvisible
			{
				drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -3, -26, -20, untranslated;
			}
		}

		gamemode deathmatch
		{
			drawnumber 2147483647, HUDFONT_DOOM, untranslated, frags, drawshadow, -3, 1;
		}
		// new keybar
		else
		{
			drawswitchableimage SatanicWhiteCard, "", "KEYWHT", 140, -35;
			drawswitchableimage SatanicBlackCard, "", "KEYBLK", 130, -30;
			drawswitchableimage SatanicRedCard, "", "KEYRED", 120, -25;
			drawswitchableimage SatanicWhiteSkull, "", "SKLWHT", 148, -28;
			drawswitchableimage SatanicBlackSkull, "", "SKLBLK", 138, -23;
			drawswitchableimage SatanicRedSkull, "", "SKLRED", 128, -18;
		}
	}
}

// inventory bar and tag
statusbar inventoryfullscreen, fullscreenoffsets
{
	drawinventorybar Doom, translucent, 6, SMALLFONT, -90+center, -90;
	drawstring SMALLFONT, white, inventorytag, -1+center, -96, 0, alignment(center); 
}