diff options
author | Stijn Buys <ingar@osirion.org> | 2014-12-16 20:37:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2014-12-16 20:37:15 +0000 |
commit | bebb67e03d378a084367cc05c3d9bbb76f1d8e73 (patch) | |
tree | cd79f728276a9e5805ce29163f055c5103e3577e /src/client | |
parent | a18281d42e8b4e9b3cf9d987ff980bcfc14344ad (diff) |
Project::OSiRiON can now be built with Clang, use -Wno-overloaded-virtual.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/hud.cc | 5 | ||||
-rw-r--r-- | src/client/hud.h | 1 | ||||
-rw-r--r-- | src/client/targets.cc | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/src/client/hud.cc b/src/client/hud.cc index 4c98bd8..058b27a 100644 --- a/src/client/hud.cc +++ b/src/client/hud.cc @@ -48,8 +48,6 @@ HUD::HUD(ui::Widget *parent) : Widget(parent) void HUD::resize() { - //hud_toolbar->set_geometry(0.0f, 0.0f, width(), font()->height() *2 ); - const float padding = ui::root()->font_large()->height(); hud_center->set_size(ui::pointer_size, ui::pointer_size); @@ -131,9 +129,6 @@ void HUD::draw_offscreen_target(core::Entity *entity, bool is_active_target) bitmap_up *= bitmap_radius; bitmap_left *= bitmap_radius; - //math::Vector2f bitmap_location(bitmap_center[0] - bitmap_radius, bitmap_center[1] - bitmap_radius); - //math::Vector2f bitmap_size(2.0f * bitmap_radius, 2.0f * bitmap_radius); - math::Color bitmap_color; const float reputation = core::localplayer()->reputation(entity->faction()); diff --git a/src/client/hud.h b/src/client/hud.h index 07cd166..f241408 100644 --- a/src/client/hud.h +++ b/src/client/hud.h @@ -44,7 +44,6 @@ private: void draw_target(core::Entity *entity, bool is_active_target); ui::Bitmap *hud_center; - ui::Toolbar *hud_toolbar; ui::Widget *hud_playerstatus; ui::Widget *hud_enginestatus; diff --git a/src/client/targets.cc b/src/client/targets.cc index a35ebe7..b320b08 100644 --- a/src/client/targets.cc +++ b/src/client/targets.cc @@ -34,7 +34,6 @@ namespace client namespace targets { -const float TARGETBOXRADIUS = 0.025f; unsigned int current_target_id = 0; unsigned int current_hover = 0; |