clean up StepMania.cpp, remove unused and old (and virus false positive) unlockconvert program
This commit is contained in:
Binary file not shown.
+1
-5
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
#include "StepMania.h"
|
#include "StepMania.h"
|
||||||
|
|
||||||
//
|
|
||||||
// Rage global classes
|
// Rage global classes
|
||||||
//
|
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "RageTextureManager.h"
|
#include "RageTextureManager.h"
|
||||||
#include "RageSoundManager.h"
|
#include "RageSoundManager.h"
|
||||||
@@ -37,9 +35,7 @@
|
|||||||
#define SUPPORT_OPENGL
|
#define SUPPORT_OPENGL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
|
||||||
// StepMania global classes
|
// StepMania global classes
|
||||||
//
|
|
||||||
#include "ThemeManager.h"
|
#include "ThemeManager.h"
|
||||||
#include "NoteSkinManager.h"
|
#include "NoteSkinManager.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
@@ -108,8 +104,8 @@ void StepMania::GetPreferredVideoModeParams( VideoModeParams ¶msOut )
|
|||||||
if( PREFSMAN->m_bWindowed )
|
if( PREFSMAN->m_bWindowed )
|
||||||
{
|
{
|
||||||
//float fRatio = PREFSMAN->m_iDisplayWidth / PREFSMAN->m_iDisplayHeight;
|
//float fRatio = PREFSMAN->m_iDisplayWidth / PREFSMAN->m_iDisplayHeight;
|
||||||
iWidth = PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio;
|
|
||||||
//iWidth = PREFSMAN->m_iDisplayHeight * fRatio;
|
//iWidth = PREFSMAN->m_iDisplayHeight * fRatio;
|
||||||
|
iWidth = PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio;
|
||||||
}
|
}
|
||||||
|
|
||||||
paramsOut = VideoModeParams(
|
paramsOut = VideoModeParams(
|
||||||
|
|||||||
Reference in New Issue
Block a user