- added DAMAGE_NO_ARMOR flag for ACS's SectorDamage function.

This commit is contained in:
Christoph Oelckers 2017-02-25 19:10:49 +01:00
commit 8dac678200
5 changed files with 23 additions and 23 deletions

View file

@ -738,6 +738,7 @@ public:
bool noautostartmap;
int dofrags;
int ng_state;
float shadowalpha;
//
// GRAPHICS
@ -777,23 +778,6 @@ public:
//====================================================================
//
// Draws a single character with a shadow
//
//====================================================================
int WI_DrawCharPatch (FFont *font, int charcode, int x, int y, EColorRange translation=CR_UNTRANSLATED, bool nomove=false)
{
int width;
font->GetChar(charcode, &width);
screen->DrawChar(font, translation, x, y, charcode,
nomove ? DTA_CleanNoMove : DTA_Clean, true,
DTA_ShadowAlpha, (gameinfo.gametype & GAME_DoomChex) ? 0 : 0.5,
TAG_DONE);
return x - width;
}
//====================================================================
//
// CheckRealHeight
@ -830,6 +814,20 @@ public:
return maxy;
}
//====================================================================
//
// Draws a single character with a shadow
//
//====================================================================
int WI_DrawCharPatch(FFont *font, int charcode, int x, int y, EColorRange translation = CR_UNTRANSLATED, bool nomove = false)
{
int width;
font->GetChar(charcode, &width);
screen->DrawChar(font, translation, x, y, charcode, nomove ? DTA_CleanNoMove : DTA_Clean, true, TAG_DONE);
return x - width;
}
//====================================================================
//
// Draws a level name with the big font