Example #1
0
static void othello_pre_open(void)
{
	setup_game_panel(RS_GAME_OTHELLO, RS_GAME_CLASS, RS_GAME_BLACK, RS_GAME_WHITE);

    //Class = 1;
	BlackPoint = 2;
	WhitePoint = 2;
	othello_init();

	update_status(Class, BlackPoint, WhitePoint);
}
Example #2
0
static void tetris_pre_open(void)
{
    setup_game_panel(RS_GAME_TETRIS, RS_GAME_CLASS, RS_GAME_LINES, RS_GAME_SCORE);

    cyclic_tetris_def();

    tetris_init();
    Speed = 3;
    Erasered = 0;
    TotalMark = 0;
    update_status(Speed, Erasered, TotalMark);
}