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

Function _kill_method_to_exit

crawl-ref/source/end.cc:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234static game_exit _kill_method_to_exit(kill_method_type kill)
235{
236 switch (kill)
237 {
238 case KILLED_BY_QUITTING: return game_exit::quit;
239 case KILLED_BY_WINNING: return game_exit::win;
240 case KILLED_BY_LEAVING: return game_exit::leave;
241 default: return game_exit::death;
242 }
243}
244
245static string _exit_type_to_string(game_exit e)
246{

Callers 1

end.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected