void Credits(void) { clear(); PrintOutline(); ClearWindows(); char *name[] = {"Tamara Charchoghlyan", "Alexander Fong", "Ethan Gagne", "Courtney Kolthof", "Alliyya Mo", "Vivian Ng", "Ajeesh S", "Julian Tang", "Jake Uskoski"}; ClearWindows(); curs_set(0); attron(A_BOLD); mvprintw(7,18," __ "); mvprintw(8,18," | |"); mvprintw(9,18," _____ _ _ ___ _ _ | |"); mvprintw(10,18,"|_ _| |_ ___ ___| |_ ___ | _|___ ___ ___| |___ _ _|_|___ ___ |__|"); mvprintw(11,18," | | | | .'| | '_|_ -| | _| . | _| | . | | .'| | | | | . | __ "); mvprintw(12,18," |_| |_|_|__,|_|_|_,_|___| |_| |___|_| | _|_|__,|_ |_|_|_|_ | |__|"); mvprintw(13,18," |_| |___| |___| "); for (int j = 0; j < 19; ++j) { for (int i = 0; i < 9; ++i) { if (j!=0) { mvhline(35+i-j,22,' ',80); mvhline(33+i-j+1,22,' ',80); mvhline(35+i-j+1,22,' ',80); } } mvprintw(33-j,45,"Developers & Designers"); mvprintw(35-j,22,"%s\t%s\t\t%s",name[0],name[1],name[2]); mvprintw(36-j,22,"%s\t\t%s\t\t%s",name[3],name[4],name[5]); mvprintw(37-j,22,"%s\t\t\t%s\t\t%s",name[6],name[7],name[8]); mvprintw(40-j,22,"Special Thanks to Dave McCaughan and his many life lessons"); mvprintw(43-j,22,"\t\t\"We drink because of group work.\" - Dave"); usleep(250000); refresh(); } attroff(A_BOLD); usleep(950000); // getchar(); }
void StageLose(void) { clear(); DrawMenu(); ClearWindows(); attron(COLOR_PAIR(11)); mvprintw(21,28," __ "); mvprintw(22,28," | |"); mvprintw(23,28," _____ _ _____ _ _ _ | |"); mvprintw(24,28,"| __| |_ ___ ___ ___ | __|___|_| |___ _| | |__|"); mvprintw(25,28,"|__ | _| .'| . | -_| | __| .'| | | -_| . | __ "); mvprintw(26,28,"|_____|_| |__,|_ |___| |__| |__,|_|_|___|___| |__|"); mvprintw(27,28," |___| "); attroff(COLOR_PAIR(11)); refresh(); LoadStage('l'); attron(A_BOLD); mvprintw(32,54,"Done!"); attroff(A_BOLD); refresh(); usleep(500000); ClearMap(); curs_set(1); }
void StageWin(void) { clear(); DrawMenu(); ClearWindows(); attron(COLOR_PAIR(8)); mvprintw(17,25, " __ "); mvprintw(18,25, " | |"); mvprintw(19,25, " _____ _ _____ _ _ | |"); mvprintw(20,25, "| __| |_ ___ ___ ___ | | |___ ___ ___ ___ _| | |__|"); mvprintw(21,25, "|__ | _| .'| . | -_| | --| | -_| .'| _| -_| . | __ "); mvprintw(22,25, "|_____|_| |__,|_ |___| |_____|_|___|__,|_| |___|___| |__|"); mvprintw(23,25, " |___| "); attroff(COLOR_PAIR(8)); refresh(); LoadStage('w'); attron(A_BOLD); mvprintw(32,54,"Done!"); attroff(A_BOLD); refresh(); usleep(750000); // ClearMap(); curs_set(1); }
void GameWin(void) { ClearWindows(); curs_set(0); attron(COLOR_PAIR(8)); mvprintw(15,20," "); mvprintw(16,20," "); mvprintw(17,20," _____ _ _ _ _ "); mvprintw(18,20," | |___ ___ ___ ___ ___| |_ _ _| |___| |_|_|___ ___ ___ "); mvprintw(19,20," | --| . | | . | _| .'| _| | | | .'| _| | . | |_ -| "); mvprintw(20,20," |_____|___|_|_|_ |_| |__,|_| |___|_|__,|_| |_|___|_|_|___| "); mvprintw(21,20," |___| "); mvprintw(22,15," __ "); mvprintw(23,15," | |"); mvprintw(24,15," __ __ _____ _ _ _ _____ | |"); mvprintw(25,15,"| | |___ _ _ | __ |___ ___| |_ | |_| |_ ___ | __|___ _____ ___ |__|"); mvprintw(26,15,"|_ _| . | | | | __ -| -_| .'| _| | _| | -_| | | | .'| | -_| __ "); mvprintw(27,15," |_| |___|___| |_____|___|__,|_| |_| |_|_|___| |_____|__,|_|_|_|___| |__|"); mvprintw(28,15," "); attroff(COLOR_PAIR(8)); refresh(); usleep(5000000); }
wxPanelTabView::~wxPanelTabView(void) { ClearWindows(true); }
// 交换帧缓冲区 int RenderClass::SwapFrameBuffer() { SwapBuffers(hdc); ClearWindows(); return 0; }