MCPcopy Create free account
hub / github.com/bwapi/bwapi / writeGameTypeInfo

Function writeGameTypeInfo

bwapi/DocumentationGen/gametypes.cpp:3–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "helpers.h"
2
3void writeGameTypeInfo()
4{
5 std::ofstream of("gametypes.dox");
6 for (auto t : GameTypes::allGameTypes())
7 {
8 if (t == GameTypes::Unknown || t == GameTypes::None) continue;
9 of << docEnum(t);
10 of << docBegin(t);
11
12 of << docIntro(t) << "\n";
13
14 of << docEnd();
15 }
16}

Callers 1

mainFunction · 0.85

Calls 4

docEnumFunction · 0.85
docBeginFunction · 0.85
docIntroFunction · 0.85
docEndFunction · 0.85

Tested by

no test coverage detected