Changeset 1198 for trunk/mrpigeon


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

core: allow each blitted tile to be stretched differently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mrpigeon/mrpigeon.cpp

    r1185 r1198  
    2323MrPigeon::MrPigeon()
    2424{
    25     hudprogress = Tiler::Register("mrpigeon/gfx/HUD_timeline.png", ivec2(160,16), ivec2(0), vec2(3.0f));
    26     hudarrow = Tiler::Register("mrpigeon/gfx/HUD_timelineArrow.png", ivec2(16,16), ivec2(0), vec2(3.0f));
     25    hudprogress = Tiler::Register("mrpigeon/gfx/HUD_timeline.png", ivec2(160,16), ivec2(0));
     26    hudarrow = Tiler::Register("mrpigeon/gfx/HUD_timelineArrow.png", ivec2(16,16), ivec2(0));
    2727}
    2828
     
    3636    WorldEntity::TickDraw(deltams);
    3737
    38     Scene::GetDefault()->AddTile(hudarrow, 0, ivec3(30, 8, 0), 0);
    39     Scene::GetDefault()->AddTile(hudprogress, 0, ivec3(0, 0, 0), 0);
     38    Scene::GetDefault()->AddTile(hudarrow, 0, ivec3(30, 8, 0), 0, vec2(3.0f));
     39    Scene::GetDefault()->AddTile(hudprogress, 0, ivec3(0, 0, 0), 0, vec2(3.0f));
    4040}
    4141
Note: See TracChangeset for help on using the changeset viewer.