All pastes #549277 Raw Edit

Sonicadvance1

public cpp v1 · immutable
·published 2007-06-08 02:04 UTC
rendered paste body
int 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;		}	}}