|
@@ -24,6 +24,9 @@
|
|
|
|
|
|
|
|
#include "../Core/Context.h"
|
|
#include "../Core/Context.h"
|
|
|
#include "../Graphics/OctreeQuery.h"
|
|
#include "../Graphics/OctreeQuery.h"
|
|
|
|
|
+#ifdef URHO3D_NAVIGATION
|
|
|
|
|
+#include "../Navigation/CrowdAgent.h"
|
|
|
|
|
+#endif
|
|
|
#ifdef URHO3D_PHYSICS
|
|
#ifdef URHO3D_PHYSICS
|
|
|
#include "../Physics/PhysicsWorld.h"
|
|
#include "../Physics/PhysicsWorld.h"
|
|
|
#endif
|
|
#endif
|
|
@@ -138,6 +141,10 @@ template<> int ToluaPushPODVector<Vector3>(lua_State* L, void* data, const char*
|
|
|
template<> int ToluaPushPODVector<IntVector2>(lua_State* L, void* data, const char* type);
|
|
template<> int ToluaPushPODVector<IntVector2>(lua_State* L, void* data, const char* type);
|
|
|
/// Push PODVector<OctreeQueryResult> to Lua as a table.
|
|
/// Push PODVector<OctreeQueryResult> to Lua as a table.
|
|
|
template<> int ToluaPushPODVector<OctreeQueryResult>(lua_State* L, void* data, const char* type);
|
|
template<> int ToluaPushPODVector<OctreeQueryResult>(lua_State* L, void* data, const char* type);
|
|
|
|
|
+#ifdef URHO3D_NAVIGATION
|
|
|
|
|
+/// Push PODVector<CrowdAgent*> to Lua as a table.
|
|
|
|
|
+template<> int ToluaPushPODVector<CrowdAgent*>(lua_State* L, void* data, const char* type);
|
|
|
|
|
+#endif
|
|
|
#ifdef URHO3D_PHYSICS
|
|
#ifdef URHO3D_PHYSICS
|
|
|
/// Push PODVector<PhysicsRaycastResult> to Lua as a table.
|
|
/// Push PODVector<PhysicsRaycastResult> to Lua as a table.
|
|
|
template<> int ToluaPushPODVector<PhysicsRaycastResult>(lua_State* L, void* data, const char* type);
|
|
template<> int ToluaPushPODVector<PhysicsRaycastResult>(lua_State* L, void* data, const char* type);
|