MCPcopy Create free account
hub / github.com/crawl/crawl / _write_stat_headers

Function _write_stat_headers

crawl-ref/source/dbg-objstat.cc:1121–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119}
1120
1121static void _write_stat_headers(const vector<string> &fields, const string &desc)
1122{
1123 fprintf(stat_outf, "%s\tLevel", desc.c_str());
1124
1125 for (const string &field : fields)
1126 fprintf(stat_outf, "\t%s", field.c_str());
1127
1128 fprintf(stat_outf, "\n");
1129}
1130
1131static void _write_stat(map<string, int> &stats, const string &field)
1132{

Callers 2

_write_base_item_statsFunction · 0.85
_write_object_statsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected