- Changed DTA_Translation parameter for DrawTexture to an integer to avoid
passing renderer specific data to the function. Also added DTA_Font so that the renderer can fetch font translations from the proper font. DIM_MAP/ConShade had to be made a regular translation table to make it work. - Added Karate Chris's fix for scoreboard displaying team play related data in non teamplay games. - Fixed: The team selection menu didn't work. - Fixed: UpdateTeam passed an FString to Printf. SVN r623 (trunk)
This commit is contained in:
parent
e419cc246f
commit
eb2e40cde0
19 changed files with 155 additions and 102 deletions
|
|
@ -698,7 +698,8 @@ static void WI_DrawCharPatch (FTexture *patch, int x, int y)
|
|||
screen->DrawTexture (patch, x, y,
|
||||
DTA_Clean, true,
|
||||
DTA_ShadowAlpha, (gameinfo.gametype == GAME_Doom) ? 0 : FRACUNIT/2,
|
||||
DTA_Translation, BigFont->GetColorTranslation (CR_UNTRANSLATED), // otherwise it doesn't look good in Strife!
|
||||
DTA_Font, BigFont,
|
||||
DTA_Translation, CR_UNTRANSLATED, // otherwise it doesn't look good in Strife!
|
||||
TAG_DONE);
|
||||
}
|
||||
}
|
||||
|
|
@ -1583,13 +1584,13 @@ void WI_drawNetgameStats ()
|
|||
x = NG_STATSX;
|
||||
// [RH] Only use one graphic for the face backgrounds
|
||||
screen->DrawTexture (p, x - p->GetWidth(), y,
|
||||
DTA_Translation, translationtables[TRANSLATION_Players] + i*256,
|
||||
DTA_Translation, TRANSLATION(TRANSLATION_Players, i),
|
||||
DTA_Clean, true,
|
||||
TAG_DONE);
|
||||
|
||||
if (i == me)
|
||||
screen->DrawTexture (star, x - p->GetWidth(), y,
|
||||
DTA_Translation, translationtables[TRANSLATION_Players] + i*256,
|
||||
DTA_Translation, TRANSLATION(TRANSLATION_Players, i),
|
||||
DTA_Clean, true,
|
||||
TAG_DONE);
|
||||
|
||||
|
|
@ -1633,7 +1634,7 @@ void WI_drawNetgameStats ()
|
|||
if (gameinfo.gametype == GAME_Heretic)
|
||||
{
|
||||
screen->DrawTexture (star, 25, y,
|
||||
DTA_Translation, translationtables[TRANSLATION_Players] + i*256,
|
||||
DTA_Translation, TRANSLATION(TRANSLATION_Players, i),
|
||||
DTA_Clean, true,
|
||||
TAG_DONE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue