Ignore:
Timestamp:
Jul 23, 2011, 11:14:40 PM (9 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/thumbs.cpp

    r735 r790  
    3333
    3434private:
     35    TileSet *icons;
    3536    int npieces;
    36     int icons;
    3737
    3838    Text *text[MAX_PIECES];
     
    7474    {
    7575        vec2i p = vec2i(459, 372 - 27 * n);
    76         Scene::GetDefault()->AddTile((data->icons << 16) | n, p.x, p.y, 11, 0);
     76        Scene::GetDefault()->AddTile(data->icons, n, p.x, p.y, 11, 0);
    7777    }
    7878}
Note: See TracChangeset for help on using the changeset viewer.