mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Delete clang-format files and comments (#14079)
This commit is contained in:
parent
64b59184d1
commit
da832a295e
24 changed files with 0 additions and 702 deletions
|
@ -69,7 +69,6 @@ void ActiveObjectMgr::step(
|
|||
}
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
bool ActiveObjectMgr::registerObject(std::unique_ptr<ServerActiveObject> obj)
|
||||
{
|
||||
assert(obj); // Pre-condition
|
||||
|
@ -126,7 +125,6 @@ void ActiveObjectMgr::removeObject(u16 id)
|
|||
m_active_objects.erase(id); // `it` can be invalid now
|
||||
}
|
||||
|
||||
// clang-format on
|
||||
void ActiveObjectMgr::getObjectsInsideRadius(const v3f &pos, float radius,
|
||||
std::vector<ServerActiveObject *> &result,
|
||||
std::function<bool(ServerActiveObject *obj)> include_obj_cb)
|
||||
|
|
|
@ -49,7 +49,6 @@ ServerModManager::ServerModManager(const std::string &worldpath):
|
|||
configuration.checkConflictsAndDeps();
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
// This function cannot be currenctly easily tested but it should be ASAP
|
||||
void ServerModManager::loadMods(ServerScripting *script)
|
||||
{
|
||||
|
@ -75,7 +74,6 @@ void ServerModManager::loadMods(ServerScripting *script)
|
|||
script->on_mods_loaded();
|
||||
}
|
||||
|
||||
// clang-format on
|
||||
const ModSpec *ServerModManager::getModSpec(const std::string &modname) const
|
||||
{
|
||||
for (const auto &mod : configuration.getMods()) {
|
||||
|
|
|
@ -92,7 +92,6 @@ void UnitSAO::getBonePosition(const std::string &bone, v3f *position, v3f *rotat
|
|||
}
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
void UnitSAO::sendOutdatedData()
|
||||
{
|
||||
if (!m_armor_groups_sent) {
|
||||
|
@ -123,7 +122,6 @@ void UnitSAO::sendOutdatedData()
|
|||
m_messages_out.emplace(getId(), true, generateUpdateAttachmentCommand());
|
||||
}
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
void UnitSAO::setAttachment(int parent_id, const std::string &bone, v3f position,
|
||||
v3f rotation, bool force_visible)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue