func void TestFunc()
{
var int random;
var int Hour_0;
var int Hour_1;
var int Hour_2;
var int Hour_3;
var int Hour_4;
var int Hour_5;
var int Hour_6;
var int Hour_7;
var int Hour_8;
var int Hour_9;
var int Hour_10;
var int Hour_11;
var int Hour_All;
random = Hlp_Random(1000)%12;
if(random == 0)
{
Hour_0 += 1;
}
else if(random == 1)
{
Hour_1 += 1;
}
else if(random == 2)
{
Hour_2 += 1;
}
else if(random == 3)
{
Hour_3 += 1;
}
else if(random == 4)
{
Hour_4 += 1;
}
else if(random == 5)
{
Hour_5 += 1;
}
else if(random == 6)
{
Hour_6 += 1;
}
else if(random == 7)
{
Hour_7 += 1;
}
else if(random == 8)
{
Hour_8 += 1;
}
else if(random == 9)
{
Hour_9 += 1;
}
else if(random == 10)
{
Hour_10 += 1;
}
else if(random == 11)
{
Hour_11 += 1;
};
Hour_All += 1;
PrintScreen("0 - ",5,5,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_0),9,5,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_0*100)/Hour_All),15,5,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("1 - ",5,8,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_1),9,8,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_1*100)/Hour_All),15,8,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("2 - ",5,11,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_2),9,11,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_2*100)/Hour_All),15,11,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("3 - ",5,14,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_3),9,14,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_3*100)/Hour_All),15,14,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("4 - ",5,17,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_4),9,17,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_4*100)/Hour_All),15,17,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("5 - ",5,20,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_5),9,20,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_5*100)/Hour_All),15,20,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("6 - ",5,23,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_6),9,23,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_6*100)/Hour_All),15,23,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("7 - ",5,26,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_7),9,26,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_7*100)/Hour_All),15,26,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("8 - ",5,29,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_8),9,29,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_8*100)/Hour_All),15,29,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("9 - ",5,32,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_9),9,32,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_9*100)/Hour_All),15,32,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("10 - ",5,35,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_10),9,35,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_10*100)/Hour_All),15,35,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("11 - ",5,38,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_11),9,38,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString((Hour_11*100)/Hour_All),15,38,"FONT_OLD_10_WHITE.TGA",1);
PrintScreen("All - ",5,41,"FONT_OLD_10_WHITE.TGA",1); PrintScreen(IntToString(Hour_All),9,41,"FONT_OLD_10_WHITE.TGA",1);
};