src/ui-term.c
void Term_big_putch(int x, int y, int a, wchar_t c)
{
	int hor, vert;

	/* Avoid warning */
	(void)c;

	/* No tall skinny tiles */
	if (tile_width > 1) {
		/* Horizontal first */
		for (hor = 0; hor <= tile_width; hor++) {
			/* Queue dummy character */
			if (hor != 0) {
				if (a & 0x80)
					Term_putch(x + hor, y, 255, -1);
				else
					Term_putch(x + hor, y, COLOUR_WHITE, ' ');
			}

			/* Now vertical */
			for (vert = 1; vert <= tile_height; vert++) {
				/* Queue dummy character */
				if (a & 0x80)
					Term_putch(x + hor, y + vert, 255, -1);
				else
					Term_putch(x + hor, y + vert, COLOUR_WHITE, ' ');
			}
		}
	} else {
		/* Only vertical */
		for (vert = 1; vert <= tile_height; vert++) {
			/* Queue dummy character */
			if (a & 0x80)
				Term_putch(x, y + vert, 255, -1);
			else
				Term_putch(x, y + vert, COLOUR_WHITE, ' ');
		}
	}
}
/**
 * Move to a location and, using an attr, add a big tile
 */
Move to a location and, using an attr, add a big tile
Move to a location and using an attr add a big tile
void Term_big_putch(int x, int y, int a, wchar_t c)
{
	int hor, vert;
	(void)c;
	if (tile_width > 1) {
		for (hor = 0; hor <= tile_width; hor++) {
			if (hor != 0) {
				if (a & 0x80)
					Term_putch(x + hor, y, 255, -1);
				else
					Term_putch(x + hor, y, COLOUR_WHITE, ' ');
			}
			for (vert = 1; vert <= tile_height; vert++) {
				if (a & 0x80)
					Term_putch(x + hor, y + vert, 255, -1);
				else
					Term_putch(x + hor, y + vert, COLOUR_WHITE, ' ');
			}
		}
	} else {
		for (vert = 1; vert <= tile_height; vert++) {
			if (a & 0x80)
				Term_putch(x, y + vert, 255, -1);
			else
				Term_putch(x, y + vert, COLOUR_WHITE, ' ');
		}
	}
}
void Term_big_putch ( int x , int y , int a , wchar_t c ) { int hor , vert ; ( void ) c ; if ( tile_width > 1 ) { for ( hor = 0 ; hor <= tile_width ; hor ++ ) { if ( hor != 0 ) { if ( a & 0x80 ) Term_putch ( x + hor , y , 255 , -1 ) ; else Term_putch ( x + hor , y , COLOUR_WHITE , ' ' ) ; } for ( vert = 1 ; vert <= tile_height ; vert ++ ) { if ( a & 0x80 ) Term_putch ( x + hor , y + vert , 255 , -1 ) ; else Term_putch ( x + hor , y + vert , COLOUR_WHITE , ' ' ) ; } } } else { for ( vert = 1 ; vert <= tile_height ; vert ++ ) { if ( a & 0x80 ) Term_putch ( x , y + vert , 255 , -1 ) ; else Term_putch ( x , y + vert , COLOUR_WHITE , ' ' ) ; } } }
Move to a location and, using an attr, add a big tile
Move to a location and using an attr add a big tile
/* Avoid warning */ /* No tall skinny tiles */ /* Horizontal first */ /* Queue dummy character */ /* Now vertical */ /* Queue dummy character */ /* Only vertical */ /* Queue dummy character */