diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-28 09:19:40 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-28 09:19:40 -0400 |
commit | e51b9ee1e0f9b8aeef98b8875f66260db0e7b502 (patch) | |
tree | 8f32a3de7032b97bddd0c34377f9f6988c1ab336 /src/components.cpp | |
parent | ed10ef9ede3d397672239c3b3dbe42cc6fbe56b4 (diff) | |
parent | 0a8654a125fad2961039e614fd10f1f683c0001f (diff) |
npc dialog
Diffstat (limited to 'src/components.cpp')
-rw-r--r-- | src/components.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components.cpp b/src/components.cpp index 220ecab..c7069ce 100644 --- a/src/components.cpp +++ b/src/components.cpp @@ -94,6 +94,7 @@ void RenderSystem::update(entityx::EntityManager &en, entityx::EventManager &ev, en.each<Visible, Position, Solid, Name>([](entityx::Entity e, Visible &v, Position &pos, Solid& dim, Name &name) { (void)e; (void)v; + ui::setFontZ(-5.0); ui::putStringCentered(pos.x + dim.width / 2, pos.y - ui::fontSize - HLINES(0.5), name.name); }); } |