and more of the same
This commit is contained in:
@@ -90,7 +90,7 @@ void InputMapper::ReadMappingsFromDisk()
|
|||||||
CStringArray sDeviceInputStrings;
|
CStringArray sDeviceInputStrings;
|
||||||
split( value, ",", sDeviceInputStrings, false );
|
split( value, ",", sDeviceInputStrings, false );
|
||||||
|
|
||||||
for( unsigned i=0; i<sDeviceInputStrings.size() && i<NUM_GAME_TO_DEVICE_SLOTS; i++ )
|
for( unsigned i=0; i<sDeviceInputStrings.size() && i<unsigned(NUM_GAME_TO_DEVICE_SLOTS); i++ )
|
||||||
{
|
{
|
||||||
DeviceInput DeviceI;
|
DeviceInput DeviceI;
|
||||||
DeviceI.fromString( sDeviceInputStrings[i] );
|
DeviceI.fromString( sDeviceInputStrings[i] );
|
||||||
|
|||||||
@@ -687,7 +687,8 @@ void MusicWheel::RebuildWheelItemDisplays()
|
|||||||
if( m_iSelection > int(GetCurWheelItemDatas().size()-1) )
|
if( m_iSelection > int(GetCurWheelItemDatas().size()-1) )
|
||||||
m_iSelection = 0;
|
m_iSelection = 0;
|
||||||
|
|
||||||
for( int i=0; i<NUM_WHEEL_ITEMS_TO_DRAW/2; i++ )
|
int i;
|
||||||
|
for( i=0; i<NUM_WHEEL_ITEMS_TO_DRAW/2; i++ )
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
@@ -774,7 +775,7 @@ void MusicWheel::Update( float fDeltaTime )
|
|||||||
ActorFrame::Update( fDeltaTime );
|
ActorFrame::Update( fDeltaTime );
|
||||||
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
for( i=0; i<NUM_WHEEL_ITEMS_TO_DRAW; i++ )
|
for( i=0; i<int(NUM_WHEEL_ITEMS_TO_DRAW); i++ )
|
||||||
{
|
{
|
||||||
WheelItemDisplay& display = m_WheelItemDisplays[i];
|
WheelItemDisplay& display = m_WheelItemDisplays[i];
|
||||||
|
|
||||||
|
|||||||
@@ -405,7 +405,8 @@ void NoteData::CropToLeftSide()
|
|||||||
int iLastRightSideColumn = 7;
|
int iLastRightSideColumn = 7;
|
||||||
|
|
||||||
// clear out the right half
|
// clear out the right half
|
||||||
for( int c=iFirstRightSideColumn; c<=iLastRightSideColumn; c++ )
|
int c;
|
||||||
|
for( c=iFirstRightSideColumn; c<=iLastRightSideColumn; c++ )
|
||||||
{
|
{
|
||||||
for( int i=0; i<MAX_TAP_NOTE_ROWS; i++ ) // foreach TapNote
|
for( int i=0; i<MAX_TAP_NOTE_ROWS; i++ ) // foreach TapNote
|
||||||
SetTapNote(c, i, TAP_EMPTY);
|
SetTapNote(c, i, TAP_EMPTY);
|
||||||
|
|||||||
@@ -192,8 +192,10 @@ struct RageVertex
|
|||||||
|
|
||||||
/* nonstandard extension used : nameless struct/union
|
/* nonstandard extension used : nameless struct/union
|
||||||
* It is, in fact, nonstandard. G++ 3.x can handle it. 2.95.x can not. XXX */
|
* It is, in fact, nonstandard. G++ 3.x can handle it. 2.95.x can not. XXX */
|
||||||
|
#if defined(_MSC_VER)
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable : 4201)
|
#pragma warning (disable : 4201)
|
||||||
|
#endif
|
||||||
|
|
||||||
struct RageMatrix
|
struct RageMatrix
|
||||||
{
|
{
|
||||||
@@ -259,6 +261,8 @@ public:
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ class RandomSample
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RandomSample();
|
RandomSample();
|
||||||
~RandomSample();
|
virtual ~RandomSample();
|
||||||
|
|
||||||
virtual bool Load( CString sFilePath )
|
virtual bool Load( CString sFilePath )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user