Posted Fri Feb 25, 2011 7:02 AM
Posted Sat Feb 26, 2011 11:52 AM
Posted Sat Feb 26, 2011 10:51 PM
Kiwi, on Sat Feb 26, 2011 11:52 AM, said:
Posted Sun Feb 27, 2011 3:33 AM
Posted Sun Feb 27, 2011 4:22 AM
newcoleco, on Sun Feb 27, 2011 3:33 AM, said:
Edited by bfg.gamepassion, Sun Feb 27, 2011 4:26 AM.
Posted Mon Feb 28, 2011 1:10 PM
for (x=0;x<6;x++)
for (y=0;y<9;y++)
{
show_object(3+(x*3),5+(y*2),laMer_poisson[x][y]); // Use put_char
}
/* assume that offset_x and offset_y are declared as well as x and y */
offset_x = 3;
for (x=0;x<6;x++)
{
offset_y = 5;
for (y=0;y<9;y++)
{
show_object(offset_x,offset_y,laMer_poisson[x][y]); // Use put_char
offset_y += 2;
}
offset += 3;
}
Posted Mon Feb 28, 2011 4:53 PM
newcoleco, on Mon Feb 28, 2011 1:10 PM, said:
for (x=0;x<6;x++)
for (y=0;y<9;y++)
{
show_object(3+(x*3),5+(y*2),laMer_poisson[x][y]); // Use put_char
}
/* assume that offset_x and offset_y are declared as well as x and y */
offset_x = 3;
for (x=0;x<6;x++)
{
offset_y = 5;
for (y=0;y<9;y++)
{
show_object(offset_x,offset_y,laMer_poisson[x][y]); // Use put_char
offset_y += 2;
}
offset += 3;
}
Posted Fri Mar 11, 2011 8:47 PM
newcoleco, on Mon Feb 28, 2011 1:10 PM, said:
static void ClearTextBox(void)
{
byte q;
q = 0;
while(q < 4)
{
fill_vram(0x1a43+32*q,0x80,26);
q++;
}
fill_vram(0x1a03,0x81,26);
}
new code:
static const void ClearTextBox(void)
{
byte q;
q = 0;
while(q < 96)
{
fill_vram(0x1a23+32+q,0x80,26);
q+=32;
}
fill_vram(0x1a03,0x81,26);
}
Edited by Kiwi, Fri Mar 11, 2011 8:48 PM.
0 members, 0 guests, 0 anonymous users