runs on Xbox
This commit is contained in:
@@ -25,6 +25,8 @@
|
|||||||
#include "Notes.h"
|
#include "Notes.h"
|
||||||
#include "GameState.h"
|
#include "GameState.h"
|
||||||
#include "BannerCache.h"
|
#include "BannerCache.h"
|
||||||
|
#include "RageFile.h"
|
||||||
|
#include "arch/arch.h"
|
||||||
|
|
||||||
/* Amount to increase meter ranges to make them difficult: */
|
/* Amount to increase meter ranges to make them difficult: */
|
||||||
const int DIFFICULT_METER_CHANGE = 2;
|
const int DIFFICULT_METER_CHANGE = 2;
|
||||||
@@ -85,6 +87,8 @@ int Course::GetMeter() const
|
|||||||
if( m_iMeter != -1 )
|
if( m_iMeter != -1 )
|
||||||
return m_iMeter + GAMESTATE->m_bDifficultCourses? DifficultMeterRamp:0;
|
return m_iMeter + GAMESTATE->m_bDifficultCourses? DifficultMeterRamp:0;
|
||||||
|
|
||||||
|
LOG->Trace( "Course file '%s' contains a song '%s%s%s' that is not present",
|
||||||
|
m_sPath.c_str(), sGroup.c_str(), sGroup.size()? SLASH:"", sSong.c_str());
|
||||||
vector<Info> ci;
|
vector<Info> ci;
|
||||||
GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_NotesType, ci );
|
GetCourseInfo( GAMESTATE->GetCurrentStyleDef()->m_NotesType, ci );
|
||||||
|
|
||||||
@@ -265,7 +269,7 @@ void Course::Save()
|
|||||||
{
|
{
|
||||||
ASSERT( !m_bIsAutogen );
|
ASSERT( !m_bIsAutogen );
|
||||||
|
|
||||||
FILE* fp = fopen( m_sPath, "w" );
|
FILE* fp = Ragefopen( m_sPath, "w" );
|
||||||
if( fp == NULL )
|
if( fp == NULL )
|
||||||
{
|
{
|
||||||
LOG->Warn( "Could not write course file '%s'.", m_sPath.c_str() );
|
LOG->Warn( "Could not write course file '%s'.", m_sPath.c_str() );
|
||||||
@@ -290,7 +294,7 @@ void Course::Save()
|
|||||||
fprintf( fp, "#SONG:*" );
|
fprintf( fp, "#SONG:*" );
|
||||||
break;
|
break;
|
||||||
case Entry::random_within_group:
|
case Entry::random_within_group:
|
||||||
fprintf( fp, "#SONG:%s/*", entry.group_name.c_str() );
|
fprintf( fp, "#SONG:" + entry.group_name + SLASH "*" );
|
||||||
break;
|
break;
|
||||||
case Entry::best:
|
case Entry::best:
|
||||||
fprintf( fp, "#SONG:BEST%d", entry.players_index+1 );
|
fprintf( fp, "#SONG:BEST%d", entry.players_index+1 );
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
#include "RageFile.h"
|
||||||
|
|
||||||
//constructor, can specify pathname here instead of using SetPath later
|
//constructor, can specify pathname here instead of using SetPath later
|
||||||
IniFile::IniFile(CString inipath)
|
IniFile::IniFile(CString inipath)
|
||||||
@@ -40,7 +41,8 @@ void IniFile::SetPath(CString newpath)
|
|||||||
// returns true if successful, false otherwise
|
// returns true if successful, false otherwise
|
||||||
bool IniFile::ReadFile()
|
bool IniFile::ReadFile()
|
||||||
{
|
{
|
||||||
FILE *f = fopen(path, "r");
|
LOG->Trace("INI: Reading '%s'",path.c_str() );
|
||||||
|
FILE *f = Ragefopen(path, "r");
|
||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
{
|
{
|
||||||
@@ -55,6 +57,7 @@ bool IniFile::ReadFile()
|
|||||||
{
|
{
|
||||||
buf[sizeof(buf)-1]=0;
|
buf[sizeof(buf)-1]=0;
|
||||||
CString line(buf);
|
CString line(buf);
|
||||||
|
// LOG->Trace("Read line '%s'", line.c_str());
|
||||||
|
|
||||||
if(line.size() >= 3 &&
|
if(line.size() >= 3 &&
|
||||||
line[0] == '\xef' &&
|
line[0] == '\xef' &&
|
||||||
@@ -70,6 +73,7 @@ bool IniFile::ReadFile()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
StripCrnl(line);
|
StripCrnl(line);
|
||||||
|
// LOG->Trace("Stripped: '%s'", line.c_str());
|
||||||
|
|
||||||
if (line.substr(0, 2) == "//" || line.substr(0) == "#")
|
if (line.substr(0, 2) == "//" || line.substr(0) == "#")
|
||||||
continue; /* comment */
|
continue; /* comment */
|
||||||
@@ -97,7 +101,7 @@ bool IniFile::ReadFile()
|
|||||||
// writes data stored in class to ini file
|
// writes data stored in class to ini file
|
||||||
void IniFile::WriteFile()
|
void IniFile::WriteFile()
|
||||||
{
|
{
|
||||||
FILE* fp = fopen( path, "w" );
|
FILE* fp = Ragefopen( path, "w" );
|
||||||
|
|
||||||
if( fp == NULL )
|
if( fp == NULL )
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "GameManager.h"
|
#include "GameManager.h"
|
||||||
#include "RageException.h"
|
#include "RageException.h"
|
||||||
#include <fstream>
|
#include "RageFile.h"
|
||||||
|
|
||||||
// BMS encoding: tap-hold
|
// BMS encoding: tap-hold
|
||||||
// 4&8panel: Player1 Player2
|
// 4&8panel: Player1 Player2
|
||||||
@@ -67,8 +67,8 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, Notes &out )
|
|||||||
NoteData* pNoteData = new NoteData;
|
NoteData* pNoteData = new NoteData;
|
||||||
pNoteData->SetNumTracks( MAX_NOTE_TRACKS );
|
pNoteData->SetNumTracks( MAX_NOTE_TRACKS );
|
||||||
|
|
||||||
ifstream file(sPath);
|
Rageifstream file(sPath);
|
||||||
if( !file.good() )
|
if( file.bad() )
|
||||||
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
||||||
|
|
||||||
CString line;
|
CString line;
|
||||||
@@ -284,8 +284,8 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
|
|||||||
|
|
||||||
CString sPath = out.GetSongDir() + arrayBMSFileNames[0];
|
CString sPath = out.GetSongDir() + arrayBMSFileNames[0];
|
||||||
|
|
||||||
ifstream file(sPath);
|
Rageifstream file(sPath);
|
||||||
if( !file.good() )
|
if( file.bad() )
|
||||||
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
||||||
|
|
||||||
CString line;
|
CString line;
|
||||||
@@ -423,8 +423,8 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
|
|||||||
|
|
||||||
|
|
||||||
// open the song file again and and look for this tag's value
|
// open the song file again and and look for this tag's value
|
||||||
ifstream file(sPath);
|
Rageifstream file(sPath);
|
||||||
if( !file.good() )
|
if( file.bad() )
|
||||||
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
||||||
|
|
||||||
CString line;
|
CString line;
|
||||||
@@ -485,8 +485,8 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
|
|||||||
|
|
||||||
|
|
||||||
// open the song file again and and look for this tag's value
|
// open the song file again and and look for this tag's value
|
||||||
ifstream file(sPath);
|
Rageifstream file(sPath);
|
||||||
if( !file.good() )
|
if( file.bad() )
|
||||||
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
RageException::Throw( "Failed to open %s for reading.", sPath.c_str() );
|
||||||
|
|
||||||
CString line;
|
CString line;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "GameManager.h"
|
#include "GameManager.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
|
#include "RageFile.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
@@ -113,7 +114,7 @@ bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache)
|
|||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
FILE* fp = fopen( sPath, "w" );
|
FILE* fp = Ragefopen( sPath, "w" );
|
||||||
if( fp == NULL )
|
if( fp == NULL )
|
||||||
{
|
{
|
||||||
LOG->Warn( "Error opening song file '%s' for writing: %s", sPath.c_str(), strerror(errno) );
|
LOG->Warn( "Error opening song file '%s' for writing: %s", sPath.c_str(), strerror(errno) );
|
||||||
|
|||||||
+11
-10
@@ -12,11 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/ArchHooks/ArchHooks.h"
|
#include "arch/ArchHooks/ArchHooks.h"
|
||||||
|
#include "arch/arch.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "RageTimer.h"
|
#include "RageTimer.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
#include <fstream>
|
#include "RageFile.h"
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
RageLog* LOG; // global and accessable from anywhere in the program
|
RageLog* LOG; // global and accessable from anywhere in the program
|
||||||
@@ -62,10 +63,10 @@ RageLog* LOG; // global and accessable from anywhere in the program
|
|||||||
map<CString, CString> LogMaps;
|
map<CString, CString> LogMaps;
|
||||||
|
|
||||||
// constants
|
// constants
|
||||||
#define LOG_FILE_NAME "log.txt"
|
#define LOG_PATH BASE_PATH "log.txt"
|
||||||
#define INFO_FILE_NAME "info.txt"
|
#define INFO_PATH BASE_PATH "info.txt"
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(_WINDOWS)
|
||||||
extern unsigned long version_num;
|
extern unsigned long version_num;
|
||||||
extern const char *version_time;
|
extern const char *version_time;
|
||||||
#endif
|
#endif
|
||||||
@@ -84,12 +85,12 @@ enum {
|
|||||||
RageLog::RageLog()
|
RageLog::RageLog()
|
||||||
{
|
{
|
||||||
// delete old log files
|
// delete old log files
|
||||||
remove( LOG_FILE_NAME );
|
remove( LOG_PATH );
|
||||||
remove( INFO_FILE_NAME );
|
remove( INFO_PATH );
|
||||||
|
|
||||||
// Open log file and leave it open.
|
// Open log file and leave it open.
|
||||||
m_fileLog = fopen( LOG_FILE_NAME, "w" );
|
m_fileLog = Ragefopen( LOG_PATH, "w" );
|
||||||
m_fileInfo = fopen( INFO_FILE_NAME, "w" );
|
m_fileInfo = Ragefopen( INFO_PATH, "w" );
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
this->Trace( "Last compiled on %s.", __TIMESTAMP__ );
|
this->Trace( "Last compiled on %s.", __TIMESTAMP__ );
|
||||||
@@ -102,7 +103,7 @@ RageLog::RageLog()
|
|||||||
this->Trace( "Log starting %.4d-%.2d-%.2d %.2d:%.2d:%.2d",
|
this->Trace( "Log starting %.4d-%.2d-%.2d %.2d:%.2d:%.2d",
|
||||||
1900+now->tm_year, now->tm_mon, now->tm_mday, now->tm_hour, now->tm_min, now->tm_sec );
|
1900+now->tm_year, now->tm_mon, now->tm_mday, now->tm_hour, now->tm_min, now->tm_sec );
|
||||||
this->Trace( "" );
|
this->Trace( "" );
|
||||||
#if defined(WIN32)
|
#if defined(_WINDOWS)
|
||||||
this->Info("Compiled %s (build %i)", version_time, version_num);
|
this->Info("Compiled %s (build %i)", version_time, version_num);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -199,7 +200,7 @@ void RageLog::Write( int where, CString str)
|
|||||||
|
|
||||||
printf("%s\n", str.c_str() );
|
printf("%s\n", str.c_str() );
|
||||||
|
|
||||||
#ifdef DEBUG
|
//#ifdef DEBUG
|
||||||
Flush();
|
Flush();
|
||||||
#else
|
#else
|
||||||
if( (PREFSMAN && PREFSMAN->m_bDebugMode) || (where & WRITE_TO_INFO) )
|
if( (PREFSMAN && PREFSMAN->m_bDebugMode) || (where & WRITE_TO_INFO) )
|
||||||
|
|||||||
Binary file not shown.
+140
-17
@@ -73,30 +73,27 @@ PostBuild_Cmds=disasm\mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania
|
|||||||
|
|
||||||
# PROP BASE Use_MFC 0
|
# PROP BASE Use_MFC 0
|
||||||
# PROP BASE Use_Debug_Libraries 1
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
# PROP BASE Output_Dir "StepMania___Xbox_Debug"
|
# PROP BASE Output_Dir "Debug"
|
||||||
# PROP BASE Intermediate_Dir "StepMania___Xbox_Debug"
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
# PROP BASE Ignore_Export_Lib 0
|
|
||||||
# PROP BASE Target_Dir ""
|
# PROP BASE Target_Dir ""
|
||||||
# PROP Use_MFC 0
|
# PROP Use_MFC 0
|
||||||
# PROP Use_Debug_Libraries 1
|
# PROP Use_Debug_Libraries 1
|
||||||
# PROP Output_Dir "StepMania___Xbox_Debug___VC6"
|
# PROP Output_Dir "Debug"
|
||||||
# PROP Intermediate_Dir "StepMania___Xbox_Debug___VC6"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /D "WIN32" /D "_XBOX" /D "_DEBUG" /Fr /YX"global.h" /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_XBOX" /D "_DEBUG" /YX /FD /G6 /Ztmp /c
|
||||||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /D "WIN32" /D "_XBOX" /D "_DEBUG" /Fr /YX"global.h" /FD /c
|
# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /I "SDL_sound-1.0.0" /D "WIN32" /D "_XBOX" /D "_DEBUG" /D "OGG_ONLY" /YX /FD /G6 /Ztmp /c
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 $(intdir)\verstub.obj kernel32.lib shell32.lib user32.lib gdi32.lib advapi32.lib winmm.lib /nologo /pdb:"../debug6/StepMania-debug.pdb" /map /debug /machine:IX86 /nodefaultlib:"libcmtd.lib" /out:"../StepMania-debug.exe"
|
# ADD BASE LINK32 xapilibd.lib d3d8d.lib d3dx8d.lib xgraphicsd.lib dsoundd.lib dmusicd.lib xnetd.lib xboxkrnl.lib /nologo /incremental:no /debug /machine:I386 /subsystem:xbox /fixed:no /TMP
|
||||||
# SUBTRACT BASE LINK32 /verbose /profile /pdb:none /incremental:no /nodefaultlib
|
# ADD LINK32 xapilibd.lib d3d8d.lib d3dx8d.lib xgraphicsd.lib dsoundd.lib dmusicd.lib xnetd.lib xboxkrnl.lib /nologo /incremental:no /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"../StepManiaXbox-debug.exe" /subsystem:xbox /fixed:no /TMP
|
||||||
# ADD LINK32 $(intdir)\verstub.obj xapilibd.lib d3d8d.lib d3dx8d.lib xgraphicsd.lib dsoundd.lib dmusicd.lib xnetd.lib xboxkrnl.lib /nologo /pdb:"../debug6/StepMania-debug.pdb" /map /debug /machine:IX86 /nodefaultlib:"libcmtd.lib" /out:"../StepMania-debug.exe"
|
|
||||||
# SUBTRACT LINK32 /verbose /profile /pdb:none /incremental:no /nodefaultlib
|
|
||||||
XBE=imagebld.exe
|
XBE=imagebld.exe
|
||||||
# ADD BASE XBE /nologo /stack:0x10000 /debug
|
# ADD BASE XBE /nologo /stack:0x10000 /debug
|
||||||
# ADD XBE /nologo /stack:0x10000 /debug
|
# ADD XBE /nologo /stack:0x10000 /debug /out:"../default.xbe"
|
||||||
XBCP=xbecopy.exe
|
XBCP=xbecopy.exe
|
||||||
# ADD BASE XBCP /NOLOGO
|
# ADD BASE XBCP /NOLOGO
|
||||||
# ADD XBCP /NOLOGO
|
# ADD XBCP /NOLOGO
|
||||||
@@ -161,23 +158,29 @@ PostBuild_Cmds=disasm\mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania
|
|||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /D "WIN32" /D "_XBOX" /D "_DEBUG" /Fr /YX"global.h" /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /D "WIN32" /D "_XBOX" /D "_DEBUG" /Fr /YX"global.h" /FD /c
|
||||||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /D "WIN32" /D "_XBOX" /D "_DEBUG" /Fr /YX"global.h" /FD /c
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "." /I "SDL-1.2.5\include" /I "SDL_image-1.2" /I "plib-1.6.0" /I "SDL_sound-1.0.0" /D "WIN32" /D "_XBOX" /D "NDEBUG" /YX"global.h" /FD /c
|
||||||
|
# SUBTRACT CPP /Fr
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 $(intdir)\verstub.obj xapilibd.lib d3d8d.lib d3dx8d.lib xgraphicsd.lib dsoundd.lib dmusicd.lib xnetd.lib xboxkrnl.lib /nologo /pdb:"../debug6/StepMania-debug.pdb" /map /debug /machine:IX86 /nodefaultlib:"libcmtd.lib" /out:"../StepMania-debug.exe"
|
# ADD BASE LINK32 $(intdir)\verstub.obj xapilibd.lib d3d8d.lib d3dx8d.lib xgraphicsd.lib dsoundd.lib dmusicd.lib xnetd.lib xboxkrnl.lib /nologo /pdb:"../debug6/StepMania-debug.pdb" /map /debug /machine:IX86 /nodefaultlib:"libcmtd.lib" /out:"../StepMania-debug.exe"
|
||||||
# SUBTRACT BASE LINK32 /verbose /profile /pdb:none /incremental:no /nodefaultlib
|
# SUBTRACT BASE LINK32 /verbose /profile /pdb:none /incremental:no /nodefaultlib
|
||||||
# ADD LINK32 $(intdir)\verstub.obj xapilib.lib d3d8.lib d3dx8.lib xgraphics.lib dsound.lib dmusic.lib xnet.lib xboxkrnl.lib /nologo /pdb:"../debug6/StepMania-debug.pdb" /map /debug /machine:IX86 /nodefaultlib:"libcmtd.lib" /out:"../StepMania-debug.exe"
|
# ADD LINK32 $(intdir)\verstub.obj xapilib.lib d3d8.lib d3dx8.lib xgraphics.lib dsound.lib dmusic.lib xnet.lib xboxkrnl.lib libcmt.lib /nologo /incremental:no /pdb:"../release6xbox/StepMania.pdb" /machine:I386 /nodefaultlib:"libc" /nodefaultlib:"libcmtd" /out:"../StepManiaXbox.exe" /subsystem:xbox /fixed:no /TMP /OPT:REF
|
||||||
# SUBTRACT LINK32 /verbose /profile /pdb:none /incremental:no /nodefaultlib
|
# SUBTRACT LINK32 /pdb:none /map /debug
|
||||||
XBE=imagebld.exe
|
XBE=imagebld.exe
|
||||||
# ADD BASE XBE /nologo /stack:0x10000 /debug
|
# ADD BASE XBE /nologo /stack:0x10000 /debug
|
||||||
# ADD XBE /nologo /stack:0x10000 /debug
|
# ADD XBE /nologo /testid:"123456" /testname:"" /stack:0x10000 /debug /out:"../default.xbe" /titleinfo:""
|
||||||
XBCP=xbecopy.exe
|
XBCP=xbecopy.exe
|
||||||
# ADD BASE XBCP /NOLOGO
|
# ADD BASE XBCP /NOLOGO
|
||||||
# ADD XBCP /NOLOGO
|
# ADD XBCP /NOLOGO
|
||||||
# Begin Special Build Tool
|
# Begin Special Build Tool
|
||||||
PreLink_Cmds=disasm\verinc cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
IntDir=.\StepMania___Xbox_Release
|
||||||
|
TargetDir=\stepmania\stepmania
|
||||||
|
TargetName=default
|
||||||
|
SOURCE="$(InputPath)"
|
||||||
|
PreLink_Cmds=disasm\verinc cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
||||||
|
|
||||||
PostBuild_Cmds=disasm\mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi
|
PostBuild_Cmds=disasm\mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi
|
||||||
# End Special Build Tool
|
# End Special Build Tool
|
||||||
|
|
||||||
@@ -450,6 +453,25 @@ SOURCE=.\RageException.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\RageFile.cpp
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\RageFile.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\RageInput.cpp
|
SOURCE=.\RageInput.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
@@ -616,6 +638,8 @@ SOURCE=.\RageSoundReader_SDL_Sound.cpp
|
|||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
@@ -629,6 +653,44 @@ SOURCE=.\RageSoundReader_SDL_Sound.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\RageSoundReader_Vorbisfile.cpp
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\RageSoundReader_Vorbisfile.h
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\RageSoundResampler.cpp
|
SOURCE=.\RageSoundResampler.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
@@ -1556,6 +1618,10 @@ SOURCE=.\arch\LoadingWindow\LoadingWindow.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\arch\LoadingWindow\LoadingWindow_Null.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\arch\LoadingWindow\LoadingWindow_SDL.cpp
|
SOURCE=.\arch\LoadingWindow\LoadingWindow_SDL.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
@@ -1614,6 +1680,8 @@ SOURCE=.\arch\Sound\DSoundHelpers.cpp
|
|||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
@@ -1637,6 +1705,8 @@ SOURCE=.\arch\Sound\RageSoundDriver_DSound.cpp
|
|||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
@@ -1894,6 +1964,27 @@ SOURCE=.\arch\InputHandler\InputHandler_DirectInputHelper.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\arch\InputHandler\InputHandler_SDL.cpp
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\arch\InputHandler\InputHandler_SDL.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\arch\InputHandler\InputHandler_Win32_Pump.cpp
|
SOURCE=.\arch\InputHandler\InputHandler_Win32_Pump.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
@@ -2013,6 +2104,23 @@ SOURCE=.\arch\MovieTexture\MovieTexture_Null.h
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\arch\LowLevelWindow\LowLevelWindow.h
|
SOURCE=.\arch\LowLevelWindow\LowLevelWindow.h
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\arch\LowLevelWindow\LowLevelWindow_Null.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
@@ -2026,12 +2134,27 @@ SOURCE=.\arch\LowLevelWindow\LowLevelWindow_SDL.cpp
|
|||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\arch\LowLevelWindow\LowLevelWindow_SDL.h
|
SOURCE=.\arch\LowLevelWindow\LowLevelWindow_SDL.h
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "StepMania - Win32 Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Debug"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Win32 Release"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "StepMania - Xbox Release"
|
||||||
|
|
||||||
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|||||||
Reference in New Issue
Block a user