| 232 | } |
| 233 | |
| 234 | static 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 | |
| 245 | static string _exit_type_to_string(game_exit e) |
| 246 | { |