MCPcopy Create free account
hub / github.com/NetHack/NetHack / WriteTileStrip

Function WriteTileStrip

win/share/ppmwrite.c:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33static void
34WriteTileStrip(void)
35{
36 int i, j;
37
38 for (j = 0; j < TILE_Y; j++) {
39 for (i = 0; i < PpmScreen.Width; i++) {
40 (void) fputc((char) image[j][i].r, ppm_file);
41 (void) fputc((char) image[j][i].g, ppm_file);
42 (void) fputc((char) image[j][i].b, ppm_file);
43 }
44 }
45}
46
47boolean
48fopen_ppm_file(const char *filename, const char *type)

Callers 2

write_ppm_tileFunction · 0.85
fclose_ppm_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected