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

Function _game_modes

crawl-ref/source/initfile.cc:224–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222
223#ifndef DGAMELAUNCH
224static map<string, game_type> _game_modes()
225{
226 map<string, game_type> modes = {
227 {"normal", GAME_TYPE_NORMAL},
228 {"seeded", GAME_TYPE_CUSTOM_SEED},
229 {"arena", GAME_TYPE_ARENA},
230 {"sprint", GAME_TYPE_SPRINT},
231 {"tutorial", GAME_TYPE_TUTORIAL},
232 {"hints", GAME_TYPE_HINTS}
233 };
234 if (Version::ReleaseType == VER_ALPHA)
235 modes["descent"] = GAME_TYPE_DESCENT;
236 return modes;
237}
238#endif
239
240// **Adding new options**

Callers 1

build_options_listMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected