changes to make xbox version compile
probably should be tested
This commit is contained in:
@@ -186,12 +186,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="ScreenBookkeeping.h">
|
RelativePath="ScreenBookkeeping.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="ScreenCenterImage.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="ScreenCenterImage.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\ScreenContinue.cpp">
|
RelativePath=".\ScreenContinue.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -486,18 +480,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="ScreenSelectCharacter.h">
|
RelativePath="ScreenSelectCharacter.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="ScreenSelectDifficulty.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="ScreenSelectDifficulty.h">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="ScreenSelectGroup.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="ScreenSelectGroup.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="ScreenSelectLanguage.cpp">
|
RelativePath="ScreenSelectLanguage.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -528,12 +510,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath=".\ScreenSelectProfile.h">
|
RelativePath=".\ScreenSelectProfile.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="ScreenSelectStyle.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="ScreenSelectStyle.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\ScreenServiceAction.cpp">
|
RelativePath=".\ScreenServiceAction.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -564,12 +540,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="ScreenSplash.h">
|
RelativePath="ScreenSplash.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="ScreenStage.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="ScreenStage.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\ScreenStatsOverlay.cpp">
|
RelativePath=".\ScreenStatsOverlay.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -682,12 +652,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="BannerCache.h">
|
RelativePath="BannerCache.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="CatalogXml.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="CatalogXml.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="Character.cpp">
|
RelativePath="Character.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -748,6 +712,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="CourseWriterCRS.h">
|
RelativePath="CourseWriterCRS.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\CryptHelpers.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\CryptHelpers.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="DateTime.cpp">
|
RelativePath="DateTime.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -1412,12 +1382,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="archutils\Xbox\custom_launch_params.h">
|
RelativePath="archutils\Xbox\custom_launch_params.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\ExportStrings.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\ExportStrings.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="GameLoop.cpp">
|
RelativePath="GameLoop.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -1508,6 +1472,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="MeterDisplay.h">
|
RelativePath="MeterDisplay.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\StepsDisplay.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\StepsDisplay.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\StreamDisplay.cpp">
|
RelativePath=".\StreamDisplay.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -1548,12 +1518,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="DifficultyList.h">
|
RelativePath="DifficultyList.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="DifficultyMeter.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="DifficultyMeter.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="DualScrollBar.cpp">
|
RelativePath="DualScrollBar.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -1614,6 +1578,18 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="MenuTimer.h">
|
RelativePath="MenuTimer.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\ModIcon.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\ModIcon.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\ModIconRow.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\ModIconRow.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="MusicBannerWheel.cpp">
|
RelativePath="MusicBannerWheel.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -1638,18 +1614,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="MusicWheelItem.h">
|
RelativePath="MusicWheelItem.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="OptionIcon.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="OptionIcon.h">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="OptionIconRow.cpp">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="OptionIconRow.h">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\OptionRow.cpp">
|
RelativePath=".\OptionRow.cpp">
|
||||||
</File>
|
</File>
|
||||||
@@ -2520,6 +2484,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
|||||||
<File
|
<File
|
||||||
RelativePath="CharacterManager.h">
|
RelativePath="CharacterManager.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\CommandLineActions.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\CommandLineActions.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="CryptManager.cpp">
|
RelativePath="CryptManager.cpp">
|
||||||
</File>
|
</File>
|
||||||
|
|||||||
@@ -163,12 +163,36 @@ ArchHooks_Xbox::~ArchHooks_Xbox()
|
|||||||
XLaunchNewImage( NULL, NULL );
|
XLaunchNewImage( NULL, NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ArchHooks_Xbox::DumpDebugInfo()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
float ArchHooks_Xbox::GetDisplayAspectRatio()
|
||||||
|
{
|
||||||
|
float fDisplayAspectRatio = 4.0 / 3.0;
|
||||||
|
IDirect3DSurface8 *pBackBuffer = NULL;
|
||||||
|
if( D3D__pDevice->GetBackBuffer( -1, D3DBACKBUFFER_TYPE_MONO, &pBackBuffer) == D3D_OK )
|
||||||
|
{
|
||||||
|
D3DSURFACE_DESC Desc;
|
||||||
|
if( pBackBuffer->GetDesc(&Desc) == D3D_OK )
|
||||||
|
{
|
||||||
|
fDisplayAspectRatio = (float)Desc.Width / (float)Desc.Height;
|
||||||
|
}
|
||||||
|
pBackBuffer->Release();
|
||||||
|
}
|
||||||
|
return fDisplayAspectRatio;
|
||||||
|
}
|
||||||
|
|
||||||
#include "RageFileManager.h"
|
#include "RageFileManager.h"
|
||||||
|
|
||||||
void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
|
void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
|
||||||
{
|
{
|
||||||
FILEMAN->Mount( "dir", "D:\\", "/" );
|
FILEMAN->Mount( "dir", "D:\\", "/" );
|
||||||
|
}
|
||||||
|
|
||||||
|
void ArchHooks::MountUserFilesystems( const RString &sDirOfExecutable )
|
||||||
|
{
|
||||||
// Mount everything game-writable (not counting the editor) to the game title persistent data region ( /E/TDATA/33342530/ )
|
// Mount everything game-writable (not counting the editor) to the game title persistent data region ( /E/TDATA/33342530/ )
|
||||||
FILEMAN->Mount( "dir", "T:/Cache", "/Cache" );
|
FILEMAN->Mount( "dir", "T:/Cache", "/Cache" );
|
||||||
FILEMAN->Mount( "dir", "T:/Logs", "/Logs" );
|
FILEMAN->Mount( "dir", "T:/Logs", "/Logs" );
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ public:
|
|||||||
ArchHooks_Xbox();
|
ArchHooks_Xbox();
|
||||||
~ArchHooks_Xbox();
|
~ArchHooks_Xbox();
|
||||||
RString GetArchName() { return "Xbox"; }
|
RString GetArchName() { return "Xbox"; }
|
||||||
|
void DumpDebugInfo();
|
||||||
|
float GetDisplayAspectRatio();
|
||||||
|
|
||||||
//void MountInitialFilesystems( const RString &sDirOfExecutable );
|
//void MountInitialFilesystems( const RString &sDirOfExecutable );
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user