Sonicadvance1
public cpp v1 · immutableint DrawMap(){ Rect(0,0,1024,768,255,255,255,255); for(int a=0;a<768;a++) { switch(map.mapdata[a]) { default: case 1: Rect(a%32*32,a/32*32,a%32*32+32,a/32*32+32,0,0,0,255); break; case 0: break; } }}