Exemplo n.º 1
0
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);
}
Exemplo n.º 2
0
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);
}
Exemplo n.º 3
0
Arquivo: game.c Projeto: jc429/276game
void InitVersus(){	
	LoadStage(stage);
	InitFighters(c1,c2);
	DrawBG(HUDBG);
	pausescr = LoadSprite("images/pause.png",1024,768,1);
	p1vic = LoadSprite("images/p1win.png",1024,768,1);
	p2vic = LoadSprite("images/p2win.png",1024,768,1);
	drawvic = LoadSprite("images/draw.png",1024,768,1);
}