just some small comment cleanup
This commit is contained in:
+3
-5
@@ -89,8 +89,6 @@ void StepMania::GetPreferredVideoModeParams( VideoModeParams ¶msOut )
|
|||||||
iWidth = static_cast<int>(ceilf(PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio));
|
iWidth = static_cast<int>(ceilf(PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio));
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: allow for PRODUCT_ID + "-" + CommonMetrics::WINDOW_TITLE as
|
|
||||||
// a theme option (Midi requested it, AJ had the idea for making it optional)
|
|
||||||
paramsOut = VideoModeParams(
|
paramsOut = VideoModeParams(
|
||||||
PREFSMAN->m_bWindowed,
|
PREFSMAN->m_bWindowed,
|
||||||
iWidth,
|
iWidth,
|
||||||
@@ -1279,8 +1277,8 @@ bool HandleGlobalInputs( const InputEventPlus &input )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Re-added for StepMania 3.9 theming veterans, plus it's just faster than
|
/* Re-added for StepMania 3.9 theming veterans, plus it's just faster than
|
||||||
* the debug menu. However, in sm-ssc, the Shift button only reloads the
|
* the debug menu. The Shift button only reloads the metrics, unlike in 3.9
|
||||||
* metrics, unlike in 3.9 (where it saved bookkeeping and machine profile). -aj */
|
* (where it saved bookkeeping and machine profile). -aj */
|
||||||
bool bIsShiftHeld = INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_LSHIFT), &input.InputList) ||
|
bool bIsShiftHeld = INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_LSHIFT), &input.InputList) ||
|
||||||
INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_RSHIFT), &input.InputList);
|
INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_RSHIFT), &input.InputList);
|
||||||
bool bIsCtrlHeld = INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_LCTRL), &input.InputList) ||
|
bool bIsCtrlHeld = INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_LCTRL), &input.InputList) ||
|
||||||
@@ -1304,7 +1302,7 @@ bool HandleGlobalInputs( const InputEventPlus &input )
|
|||||||
else if( bIsCtrlHeld && bIsShiftHeld )
|
else if( bIsCtrlHeld && bIsShiftHeld )
|
||||||
{
|
{
|
||||||
// Shift+Ctrl+F2: reload overlay screens (and metrics, since themers
|
// Shift+Ctrl+F2: reload overlay screens (and metrics, since themers
|
||||||
// are likely going to do this after changing metrics and be lazy.)
|
// are likely going to do this after changing metrics.)
|
||||||
THEME->ReloadMetrics();
|
THEME->ReloadMetrics();
|
||||||
SCREENMAN->ReloadOverlayScreens();
|
SCREENMAN->ReloadOverlayScreens();
|
||||||
SCREENMAN->SystemMessage( RELOADED_OVERLAY_SCREENS );
|
SCREENMAN->SystemMessage( RELOADED_OVERLAY_SCREENS );
|
||||||
|
|||||||
Reference in New Issue
Block a user