- Changed: Model skins are now maintained by the texture manager so that

2 models can share the same skin now.

Update to ZDoom r1301:

- Changed: Textures without a name no longer get added to the texture manager's 
  hash chains.
- Fixed: specifying texture patches or font characters by full lump name instead
  of texture name didn't work. To do this properly the texture manager needs
  an option to look for a texture by lump number so that such textures can
  be maintained without interfering with regular operation.
- added 'skystretch' and 'autosequences' keywords for MAPINFO so that the effects
  of 'noautosequences' and 'forcenoskystretch' can be cancelled.
- Added a 'gamedefaults' section to MAPINFO after discovering that 'defaultmap'
  gets reset for each MAPINFO. A global section is needed to define a game's
  default setting in zdoom.pk3. The gamedefaults should normally not be changed 
  by PWADs but it can be done if some mod intends to change gameplay settings 
  but wants to allow custom add-ons on its own.
- Fixed alignment of "finished" line in WI_drawLF() when the level name is a
  graphic and scaled.
- It is now possible to replace the game's SmallFont with a single lump font
  called SMALLFNT.
- Reduced the width of the second column in wi_percents false mode from 3 to
  2 characters.
- Added a WISLASH graphic for Doom's intermission screen when wi_percents is
  false.
- Added: inventorybarnotvisible to check to see if the inventory bar is up.
- Added the following flags to drawselectedinventory center, centerbottom, and
  drawshadow.
- Fixed: The translucent flag for drawinventorybar should only have affected
  the artibox image.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@247 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2008-11-30 13:46:04 +00:00
parent bb3037ea70
commit 621051dedb
34 changed files with 334 additions and 228 deletions

View file

@ -750,7 +750,7 @@ void WI_drawLF ()
if (tex)
{
screen->DrawTexture(tex, midx - tex->GetWidth()*CleanXfac/2, y, DTA_CleanNoMove, true, TAG_DONE);
y += tex->GetHeight() + BigFont->GetHeight()*CleanYfac/4;
y += (tex->GetHeight() + BigFont->GetHeight()/4) * CleanYfac;
}
else
{
@ -937,10 +937,9 @@ void WI_drawPercent (int x, int y, int p, int b, bool show_total=true)
x += IntermissionFont->GetCharWidth('%');
if (show_total)
{
int y2 = y + IntermissionFont->GetHeight() - BigFont->GetHeight();
x = WI_drawNum(x, y, b, 3, false);
x -= BigFont->GetCharWidth('/');
screen->DrawText (BigFont, gameinfo.gametype & GAME_Doom ? CR_RED : CR_UNTRANSLATED, x, y2, "/",
x = WI_drawNum(x, y, b, 2, false);
x -= IntermissionFont->GetCharWidth('/');
screen->DrawText (IntermissionFont, CR_UNTRANSLATED, x, y, "/",
DTA_Clean, true, TAG_DONE);
}
WI_drawNum (x, y, p, -1, false);