private static void printHeader(StringBuffer output, String fn, String type, int w, int h) {
	    	output.append("#define "+fn.toUpperCase()+(type.equals("map") ? "_MAP" : "")+"_W ");
	    	output.append(w);
	    	output.append("\n#define "+fn.toUpperCase()+(type.equals("map") ? "_MAP" : "")+"_H ");
	    	output.append(h);
	    output.append("\n\nextern unsigned char "+fn+"_tile"+type+"[];\n");
	    output.append("\n\n.globl _"+fn+"_tile"+type+"\n");
	    output.append(".dw _"+fn+"_tile"+type+"\n");
	    output.append("\n_"+fn+"_tile"+type+":\n.db ");
	}