Ignore:
Timestamp:
Feb 11, 2011, 10:45:37 PM (10 years ago)
Author:
sam
Message:

TileSets can now be initialised either using the tile size, or the
known number of tiles in a row and a column. Necessary for ticket #24.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/interface.cpp

    r353 r633  
    5555    data->title = NULL;
    5656    data->board = NULL;
    57     data->screen = Tiler::Register(PNG_BACKGROUND, 640, 480, 1.0f);
    58     data->tiles = Tiler::Register(PNG_TILES, 48, 48, 1.0f);
     57    data->screen = Tiler::Register(PNG_BACKGROUND, int2(640, 480), 0, 1.0f);
     58    data->tiles = Tiler::Register(PNG_TILES, 48, 0, 1.0f);
    5959    data->state = InterfaceData::INIT;
    6060
Note: See TracChangeset for help on using the changeset viewer.