diff --git a/TombEngine/Scripting/Internal/TEN/Objects/Lara/LaraObject.cpp b/TombEngine/Scripting/Internal/TEN/Objects/Lara/LaraObject.cpp index 9026a55b0..3769a8239 100644 --- a/TombEngine/Scripting/Internal/TEN/Objects/Lara/LaraObject.cpp +++ b/TombEngine/Scripting/Internal/TEN/Objects/Lara/LaraObject.cpp @@ -239,7 +239,7 @@ int LaraObject::GetAmmoCount() const /// Get current vehicle, if it exists // @function LaraObject:GetVehicle -// @treturn Moveable current vehicle (nil if no vehicle present) +// @treturn Objects.Moveable current vehicle (nil if no vehicle present) // @usage // local vehicle = Lara:GetVehicle() std::unique_ptr LaraObject::GetVehicle() const @@ -254,7 +254,7 @@ std::unique_ptr LaraObject::GetVehicle() const /// Get current target enemy, if it exists // @function LaraObject:GetTarget -// @treturn Moveable current target enemy (nil if no target present) +// @treturn Objects.Moveable current target enemy (nil if no target present) // @usage // local target = Lara:GetTarget() std::unique_ptr LaraObject::GetTarget() const diff --git a/TombEngine/Scripting/Internal/TEN/Objects/Moveable/MoveableObject.cpp b/TombEngine/Scripting/Internal/TEN/Objects/Moveable/MoveableObject.cpp index 4357d94df..b1312da9c 100644 --- a/TombEngine/Scripting/Internal/TEN/Objects/Moveable/MoveableObject.cpp +++ b/TombEngine/Scripting/Internal/TEN/Objects/Moveable/MoveableObject.cpp @@ -451,7 +451,7 @@ ScriptReserved_GetSlotHP, & Moveable::GetSlotHP, /// Test if the object is in a valid state (i.e. has not been destroyed through Lua or killed by Lara). // @function Moveable:GetValid -// @treturn valid bool true if the object is still not destroyed +// @treturn bool valid true if the object is still not destroyed ScriptReserved_GetValid, &Moveable::GetValid, /// Destroy the moveable. This will mean it can no longer be used, except to re-initialise it with another object. diff --git a/TombEngine/Scripting/Internal/TEN/Objects/Volume/VolumeObject.cpp b/TombEngine/Scripting/Internal/TEN/Objects/Volume/VolumeObject.cpp index a52907258..571810f3b 100644 --- a/TombEngine/Scripting/Internal/TEN/Objects/Volume/VolumeObject.cpp +++ b/TombEngine/Scripting/Internal/TEN/Objects/Volume/VolumeObject.cpp @@ -88,7 +88,7 @@ void Volume::Register(sol::table& parent) /// Check if specified moveable is inside the volume // @function Volume:IsMoveableInside - // @tparam Moveable moveable which should be checked for containment + // @tparam Objects.Moveable Moveable which should be checked for containment ScriptReserved_IsMoveableInside, &Volume::IsMoveableInside); } diff --git a/TombEngine/Scripting/Internal/TEN/Rotation/Rotation.cpp b/TombEngine/Scripting/Internal/TEN/Rotation/Rotation.cpp index 26ea621ab..66e1273d6 100644 --- a/TombEngine/Scripting/Internal/TEN/Rotation/Rotation.cpp +++ b/TombEngine/Scripting/Internal/TEN/Rotation/Rotation.cpp @@ -35,9 +35,9 @@ void Rotation::Register(sol::table& parent) } /*** -@float X rotation about x axis -@float Y rotation about y axis -@float Z rotation about z axis +@tparam float X rotation about x axis +@tparam float Y rotation about y axis +@tparam float Z rotation about z axis @treturn Rotation A Rotation object. @function Rotation */