#65495 - christosterone - Tue Jan 03, 2006 6:06 pm
i have a map headerfile that holds data for a 256x256 map. when i load the data into a ROTBG, it looks fine. However, i want to use MODE0 so i need to use a TEXTBG.
heres the code for the map headerfile
here's the code for loading map data that works fine for the ROTBG but not for the TEXTBG.
if anybody could tell me what to do differently when loading mapdata for a TEXTBG that would be great.
thanks
chris
heres the code for the map headerfile
Code: |
const u8 map[ 32 * 32 ] = { 0x44,0x44,0x44, ..............}; |
here's the code for loading map data that works fine for the ROTBG but not for the TEXTBG.
Code: |
temp = (u16*)map; for(loop = 0; loop < 32*32/2; loop++) bg2.mapData[loop] = temp[loop]; |
if anybody could tell me what to do differently when loading mapdata for a TEXTBG that would be great.
thanks
chris