mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-01 09:41:58 +00:00
- Fixed: Warped textures didn't work anymore because the default speed was 0.
- Fixed: When a suspended FraggleScript script was restarted all its variables were destroyed. Update to ZDoom r952: - Fixed: FString::StripRight() stripped the final character of the string if there were no designated characters to strip at the end of it. - Added support for Shoutcast/Icecast playlists. - Added an error message when a playlist could not be opened. - Added support for PLS format playlists, in addition to M3U. - Changed FPlayList to use an array of FStrings. - Fixed: Playlists required every song to be specified by an absolute path. - Fixed a copy-and-paste error in win32/i_main.cpp for 64-bit mode. - Tweaked OPL centering a little. - Added dynamic recentering for the OPL synth. The chip has four basic waveforms, and three of them are non-negative. This can cause a tendency for the resulting output waveform to go into very high ranges depending on the timbres used, and Heretic's exemplify this problem. - Reduced the OPL volume level slightly. - Fixed: The waveform view from snd_drawoutput was upside-down. - Various fixes for compiling working 64-bit binaries with Visual C++. The number of changes was pleasantly small, and a cursory check seems to show everything working alright. - Separated the skin scale values into separate X and Y values so that skins automatically generated for different player classes can use both the scaling values that can be set for the actor. - Fixed: Any MIDI ticks that contain only events that are interpreted by the MIDI parser and not passed on to the MIDI device would mess up timing for future events. - Changed EMIDI controller 110-113 handling to more accurately match the EMIDI specs: Track designations and exclusions should be ignored past the initial beat, and EMIDI program change and volume events should be ignored unless they were used in the initial beat. - Fixed: When FMOD::System::init() returns FMOD_ERR_OUTPUT_CREATEBUFFER, it could also be because the user selected PCM-Float output, but the driver doesn't support it (even if it claims to *cough*Audigy XP drivers*cough*). git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@101 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
ec5e0a3ff7
commit
c04b6de294
42 changed files with 594 additions and 215 deletions
|
@ -2129,19 +2129,21 @@ static void M_PlayerSetupDrawer ()
|
|||
}
|
||||
{
|
||||
spriteframe_t *sprframe;
|
||||
fixed_t Scale;
|
||||
fixed_t ScaleX, ScaleY;
|
||||
|
||||
if (GetDefaultByType (PlayerClass->Type)->flags4 & MF4_NOSKIN ||
|
||||
players[consoleplayer].userinfo.PlayerClass == -1 ||
|
||||
PlayerState->sprite.index != GetDefaultByType (PlayerClass->Type)->SpawnState->sprite.index)
|
||||
{
|
||||
sprframe = &SpriteFrames[sprites[PlayerState->sprite.index].spriteframes + PlayerState->GetFrame()];
|
||||
Scale = GetDefaultByType (PlayerClass->Type)->scaleX;
|
||||
ScaleX = GetDefaultByType(PlayerClass->Type)->scaleX;
|
||||
ScaleY = GetDefaultByType(PlayerClass->Type)->scaleY;
|
||||
}
|
||||
else
|
||||
{
|
||||
sprframe = &SpriteFrames[sprites[skins[PlayerSkin].sprite].spriteframes + PlayerState->GetFrame()];
|
||||
Scale = skins[PlayerSkin].Scale;
|
||||
ScaleX = skins[PlayerSkin].ScaleX;
|
||||
ScaleY = skins[PlayerSkin].ScaleY;
|
||||
}
|
||||
|
||||
if (sprframe != NULL)
|
||||
|
@ -2156,8 +2158,8 @@ static void M_PlayerSetupDrawer ()
|
|||
screen->DrawTexture (tex,
|
||||
(320 - 52 - 32 + xo - 160)*CleanXfac + (SCREENWIDTH)/2,
|
||||
(PSetupDef.y + LINEHEIGHT*3 + 57 - 104)*CleanYfac + (SCREENHEIGHT/2),
|
||||
DTA_DestWidth, MulScale16 (tex->GetWidth() * CleanXfac, Scale),
|
||||
DTA_DestHeight, MulScale16 (tex->GetHeight() * CleanYfac, Scale),
|
||||
DTA_DestWidth, MulScale16 (tex->GetWidth() * CleanXfac, ScaleX),
|
||||
DTA_DestHeight, MulScale16 (tex->GetHeight() * CleanYfac, ScaleY),
|
||||
DTA_Translation, translationtables[TRANSLATION_Players](MAXPLAYERS),
|
||||
TAG_DONE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue