{
int num_values[NUM_ROWS] =
{
- m_pCourses.size(),
+ (int)m_pCourses.size(),
1,
NUM_ACTIONS,
(int)GetSelectedCourse()->m_entries.size(),
{
int num_values[NUM_ROWS] =
{
- m_aGroups.size(),
- m_aSongs.size(),
+ (int)m_aGroups.size(),
+ (int)m_aSongs.size(),
NUM_COURSE_ENTRY_TYPES,
NUM_DIFFICULTIES+1,
11,
{
int num_values[NUM_EDIT_MENU_ROWS] =
{
- m_sGroups.size(),
- m_pSongs.size(),
- m_StepsTypes.size(),
- m_vpSteps.size(),
- m_StepsTypes.size(),
- m_vpSourceSteps.size(),
- m_Actions.size()
+ (int)m_sGroups.size(),
+ (int)m_pSongs.size(),
+ (int)m_StepsTypes.size(),
+ (int)m_vpSteps.size(),
+ (int)m_StepsTypes.size(),
+ (int)m_vpSourceSteps.size(),
+ (int)m_Actions.size()
};
return m_iSelection[m_SelectedRow] != (num_values[m_SelectedRow]-1);
}
RageDisplay::PixelFormat RageDisplay::FindPixelFormat(
- int bpp, int Rmask, int Gmask, int Bmask, int Amask, bool realtime )
+ int bpp, unsigned Rmask, unsigned Gmask, unsigned Bmask, unsigned Amask, bool realtime )
{
PixelFormatDesc tmp = { bpp, { Rmask, Gmask, Bmask, Amask } };
void ChangeCentering( int trans_x, int trans_y, int add_width, int add_height );
RageSurface *CreateSurfaceFromPixfmt( PixelFormat pixfmt, void *pixels, int width, int height, int pitch );
- PixelFormat FindPixelFormat( int bpp, int Rmask, int Gmask, int Bmask, int Amask, bool realtime=false );
+ PixelFormat FindPixelFormat( int bpp, unsigned Rmask, unsigned Gmask, unsigned Bmask, unsigned Amask, bool realtime=false );
protected:
RageMatrix GetPerspectiveMatrix(float fovy, float aspect, float zNear, float zFar);
struct AVPixelFormat_t
{
int bpp;
- int masks[4];
+ unsigned masks[4];
avcodec::PixelFormat pf;
bool HighColor;
bool ByteSwapOnLittleEndian;
#include "arch/USB/USBDriver_Impl.h"
-const short G15_VENDOR_ID = 0x046D;
-const short G15_PRODUCT_ID[] = { 0xC227, 0xC251 };
+const unsigned short G15_VENDOR_ID = 0x046D;
+const unsigned short G15_PRODUCT_ID[] = { 0xC227, 0xC251 };
const unsigned NUM_PRODUCT_IDS = ARRAYLEN( G15_PRODUCT_ID );