changes to make xbox version compile

probably should be tested
This commit is contained in:
Vecais Dumais Laacis
2009-08-16 20:10:02 +00:00
parent 90000b6b56
commit 7a621ba784
3 changed files with 56 additions and 60 deletions
+30 -60
View File
@@ -186,12 +186,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="ScreenBookkeeping.h">
</File>
<File
RelativePath="ScreenCenterImage.cpp">
</File>
<File
RelativePath="ScreenCenterImage.h">
</File>
<File
RelativePath=".\ScreenContinue.cpp">
</File>
@@ -486,18 +480,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="ScreenSelectCharacter.h">
</File>
<File
RelativePath="ScreenSelectDifficulty.cpp">
</File>
<File
RelativePath="ScreenSelectDifficulty.h">
</File>
<File
RelativePath="ScreenSelectGroup.cpp">
</File>
<File
RelativePath="ScreenSelectGroup.h">
</File>
<File
RelativePath="ScreenSelectLanguage.cpp">
</File>
@@ -528,12 +510,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath=".\ScreenSelectProfile.h">
</File>
<File
RelativePath="ScreenSelectStyle.cpp">
</File>
<File
RelativePath="ScreenSelectStyle.h">
</File>
<File
RelativePath=".\ScreenServiceAction.cpp">
</File>
@@ -564,12 +540,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="ScreenSplash.h">
</File>
<File
RelativePath="ScreenStage.cpp">
</File>
<File
RelativePath="ScreenStage.h">
</File>
<File
RelativePath=".\ScreenStatsOverlay.cpp">
</File>
@@ -682,12 +652,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="BannerCache.h">
</File>
<File
RelativePath="CatalogXml.cpp">
</File>
<File
RelativePath="CatalogXml.h">
</File>
<File
RelativePath="Character.cpp">
</File>
@@ -748,6 +712,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="CourseWriterCRS.h">
</File>
<File
RelativePath=".\CryptHelpers.cpp">
</File>
<File
RelativePath=".\CryptHelpers.h">
</File>
<File
RelativePath="DateTime.cpp">
</File>
@@ -1412,12 +1382,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="archutils\Xbox\custom_launch_params.h">
</File>
<File
RelativePath=".\ExportStrings.cpp">
</File>
<File
RelativePath=".\ExportStrings.h">
</File>
<File
RelativePath="GameLoop.cpp">
</File>
@@ -1508,6 +1472,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="MeterDisplay.h">
</File>
<File
RelativePath=".\StepsDisplay.cpp">
</File>
<File
RelativePath=".\StepsDisplay.h">
</File>
<File
RelativePath=".\StreamDisplay.cpp">
</File>
@@ -1548,12 +1518,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="DifficultyList.h">
</File>
<File
RelativePath="DifficultyMeter.cpp">
</File>
<File
RelativePath="DifficultyMeter.h">
</File>
<File
RelativePath="DualScrollBar.cpp">
</File>
@@ -1614,6 +1578,18 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="MenuTimer.h">
</File>
<File
RelativePath=".\ModIcon.cpp">
</File>
<File
RelativePath=".\ModIcon.h">
</File>
<File
RelativePath=".\ModIconRow.cpp">
</File>
<File
RelativePath=".\ModIconRow.h">
</File>
<File
RelativePath="MusicBannerWheel.cpp">
</File>
@@ -1638,18 +1614,6 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="MusicWheelItem.h">
</File>
<File
RelativePath="OptionIcon.cpp">
</File>
<File
RelativePath="OptionIcon.h">
</File>
<File
RelativePath="OptionIconRow.cpp">
</File>
<File
RelativePath="OptionIconRow.h">
</File>
<File
RelativePath=".\OptionRow.cpp">
</File>
@@ -2520,6 +2484,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
<File
RelativePath="CharacterManager.h">
</File>
<File
RelativePath=".\CommandLineActions.cpp">
</File>
<File
RelativePath=".\CommandLineActions.h">
</File>
<File
RelativePath="CryptManager.cpp">
</File>
@@ -163,12 +163,36 @@ ArchHooks_Xbox::~ArchHooks_Xbox()
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"
void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
{
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/ )
FILEMAN->Mount( "dir", "T:/Cache", "/Cache" );
FILEMAN->Mount( "dir", "T:/Logs", "/Logs" );
@@ -10,6 +10,8 @@ public:
ArchHooks_Xbox();
~ArchHooks_Xbox();
RString GetArchName() { return "Xbox"; }
void DumpDebugInfo();
float GetDisplayAspectRatio();
//void MountInitialFilesystems( const RString &sDirOfExecutable );
};