File tree Expand file tree Collapse file tree
GeneralsMD/Code/GameEngine/Source/GameClient
Generals/Code/GameEngine/Source/GameClient Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,8 +271,8 @@ void TransitionGroup::init( void )
271271
272272void TransitionGroup::update ( void )
273273{
274- // TheSuperHackers @tweak GUI transition timing is now decoupled from the render update.
275- const Real timeScale = TheFramePacer->getActualLogicTimeScaleOverFpsRatio ();
274+ // TheSuperHackers @tweak bobtista GUI transition timing is now decoupled from the render update.
275+ const Real timeScale = TheFramePacer->getBaseOverUpdateFpsRatio ();
276276 m_currentFrame += m_directionMultiplier * timeScale; // we go forward or backwards depending.
277277 TransitionWindowList::iterator it = m_transitionWindowList.begin ();
278278 while (it != m_transitionWindowList.end ())
Original file line number Diff line number Diff line change @@ -5430,10 +5430,10 @@ void InGameUI::updateAndDrawWorldAnimations( void )
54305430 }
54315431
54325432 // update the Z value
5433- // TheSuperHackers @tweak World animation Z-rise is now decoupled from the render update.
5433+ // TheSuperHackers @tweak bobtista World animation Z-rise is now decoupled from the render update.
54345434 if ( wad->m_zRisePerSecond )
54355435 {
5436- const Real timeScale = TheFramePacer->getActualLogicTimeScaleOverFpsRatio ();
5436+ const Real timeScale = TheFramePacer->getBaseOverUpdateFpsRatio ();
54375437 wad->m_worldPos .z += wad->m_zRisePerSecond / LOGICFRAMES_PER_SECOND * timeScale;
54385438 }
54395439
Original file line number Diff line number Diff line change @@ -271,8 +271,8 @@ void TransitionGroup::init( void )
271271
272272void TransitionGroup::update ( void )
273273{
274- // TheSuperHackers @tweak GUI transition timing is now decoupled from the render update.
275- const Real timeScale = TheFramePacer->getActualLogicTimeScaleOverFpsRatio ();
274+ // TheSuperHackers @tweak bobtista GUI transition timing is now decoupled from the render update.
275+ const Real timeScale = TheFramePacer->getBaseOverUpdateFpsRatio ();
276276 m_currentFrame += m_directionMultiplier * timeScale; // we go forward or backwards depending.
277277 TransitionWindowList::iterator it = m_transitionWindowList.begin ();
278278 while (it != m_transitionWindowList.end ())
Original file line number Diff line number Diff line change @@ -5603,10 +5603,10 @@ void InGameUI::updateAndDrawWorldAnimations( void )
56035603 }
56045604
56055605 // update the Z value
5606- // TheSuperHackers @tweak World animation Z-rise is now decoupled from the render update.
5606+ // TheSuperHackers @tweak bobtista World animation Z-rise is now decoupled from the render update.
56075607 if ( wad->m_zRisePerSecond )
56085608 {
5609- const Real timeScale = TheFramePacer->getActualLogicTimeScaleOverFpsRatio ();
5609+ const Real timeScale = TheFramePacer->getBaseOverUpdateFpsRatio ();
56105610 wad->m_worldPos .z += wad->m_zRisePerSecond / LOGICFRAMES_PER_SECOND * timeScale;
56115611 }
56125612
You can’t perform that action at this time.
0 commit comments