예제 #1
0
파일: game.c 프로젝트: AGFeldman/nos
/*
 * If the gave has ended, then print an appropriate message and loop forever
 */
void check_win(void) {
    if (win == -1) {
        write_final_message("DEATH FROM ABOVE");
    }
    else if (win == 1) {
        write_final_message("VICTORY!");
    }
}
예제 #2
0
파일: Log.hpp 프로젝트: tivtag/nperplex
 void flush()
 {
    write_final_message();
    clear_buffer();
 }
예제 #3
0
파일: Log.hpp 프로젝트: tivtag/nperplex
 ~LogStream()
 {
    write_final_message();
 }