char text[8]; snprintf(text, 8, "%d", tnum); gwin->paint_text(7, text, xoff + 2, yoff + 2);
char text[40]; snprintf(text, sizeof(text), "(%d,%d)T%d", cx, cy, tnum); gwin->paint_text(2, text, xoff + 2, yoff + 2);
inline void Paint_chunk_outline	(	Game_window *gwin,	int pixel,			// Pixel value to use.	int tnum,			// Terrain #.	int xoff, int yoff		// Where chunk was painted.	)	{	gwin->get_win()->fill8(pixel, c_chunksize, 1, xoff, yoff);	gwin->get_win()->fill8(pixel, 1, c_chunksize, xoff, yoff);	char text[8];			// Show chunk #.	snprintf(text, 8, "%d", tnum);	gwin->paint_text(7, text, xoff + 2, yoff + 2);	}