Ignore:
Timestamp:
Jul 23, 2011, 11:14:40 PM (10 years ago)
Author:
sam
Message:

tileset: replace the Tiler ID system with real TileSet objects. The only
thing that is still broken is the Layer <--> Map interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/interface.cpp

    r786 r790  
    3737    Title *title;
    3838    Board *board;
    39     int tiles;
     39    TileSet *tiles;
    4040
    4141    enum
     
    100100    {
    101101        vec2i m = mouse + vec2i(-6, 6 - 48);
    102         Scene::GetDefault()->AddTile((data->tiles << 16) | 22, m.x, m.y, 30, 0);
     102        Scene::GetDefault()->AddTile(data->tiles, 22, m.x, m.y, 30, 0);
    103103    }
    104104}
Note: See TracChangeset for help on using the changeset viewer.