public void drawFlash(float x, float y, float width, float height) {
		float sx = width / realWidth;
		float sy = height / realHeight;
		
		GL.glTranslatef(x,y,0);
		GL.glScalef(sx,sy,1);

		float xp = 0;
		float yp = 0;
		
		for (int tx=0;tx<xcount;tx++) {
			yp = 0;
			for (int ty=0;ty<ycount;ty++) {
				Image image = images[tx][ty];

				image.drawFlash(xp,yp,image.getWidth(), image.getHeight());
			
				yp += image.getHeight();
				if (ty == ycount - 1) {
					xp += image.getWidth();
				}
			}
			
		}
		
		GL.glScalef(1.0f/sx,1.0f/sy,1);
		GL.glTranslatef(-x,-y,0);
	}
public void drawFlash ( float x , float y , float width , float height ) { float sx = width / realWidth ; float sy = height / realHeight ; GL . glTranslatef ( x , y , 0 ) ; GL . glScalef ( sx , sy , 1 ) ; float xp = 0 ; float yp = 0 ; for ( int tx = 0 ; tx < xcount ; tx ++ ) { yp = 0 ; for ( int ty = 0 ; ty < ycount ; ty ++ ) { Image image = images [ tx ] [ ty ] ; image . drawFlash ( xp , yp , image . getWidth ( ) , image . getHeight ( ) ) ; yp += image . getHeight ( ) ; if ( ty == ycount - 1 ) { xp += image . getWidth ( ) ; } } } GL . glScalef ( 1.0f / sx , 1.0f / sy , 1 ) ; GL . glTranslatef ( - x , - y , 0 ) ; }
@see org.newdawn.slick.Image#drawFlash(float, float, float, float)