fix warnings
This commit is contained in:
@@ -60,8 +60,8 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
|
|||||||
|
|
||||||
CString IconCommand = ICON_COMMAND;
|
CString IconCommand = ICON_COMMAND;
|
||||||
|
|
||||||
int i;
|
unsigned i;
|
||||||
for(i=1; i <= NUM_UNLOCKS; i++)
|
for(i=1; i <= (unsigned) NUM_UNLOCKS; i++)
|
||||||
{
|
{
|
||||||
Sprite* entry = new Sprite;
|
Sprite* entry = new Sprite;
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
|
|||||||
// scrolling text
|
// scrolling text
|
||||||
if (UNLOCK_TEXT_SCROLL != 0)
|
if (UNLOCK_TEXT_SCROLL != 0)
|
||||||
{
|
{
|
||||||
int NumberUnlocks = NUM_UNLOCKS;
|
unsigned NumberUnlocks = NUM_UNLOCKS;
|
||||||
float ScrollingTextX = UNLOCK_TEXT_SCROLL_X;
|
float ScrollingTextX = UNLOCK_TEXT_SCROLL_X;
|
||||||
float ScrollingTextStartY = UNLOCK_TEXT_SCROLL_START_Y;
|
float ScrollingTextStartY = UNLOCK_TEXT_SCROLL_START_Y;
|
||||||
float ScrollingTextEndY = UNLOCK_TEXT_SCROLL_END_Y;
|
float ScrollingTextEndY = UNLOCK_TEXT_SCROLL_END_Y;
|
||||||
@@ -232,7 +232,7 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
|
|||||||
|
|
||||||
if (UNLOCK_TEXT_SCROLL == 3)
|
if (UNLOCK_TEXT_SCROLL == 3)
|
||||||
{
|
{
|
||||||
int NumberUnlocks = NUM_UNLOCKS;
|
unsigned NumberUnlocks = NUM_UNLOCKS;
|
||||||
float ScrollingTextX = UNLOCK_TEXT_SCROLL_X;
|
float ScrollingTextX = UNLOCK_TEXT_SCROLL_X;
|
||||||
float ScrollingTextStartY = UNLOCK_TEXT_SCROLL_START_Y;
|
float ScrollingTextStartY = UNLOCK_TEXT_SCROLL_START_Y;
|
||||||
float ScrollingTextEndY = UNLOCK_TEXT_SCROLL_END_Y;
|
float ScrollingTextEndY = UNLOCK_TEXT_SCROLL_END_Y;
|
||||||
@@ -248,7 +248,7 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
|
|||||||
if (i > (int) LastUnlocks.size())
|
if (i > (int) LastUnlocks.size())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int NextIcon = LastUnlocks[LastUnlocks.size() - i];
|
unsigned NextIcon = LastUnlocks[LastUnlocks.size() - i];
|
||||||
|
|
||||||
Sprite* NewIcon = new Sprite;
|
Sprite* NewIcon = new Sprite;
|
||||||
BitmapText* NewText = new BitmapText;
|
BitmapText* NewText = new BitmapText;
|
||||||
|
|||||||
Reference in New Issue
Block a user