Changeset 353


Ignore:
Timestamp:
Feb 4, 2011, 1:20:54 AM (10 years ago)
Author:
sam
Message:

Launch either a hunt mode or a fusion mode, chosen at random.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/interface.cpp

    r352 r353  
    8080            Ticker::Unref(data->title);
    8181            data->title = NULL;
    82             data->board = new Board(Board::GAME_FUSION, int2(6, 8), 3, 12);
    83             //data->board = new Board(Board::GAME_HUNT, int2(8, 8), 8, 8);
     82            if (rand() & 1)
     83                data->board = new Board(Board::GAME_FUSION, int2(6, 8), 3, 12);
     84            else
     85                data->board = new Board(Board::GAME_HUNT, int2(8, 8), 8, 8);
    8486            Ticker::Ref(data->board);
    8587            data->state = InterfaceData::GAME;
Note: See TracChangeset for help on using the changeset viewer.