diff options
author | Mattes D <github@xoft.cz> | 2017-05-11 14:34:36 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2017-05-11 14:34:36 +0200 |
commit | 2c3c1f15273835923d9bd4950a19ee88a95ee0f4 (patch) | |
tree | cda390aa07a202497271439c2b330643074239df /src/Tracer.h | |
parent | Exported cFallingBlock and cExpOrb (#3700) (diff) | |
download | cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.tar cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.tar.gz cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.tar.bz2 cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.tar.lz cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.tar.xz cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.tar.zst cuberite-2c3c1f15273835923d9bd4950a19ee88a95ee0f4.zip |
Diffstat (limited to 'src/Tracer.h')
-rw-r--r-- | src/Tracer.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Tracer.h b/src/Tracer.h index 8d1f494f7..e4ff1b12c 100644 --- a/src/Tracer.h +++ b/src/Tracer.h @@ -35,7 +35,10 @@ public: cTracer(cWorld * a_World); ~cTracer(); - /** Determines if a collision occures along a line. Returns true if a collision occurs. */ + // tolua_end + + /** Determines if a collision occures along a line. Returns true if a collision occurs. + Exported manually to add deprecation warnings. */ bool Trace(const Vector3f & a_Start, const Vector3f & a_Direction, int a_Distance) { return Trace(a_Start, a_Direction, a_Distance, false); @@ -44,9 +47,12 @@ public: /** Determines if a collision occures along a line. Returns true if a collision occurs. When a_LineOfSight is true, we don't use the standard collision detection rules. Instead we use the rules for monster vision. E.g. Only water and air do not block vision. - a_Distance is the number of iterations (blocks hits) that are tested. */ + a_Distance is the number of iterations (blocks hits) that are tested. + Exported manually to add deprecation warnings. */ bool Trace(const Vector3f & a_Start, const Vector3f & a_Direction, int a_Distance, bool a_LineOfSight); + // tolua_begin + private: /** Preps Tracer object for call of Trace function. Only used internally. */ |