From bebb67e03d378a084367cc05c3d9bbb76f1d8e73 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 16 Dec 2014 20:37:15 +0000 Subject: Project::OSiRiON can now be built with Clang, use -Wno-overloaded-virtual. --- src/client/hud.cc | 5 ----- src/client/hud.h | 1 - src/client/targets.cc | 1 - 3 files changed, 7 deletions(-) (limited to 'src/client') 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; -- cgit v1.2.3