184 } |
184 } |
185 atexit((void(*)())endwin); |
185 atexit((void(*)())endwin); |
186 |
186 |
187 int exitcode; |
187 int exitcode; |
188 if (settings.singlemachine) { |
188 if (settings.singlemachine) { |
189 game_start_singlemachine(&settings); |
189 game_play_singlemachine(&settings); |
190 exitcode = EXIT_SUCCESS; |
190 exitcode = EXIT_SUCCESS; |
191 } else if (settings.analyzepgn) { |
191 } else if (settings.analyzepgn) { |
192 printw("Not implemented yet.\n"); |
192 printw("Not implemented yet.\n"); |
193 exitcode = EXIT_SUCCESS; |
193 exitcode = EXIT_SUCCESS; |
194 } else { |
194 } else { |