Ignore:
Timestamp:
Apr 7, 2012, 11:55:29 PM (9 years ago)
Author:
sam
Message:

core: allow each blitted tile to be stretched differently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tileset.h

    r1184 r1198  
    22// Lol Engine
    33//
    4 // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
    55//   This program is free software; you can redistribute it and/or
    66//   modify it under the terms of the Do What The Fuck You Want To
     
    3232{
    3333public:
    34     TileSet(char const *path, ivec2 size, ivec2 count, vec2 scale);
     34    TileSet(char const *path, ivec2 size, ivec2 count);
    3535    virtual ~TileSet();
    3636
     
    4545    ivec2 GetSize(int tileid) const;
    4646    void Bind();
    47     void BlitTile(uint32_t id, vec3 pos, int o,
     47    void BlitTile(uint32_t id, vec3 pos, int o, vec2 scale,
    4848                  float *vertex, float *texture);
    4949
Note: See TracChangeset for help on using the changeset viewer.