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

Function dump_tilerefs

win/share/tilemap.c:1527–1542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1525}
1526
1527void
1528dump_tilerefs(FILE * fp)
1529{
1530 int i;
1531
1532 Fprintf(fp, "\n");
1533 for (i = 0; i < SIZE(tilelist); i++) {
1534 if (tilelist[i]) {
1535 Fprintf(fp, "tile[%04d] %s[%04d] %-25s: %s\n", i,
1536 tilesrc_texts[tilelist[i]->src],
1537 tilelist[i]->file_entry,
1538 tilelist[i]->tilenam,
1539 tilelist[i]->references);
1540 }
1541 }
1542}
1543
1544void
1545free_tilerefs(void)

Callers 1

init_tilemapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected