summaryrefslogtreecommitdiffstats
path: root/game/client/player_target.hh
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/player_target.hh')
-rw-r--r--game/client/player_target.hh21
1 files changed, 21 insertions, 0 deletions
diff --git a/game/client/player_target.hh b/game/client/player_target.hh
new file mode 100644
index 0000000..c584209
--- /dev/null
+++ b/game/client/player_target.hh
@@ -0,0 +1,21 @@
+#ifndef CLIENT_PLAYER_TARGET_HH
+#define CLIENT_PLAYER_TARGET_HH 1
+#pragma once
+
+#include "shared/voxel_registry.hh"
+
+namespace player_target
+{
+extern voxel_id voxel;
+extern voxel_pos coord;
+extern voxel_pos normal;
+extern const VoxelInfo *info;
+} // namespace player_target
+
+namespace player_target
+{
+void init(void);
+void update(void);
+} // namespace player_target
+
+#endif /* CLIENT_PLAYER_TARGET_HH */