summaryrefslogtreecommitdiffstats
path: root/src/Tracer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Tracer.h10
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. */