Ignore:
Timestamp:
Jan 18, 2011, 12:05:18 AM (11 years ago)
Author:
sam
Message:

Complete Lol Engine / Deus Hax / Monsterz split.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tiler.cpp

    r218 r221  
    11//
    2 // Deus Hax (working title)
    3 // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
     2// Lol Engine
     3//
     4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
     5//   This program is free software; you can redistribute it and/or
     6//   modify it under the terms of the Do What The Fuck You Want To
     7//   Public License, Version 2, as published by Sam Hocevar. See
     8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
    49//
    510
     
    2934 */
    3035
    31 int Tiler::Register(char const *path, int size)
     36int Tiler::Register(char const *path, int w, int h)
    3237{
    3338    int id = data->tilesets.MakeSlot(path);
     
    3540    if (!data->tilesets.GetEntity(id))
    3641    {
    37         TileSet *tileset = new TileSet(path, size);
     42        TileSet *tileset = new TileSet(path, w, h);
    3843        data->tilesets.SetEntity(id, tileset);
    3944    }
Note: See TracChangeset for help on using the changeset viewer.