Ignore:
Timestamp:
Jan 31, 2011, 2:50:51 AM (10 years ago)
Author:
sam
Message:

Board size and number of available pieces is now a parameter of
the Board class ctor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/mash.cpp

    r297 r314  
    3232    Emitter *emitter;
    3333    int duh, pop;
    34     Piece *pieces[8 * 8];
    35     int2 cells[8 * 8];
     34    Piece *pieces[MAX_WIDTH * MAX_HEIGHT];
     35    int2 cells[MAX_WIDTH * MAX_HEIGHT];
    3636    int npieces;
    3737    float timer;
Note: See TracChangeset for help on using the changeset viewer.