Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-25 20:14:13 +0000
committerStijn Buys <ingar@osirion.org>2008-07-25 20:14:13 +0000
commitae21836b66252c2b0d49b5eeca9351cf894b4673 (patch)
tree94a40210fe63a7b6f22c96fa41feea1acdfaebb0 /src/client/targets.h
parentd460c49f9ac6e036eedc162881b6529e6a13b449 (diff)
allow mouse control when clicking on an already selected entity
Diffstat (limited to 'src/client/targets.h')
-rw-r--r--src/client/targets.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/targets.h b/src/client/targets.h
index c1f78c7..fc2d861 100644
--- a/src/client/targets.h
+++ b/src/client/targets.h
@@ -31,9 +31,12 @@ void render_listener_sound();
/// render the sound for one entity
void render_entity_sound(core::Entity *Entity);
-/// current selected target, 0 if there is no current targer
+/// currently selected target, 0 if there is none
core::Entity *current();
+/// id of the currently selected target, 0 if there is none
+unsigned int current_id();
+
/// id if target the mouse is currently hovering, 0 if none
unsigned int hover();