コード例 #1
0
 private static void HandleFrameRates()
 {
     if (HasFlag(state, State.Enable) && !HasFlag(state, State.FrameStep) && !HasFlag(nextState, State.FrameStep) && !HasFlag(state, State.Record))
     {
         if (controller.HasFastForward)
         {
             FrameLoops = controller.FastForwardSpeed;
             return;
         }
         //q: but euni, why not just use the hotkey system you implemented?
         //a: i have no f*****g idea
         if (Hotkeys.IsKeyDown(settings.KeyFastForward) || Hotkeys.hotkeyFastForward.overridePressed)
         {
             FrameLoops = 10;
             return;
         }
     }
     FrameLoops = 1;
 }