diff options
| author | Perttu Ahola <celeron55@gmail.com> | 2011-04-08 00:47:14 +0300 |
|---|---|---|
| committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-08 00:47:14 +0300 |
| commit | 4b54b291ae2ba5a5f214cadad74f0bed29376f84 (patch) | |
| tree | f386ca435350867508333d95f3e9f5537fbd28a1 /src/client.h | |
| parent | 2dba606e1217ffb236e19aa38157a945e919d76b (diff) | |
| download | minetest-4b54b291ae2ba5a5f214cadad74f0bed29376f84.tar.xz | |
Some progress on transitioning from MapBlockObject to ActiveObject.
Diffstat (limited to 'src/client.h')
| -rw-r--r-- | src/client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 611116d45..0616cc914 100644 --- a/src/client.h +++ b/src/client.h @@ -316,6 +316,14 @@ public: core::line3d<f32> shootline_on_map ); + // Gets closest object pointed by the shootline + // Returns NULL if not found + ClientActiveObject * getSelectedActiveObject( + f32 max_d, + v3f from_pos_f_on_map, + core::line3d<f32> shootline_on_map + ); + // Prints a line or two of info void printDebugInfo(std::ostream &os); |
