# HG changeset patch # User Nomad # Date 1351215294 -7200 # Node ID 1520e3385feddbac8b6799f7967588c2aec04b74 # Parent 05e4b4bd4d647c24c41c3d3bc9b74fbaa5b90d75 Party creation ui: clouds animation speed fix (bound to time, not framerate) diff -r 05e4b4bd4d64 -r 1520e3385fed mm7_4.cpp --- a/mm7_4.cpp Fri Oct 26 03:27:59 2012 +0200 +++ b/mm7_4.cpp Fri Oct 26 03:34:54 2012 +0200 @@ -5404,11 +5404,14 @@ uColorWhite = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0xFFu); pRenderer->BeginScene(); pRenderer->DrawTextureRGB(0, 0, &pTexture_PCX); + + uPlayerCreationUI_SkySliderPos = (GetTickCount() % 12800) / 20; pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos, 2, pTexture_MAKESKY); - pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos++ - 640, 2, pTexture_MAKESKY); - if ( (signed int)uPlayerCreationUI_SkySliderPos > 640 ) - uPlayerCreationUI_SkySliderPos = 0; + pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos - 640, 2, pTexture_MAKESKY); + //if (uPlayerCreationUI_SkySliderPos > 640) + //uPlayerCreationUI_SkySliderPos = 0; pRenderer->DrawTextureTransparent(0, 0, pTexture_MAKETOP); + uTitleText = pGlobalTXT_LocalizationStrings[51]; uPlayerCreationUI_SelectedCharacter = (pGUIWindow_CurrentMenu->pCurrentPosActiveItem - pGUIWindow_CurrentMenu->pStartingPosActiveItem) / 7; v2 = pFontCChar->AlignText_Center(640, pGlobalTXT_LocalizationStrings[51]);