id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35,634 | main.cpp | OpenMW_openmw/apps/openmw_tests/main.cpp | #include <components/debug/debugging.hpp>
#include <components/misc/strings/conversion.hpp>
#include <components/settings/parser.hpp>
#include <components/settings/values.hpp>
#include <gtest/gtest.h>
#include <filesystem>
int main(int argc, char* argv[])
{
Log::sMinDebugLevel = Debug::getDebugLevel();
cons... | 859 | C++ | .cpp | 19 | 41.421053 | 114 | 0.762936 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,635 | options.cpp | OpenMW_openmw/apps/openmw_tests/options.cpp | #include "apps/openmw/options.hpp"
#include <components/files/configurationmanager.hpp>
#include <components/files/conversion.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include <algorithm>
#inclu... | 19,521 | C++ | .cpp | 363 | 46.300275 | 120 | 0.696394 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,636 | testduration.cpp | OpenMW_openmw/apps/openmw_tests/mwworld/testduration.cpp | #include <gtest/gtest.h>
#include <cmath>
#include "apps/openmw/mwworld/duration.hpp"
namespace MWWorld
{
namespace
{
TEST(MWWorldDurationTest, fromHoursShouldProduceZeroDaysAndHoursFor0)
{
const Duration duration = Duration::fromHours(0);
EXPECT_EQ(duration.getDays(),... | 2,342 | C++ | .cpp | 54 | 33.537037 | 118 | 0.648091 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,637 | test_store.cpp | OpenMW_openmw/apps/openmw_tests/mwworld/test_store.cpp | #include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <algorithm>
#include <array>
#include <fstream>
#include <span>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include <components/esm/defs.hpp>
#include <components/esm/records.hpp>
#include <com... | 33,354 | C++ | .cpp | 695 | 40.392806 | 120 | 0.602931 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,638 | testptr.cpp | OpenMW_openmw/apps/openmw_tests/mwworld/testptr.cpp | #include "apps/openmw/mwclass/npc.hpp"
#include "apps/openmw/mwworld/esmstore.hpp"
#include "apps/openmw/mwworld/livecellref.hpp"
#include "apps/openmw/mwworld/ptr.hpp"
#include "apps/openmw/mwworld/worldmodel.hpp"
#include <components/esm3/loadnpc.hpp>
#include <components/esm3/readerscache.hpp>
#include <gtest/gtes... | 2,940 | C++ | .cpp | 75 | 28.666667 | 100 | 0.596571 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,639 | testtimestamp.cpp | OpenMW_openmw/apps/openmw_tests/mwworld/testtimestamp.cpp | #include <gtest/gtest.h>
#include <cmath>
#include "apps/openmw/mwworld/timestamp.hpp"
namespace MWWorld
{
namespace
{
TEST(MWWorldTimeStampTest, operatorPlusShouldNotChangeTimeStampForZero)
{
TimeStamp timeStamp;
timeStamp += 0;
EXPECT_EQ(timeStamp.getDay(... | 2,117 | C++ | .cpp | 58 | 26.448276 | 97 | 0.60439 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,640 | test_scripts.cpp | OpenMW_openmw/apps/openmw_tests/mwscript/test_scripts.cpp | #include <gtest/gtest.h>
#include <sstream>
#include "test_utils.hpp"
namespace
{
struct MWScriptTest : public ::testing::Test
{
MWScriptTest()
: mErrorHandler()
, mParser(mErrorHandler, mCompilerContext)
{
}
std::optional<CompiledScript> compile(const ... | 21,852 | C++ | .cpp | 740 | 21.474324 | 191 | 0.559931 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,641 | test_keywordsearch.cpp | OpenMW_openmw/apps/openmw_tests/mwdialogue/test_keywordsearch.cpp | #include "apps/openmw/mwdialogue/keywordsearch.hpp"
#include <gtest/gtest.h>
struct KeywordSearchTest : public ::testing::Test
{
protected:
void SetUp() override {}
void TearDown() override {}
};
TEST_F(KeywordSearchTest, keyword_test_conflict_resolution)
{
// test to make sure the longest keyword in a ... | 5,069 | C++ | .cpp | 101 | 43.415842 | 118 | 0.708874 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,645 | ICSPrerequisites.cpp | OpenMW_openmw/extern/oics/ICSPrerequisites.cpp | /* -------------------------------------------------------
Copyright (c) 2011 Alberto G. Salguero (alberto.salguero (at) uca.es)
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction... | 1,243 | C++ | .cpp | 23 | 52.869565 | 69 | 0.741776 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
35,646 | ICSChannel.cpp | OpenMW_openmw/extern/oics/ICSChannel.cpp | /* -------------------------------------------------------
Copyright (c) 2011 Alberto G. Salguero (alberto.salguero (at) uca.es)
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction... | 7,164 | C++ | .cpp | 227 | 26.991189 | 115 | 0.66802 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | true | true | false |
35,648 | ICSInputControlSystem.cpp | OpenMW_openmw/extern/oics/ICSInputControlSystem.cpp | /* -------------------------------------------------------
Copyright (c) 2011 Alberto G. Salguero (alberto.salguero (at) uca.es)
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction... | 25,929 | C++ | .cpp | 674 | 32.350148 | 181 | 0.638654 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,649 | ICSControl.cpp | OpenMW_openmw/extern/oics/ICSControl.cpp | /* -------------------------------------------------------
Copyright (c) 2011 Alberto G. Salguero (alberto.salguero (at) uca.es)
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction... | 5,007 | C++ | .cpp | 141 | 31.283688 | 119 | 0.703879 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,650 | ICSInputControlSystem_joystick.cpp | OpenMW_openmw/extern/oics/ICSInputControlSystem_joystick.cpp | /* -------------------------------------------------------
Copyright (c) 2011 Alberto G. Salguero (alberto.salguero (at) uca.es)
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction... | 14,885 | C++ | .cpp | 325 | 37.067692 | 179 | 0.670661 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,653 | CompositeOsgRenderer.cpp | OpenMW_openmw/extern/osgQt/CompositeOsgRenderer.cpp | #include "CompositeOsgRenderer.hpp"
#include "osgQOpenGLWidget.hpp"
#include <mutex>
#include <osgViewer/View>
#include <thread>
CompositeOsgRenderer::CompositeOsgRenderer(QObject* parent)
: QObject(parent), osgViewer::CompositeViewer(), mSimulationTime(0.0)
{
_firstFrame = true;
}
CompositeOsgRenderer::Com... | 2,949 | C++ | .cpp | 96 | 26.166667 | 111 | 0.703534 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,654 | osgQOpenGLWidget.cpp | OpenMW_openmw/extern/osgQt/osgQOpenGLWidget.cpp | #include "CompositeOsgRenderer.hpp"
#include "osgQOpenGLWidget.hpp"
#include <mutex>
#include <osgViewer/View>
#include <QApplication>
#include <QScreen>
#include <QWindow>
osgQOpenGLWidget::osgQOpenGLWidget(QWidget* parent)
: QOpenGLWidget(parent)
{
m_renderer = new CompositeOsgRenderer(this);
setMouseT... | 2,366 | C++ | .cpp | 81 | 25.024691 | 115 | 0.706167 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,655 | videostate.cpp | OpenMW_openmw/extern/osg-ffmpeg-videoplayer/videostate.cpp | #include "videostate.hpp"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iostream>
#include <memory>
#include <thread>
#include <chrono>
#include <osg/Texture2D>
#include <utility>
#if defined(_MSC_VER)
#pragma warning (push)
#pragma warning (disable : 4244)
#endif
extern "C"
{
#in... | 27,322 | C++ | .cpp | 808 | 25.518564 | 133 | 0.57609 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,656 | videoplayer.cpp | OpenMW_openmw/extern/osg-ffmpeg-videoplayer/videoplayer.cpp | #include "videoplayer.hpp"
#include <iostream>
#include <osg/Notify>
#include <osg/Texture2D>
#include "audiofactory.hpp"
#include "videostate.hpp"
namespace Video
{
VideoPlayer::VideoPlayer()
: mState(nullptr)
{
}
VideoPlayer::~VideoPlayer()
{
if(mState)
close();
}
void VideoPlayer::setAudioFac... | 2,450 | C++ | .cpp | 114 | 17.254386 | 97 | 0.640415 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,657 | audiodecoder.cpp | OpenMW_openmw/extern/osg-ffmpeg-videoplayer/audiodecoder.cpp | #include "audiodecoder.hpp"
#include <extern/osg-ffmpeg-videoplayer/libavutildefines.hpp>
#include <algorithm>
#include <stdexcept>
#include <string>
#if defined(_MSC_VER)
#pragma warning (push)
#pragma warning (disable : 4244)
#endif
extern "C"
{
#include <libswresample/swresample.h>
}
#if defined(_MS... | 12,405 | C++ | .cpp | 359 | 25.554318 | 116 | 0.587602 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,659 | types.hpp | OpenMW_openmw/components/stereo/types.hpp | #ifndef STEREO_TYPES_H
#define STEREO_TYPES_H
#include <osg/Matrix>
#include <osg/Vec3>
namespace Stereo
{
enum class Eye
{
Left = 0,
Right = 1,
Center = 2
};
struct Pose
{
//! Position in space
osg::Vec3 position{ 0, 0, 0 };
//! Orientation in spac... | 1,465 | C++ | .h | 49 | 23.183673 | 76 | 0.599715 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,660 | stereomanager.hpp | OpenMW_openmw/components/stereo/stereomanager.hpp | #ifndef STEREO_MANAGER_H
#define STEREO_MANAGER_H
#include <osg/Camera>
#include <osg/Matrix>
#include <osg/StateSet>
#include <osg/Vec3>
#include <osgUtil/CullVisitor>
#include <array>
#include <memory>
#include <components/shader/shadermanager.hpp>
#include "types.hpp"
namespace osg
{
class FrameBufferObject... | 6,599 | C++ | .h | 155 | 35.032258 | 119 | 0.694158 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,661 | frustum.hpp | OpenMW_openmw/components/stereo/frustum.hpp | #ifndef STEREO_FRUSTUM_H
#define STEREO_FRUSTUM_H
#include <osg/BoundingBox>
#include <osg/Camera>
#include <osg/Matrix>
#include <osg/StateSet>
#include <osg/Vec3>
#include <array>
#include <map>
#include <memory>
namespace osg
{
class FrameBufferObject;
class Texture2D;
class Texture2DMultisample;
... | 1,654 | C++ | .h | 55 | 25.581818 | 116 | 0.744788 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,662 | multiview.hpp | OpenMW_openmw/components/stereo/multiview.hpp | #ifndef STEREO_MULTIVIEW_H
#define STEREO_MULTIVIEW_H
#include <osg/Camera>
#include <osg/FrameBufferObject>
#include <osg/GL>
#include <osg/ref_ptr>
#include <array>
#include <memory>
namespace osg
{
class FrameBufferObject;
class Texture;
class Texture2D;
class Texture2DArray;
}
namespace osgUtil
... | 6,256 | C++ | .h | 124 | 43.943548 | 119 | 0.729539 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,663 | flags.hpp | OpenMW_openmw/components/detournavigator/flags.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_FLAGS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_FLAGS_H
namespace DetourNavigator
{
using Flags = unsigned short;
enum Flag : Flags
{
Flag_none = 0,
Flag_walk = 1 << 0,
Flag_swim = 1 << 1,
Flag_openDoor = 1 << 2,
Flag_useP... | 355 | C++ | .h | 15 | 18.733333 | 49 | 0.626113 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,664 | changetype.hpp | OpenMW_openmw/components/detournavigator/changetype.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_CHANGETYPE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_CHANGETYPE_H
namespace DetourNavigator
{
enum class ChangeType
{
remove = 0,
add = 1,
update = 2,
};
}
#endif
| 245 | C++ | .h | 12 | 16.25 | 54 | 0.701299 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,665 | updateguard.hpp | OpenMW_openmw/components/detournavigator/updateguard.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_UPDATEGUARD_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_UPDATEGUARD_H
#include <memory>
#include <mutex>
namespace DetourNavigator
{
class UpdateGuard
{
public:
explicit UpdateGuard(std::mutex& mutex)
: mMutex(mutex)
{
}
pr... | 615 | C++ | .h | 24 | 20.333333 | 78 | 0.688356 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,666 | objecttransform.hpp | OpenMW_openmw/components/detournavigator/objecttransform.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_OBJECTTRANSFORM_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_OBJECTTRANSFORM_H
#include <components/esm/position.hpp>
#include <tuple>
namespace DetourNavigator
{
struct ObjectTransform
{
ESM::Position mPosition;
float mScale;
friend inline au... | 532 | C++ | .h | 15 | 31.133333 | 116 | 0.741683 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,667 | version.hpp | OpenMW_openmw/components/detournavigator/version.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_VERSION_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_VERSION_H
#include <cstddef>
#include <tuple>
namespace DetourNavigator
{
struct Version
{
std::size_t mGeneration = 0;
std::size_t mRevision = 0;
friend inline auto tie(const Version& value)... | 834 | C++ | .h | 18 | 41.111111 | 110 | 0.688119 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,668 | objectid.hpp | OpenMW_openmw/components/detournavigator/objectid.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_OBJECTID_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_OBJECTID_H
#include <cstddef>
#include <functional>
namespace DetourNavigator
{
class ObjectId
{
public:
template <class T>
explicit ObjectId(T* value) noexcept
: mValue(reinterpret_c... | 1,026 | C++ | .h | 34 | 24.323529 | 116 | 0.662258 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,669 | exceptions.hpp | OpenMW_openmw/components/detournavigator/exceptions.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_EXCEPTIONS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_EXCEPTIONS_H
#include <stdexcept>
namespace DetourNavigator
{
struct NavigatorException : std::runtime_error
{
NavigatorException(const std::string& message)
: std::runtime_error(message)
... | 754 | C++ | .h | 29 | 19.068966 | 54 | 0.628294 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,670 | recastmeshbuilder.hpp | OpenMW_openmw/components/detournavigator/recastmeshbuilder.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHBUILDER_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHBUILDER_H
#include "recastmesh.hpp"
#include "tilebounds.hpp"
#include <components/resource/bulletshape.hpp>
#include <osg/Vec3f>
#include <LinearMath/btTransform.h>
#include <array>
#include <memory>
... | 2,873 | C++ | .h | 59 | 42.525424 | 118 | 0.748297 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,671 | recastmeshprovider.hpp | OpenMW_openmw/components/detournavigator/recastmeshprovider.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHPROVIDER_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHPROVIDER_H
#include "recastmesh.hpp"
#include "tilecachedrecastmeshmanager.hpp"
#include "tileposition.hpp"
#include <functional>
#include <memory>
namespace DetourNavigator
{
class RecastMesh;
... | 767 | C++ | .h | 26 | 24.230769 | 106 | 0.731608 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,672 | recast.hpp | OpenMW_openmw/components/detournavigator/recast.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECAST_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECAST_H
#include <Recast.h>
#include <cstddef>
#include <type_traits>
namespace DetourNavigator
{
constexpr std::size_t getVertsLength(const rcPolyMesh& value) noexcept
{
return 3 * static_cast<std::size_t>(... | 1,969 | C++ | .h | 53 | 31.735849 | 81 | 0.708641 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,673 | settingsutils.hpp | OpenMW_openmw/components/detournavigator/settingsutils.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGSUTILS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGSUTILS_H
#include "settings.hpp"
#include "tilebounds.hpp"
#include "tileposition.hpp"
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <algorithm>
#include <cmath>
namespace DetourNavigator
{
inline flo... | 4,136 | C++ | .h | 97 | 36.42268 | 116 | 0.713219 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,674 | tilespositionsrange.hpp | OpenMW_openmw/components/detournavigator/tilespositionsrange.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_TILESPOSITIONSRANGE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_TILESPOSITIONSRANGE_H
#include "tileposition.hpp"
#include <tuple>
namespace DetourNavigator
{
struct TilesPositionsRange
{
TilePosition mBegin;
TilePosition mEnd;
};
inline auto... | 573 | C++ | .h | 21 | 22.761905 | 90 | 0.732601 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,675 | waitconditiontype.hpp | OpenMW_openmw/components/detournavigator/waitconditiontype.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_WAITCONDITIONTYPE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_WAITCONDITIONTYPE_H
namespace DetourNavigator
{
enum class WaitConditionType
{
requiredTilesPresent,
allJobsDone,
};
}
#endif
| 260 | C++ | .h | 11 | 19.909091 | 61 | 0.793522 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,676 | preparednavmeshdatatuple.hpp | OpenMW_openmw/components/detournavigator/preparednavmeshdatatuple.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_PREPAREDNAVMESHDATATUPLE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_PREPAREDNAVMESHDATATUPLE_H
#include "preparednavmeshdata.hpp"
#include "recast.hpp"
#include "ref.hpp"
#include <Recast.h>
#include <tuple>
inline bool operator==(const rcPolyMesh& lhs, const rcPolyMesh& r... | 1,548 | C++ | .h | 35 | 39.485714 | 115 | 0.716467 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,677 | cellgridbounds.hpp | OpenMW_openmw/components/detournavigator/cellgridbounds.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_CELLGRIDBOUNDS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_CELLGRIDBOUNDS_H
#include <osg/Vec2i>
namespace DetourNavigator
{
struct CellGridBounds
{
osg::Vec2i mCenter;
int mHalfSize;
};
}
#endif
| 269 | C++ | .h | 12 | 18.833333 | 58 | 0.767717 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,678 | debug.hpp | OpenMW_openmw/components/detournavigator/debug.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_DEBUG_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_DEBUG_H
#include "agentbounds.hpp"
#include "areatype.hpp"
#include "changetype.hpp"
#include "flags.hpp"
#include "recastmesh.hpp"
#include "status.hpp"
#include "tilebounds.hpp"
#include <DetourStatus.h>
#include <iosfwd>
#... | 2,181 | C++ | .h | 51 | 38.333333 | 110 | 0.723728 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,679 | tilecachedrecastmeshmanager.hpp | OpenMW_openmw/components/detournavigator/tilecachedrecastmeshmanager.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_TILECACHEDRECASTMESHMANAGER_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_TILECACHEDRECASTMESHMANAGER_H
#include "areatype.hpp"
#include "changetype.hpp"
#include "commulativeaabb.hpp"
#include "gettilespositions.hpp"
#include "heightfieldshape.hpp"
#include "objectid.hpp"
#incl... | 6,347 | C++ | .h | 126 | 42.18254 | 118 | 0.710633 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,680 | navmeshdb.hpp | OpenMW_openmw/components/detournavigator/navmeshdb.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHDB_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHDB_H
#include "tileposition.hpp"
#include "tilespositionsrange.hpp"
#include <components/esm/refid.hpp>
#include <components/misc/strongtypedef.hpp>
#include <components/sqlite3/db.hpp>
#include <components/sqlite3/... | 6,606 | C++ | .h | 150 | 35.246667 | 117 | 0.665524 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,681 | serialization.hpp | OpenMW_openmw/components/detournavigator/serialization.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SERIALIZATION_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SERIALIZATION_H
#include <cstddef>
#include <cstdint>
#include <vector>
namespace DetourNavigator
{
class RecastMesh;
struct DbRefGeometryObject;
struct PreparedNavMeshData;
struct RecastSettings;
s... | 960 | C++ | .h | 22 | 39.727273 | 100 | 0.758065 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,682 | preparednavmeshdata.hpp | OpenMW_openmw/components/detournavigator/preparednavmeshdata.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_PREPAREDNAVMESHDATA_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_PREPAREDNAVMESHDATA_H
#include "recast.hpp"
#include <Recast.h>
#include <cstddef>
namespace DetourNavigator
{
struct PreparedNavMeshData
{
unsigned int mUserId = 0;
float mCellSize = 0;... | 1,568 | C++ | .h | 37 | 35.972973 | 108 | 0.717577 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,683 | navigatorutils.hpp | OpenMW_openmw/components/detournavigator/navigatorutils.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATORUTILS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATORUTILS_H
#include "findsmoothpath.hpp"
#include "flags.hpp"
#include "navigator.hpp"
#include "navmeshcacheitem.hpp"
#include "settings.hpp"
#include <components/misc/guarded.hpp>
#include <iterator>
#include... | 3,828 | C++ | .h | 69 | 49.73913 | 117 | 0.740069 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,684 | navmeshtilescache.hpp | OpenMW_openmw/components/detournavigator/navmeshtilescache.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHTILESCACHE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHTILESCACHE_H
#include "agentbounds.hpp"
#include "preparednavmeshdata.hpp"
#include "recastmesh.hpp"
#include "tileposition.hpp"
#include <atomic>
#include <cassert>
#include <cstring>
#include <list>
#inclu... | 4,627 | C++ | .h | 124 | 27.153226 | 115 | 0.610154 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,685 | navmeshdata.hpp | OpenMW_openmw/components/detournavigator/navmeshdata.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHDATA_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHDATA_H
#include <DetourAlloc.h>
#include <memory>
namespace DetourNavigator
{
struct NavMeshDataValueDeleter
{
void operator()(unsigned char* value) const { dtFree(value); }
};
using NavM... | 656 | C++ | .h | 24 | 21.5 | 85 | 0.676282 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,686 | recastallocutils.hpp | OpenMW_openmw/components/detournavigator/recastallocutils.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTALLOCUTILS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTALLOCUTILS_H
#include <cstddef>
namespace DetourNavigator
{
static_assert(sizeof(std::size_t) == sizeof(void*), "");
enum BufferType : std::size_t
{
BufferType_perm,
BufferType_tem... | 2,045 | C++ | .h | 70 | 23.371429 | 85 | 0.658487 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,687 | makenavmesh.hpp | OpenMW_openmw/components/detournavigator/makenavmesh.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
#include "recastmesh.hpp"
#include "tileposition.hpp"
#include <components/esm/refid.hpp>
#include <memory>
#include <vector>
class dtNavMesh;
struct rcConfig;
namespace DetourNavigator
{
struct Sett... | 1,916 | C++ | .h | 44 | 38.5 | 116 | 0.754575 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,688 | navmeshmanager.hpp | OpenMW_openmw/components/detournavigator/navmeshmanager.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHMANAGER_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHMANAGER_H
#include "agentbounds.hpp"
#include "asyncnavmeshupdater.hpp"
#include "cellgridbounds.hpp"
#include "heightfieldshape.hpp"
#include "offmeshconnectionsmanager.hpp"
#include "recastmeshtiles.hpp"
#incl... | 3,257 | C++ | .h | 61 | 46.098361 | 115 | 0.746843 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,689 | navmeshdbutils.hpp | OpenMW_openmw/components/detournavigator/navmeshdbutils.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHDBUTILS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHDBUTILS_H
#include "navmeshdb.hpp"
#include <optional>
namespace DetourNavigator
{
struct MeshSource;
ShapeId resolveMeshSource(NavMeshDb& db, const MeshSource& source, ShapeId& nextShapeId);
std... | 410 | C++ | .h | 11 | 34.636364 | 93 | 0.824427 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,690 | ref.hpp | OpenMW_openmw/components/detournavigator/ref.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_REF_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_REF_H
#include <algorithm>
#include <cassert>
#include <iterator>
namespace DetourNavigator
{
template <typename T>
struct Ref
{
T& mRef;
constexpr explicit Ref(T& ref) noexcept
: mRef(re... | 1,394 | C++ | .h | 49 | 21.020408 | 95 | 0.574963 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,691 | navigatorimpl.hpp | OpenMW_openmw/components/detournavigator/navigatorimpl.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATORIMPL_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATORIMPL_H
#include "navigator.hpp"
#include "navmeshmanager.hpp"
#include "updateguard.hpp"
#include <map>
#include <memory>
#include <optional>
#include <unordered_map>
namespace DetourNavigator
{
class Nav... | 3,853 | C++ | .h | 65 | 51.138462 | 116 | 0.736618 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,692 | recastparams.hpp | OpenMW_openmw/components/detournavigator/recastparams.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTPARAMS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTPARAMS_H
#include "agentbounds.hpp"
#include <osg/Vec3f>
#include <algorithm>
#include <cassert>
#include <cmath>
namespace DetourNavigator
{
inline float getAgentHeight(const AgentBounds& agentBounds)
{... | 995 | C++ | .h | 29 | 27.724138 | 107 | 0.688542 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,693 | sharednavmeshcacheitem.hpp | OpenMW_openmw/components/detournavigator/sharednavmeshcacheitem.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SHAREDNAVMESHCACHEITEM_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SHAREDNAVMESHCACHEITEM_H
#include "guardednavmeshcacheitem.hpp"
#include <memory>
namespace DetourNavigator
{
using SharedNavMeshCacheItem = std::shared_ptr<GuardedNavMeshCacheItem>;
}
#endif
| 309 | C++ | .h | 9 | 32.444444 | 76 | 0.868243 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,694 | navigatorstub.hpp | OpenMW_openmw/components/detournavigator/navigatorstub.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATORSTUB_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATORSTUB_H
#include "navigator.hpp"
#include "settings.hpp"
#include "stats.hpp"
#include "updateguard.hpp"
namespace Loading
{
class Listener;
}
namespace DetourNavigator
{
class NavigatorStub final : pu... | 3,328 | C++ | .h | 69 | 40.217391 | 117 | 0.660477 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,695 | generatenavmeshtile.hpp | OpenMW_openmw/components/detournavigator/generatenavmeshtile.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_GENERATENAVMESHTILE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_GENERATENAVMESHTILE_H
#include "agentbounds.hpp"
#include "recastmeshprovider.hpp"
#include "tileposition.hpp"
#include <components/sceneutil/workqueue.hpp>
#include <cstdint>
#include <memory>
#include <optiona... | 2,368 | C++ | .h | 59 | 33.474576 | 112 | 0.715845 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,696 | navmeshtileview.hpp | OpenMW_openmw/components/detournavigator/navmeshtileview.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHTILEVIEW_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHTILEVIEW_H
struct dtMeshHeader;
struct dtPoly;
struct dtPolyDetail;
struct dtBVNode;
struct dtOffMeshConnection;
struct dtMeshTile;
namespace DetourNavigator
{
struct NavMeshTileConstView
{
con... | 882 | C++ | .h | 26 | 29.192308 | 106 | 0.779083 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,697 | findsmoothpath.hpp | OpenMW_openmw/components/detournavigator/findsmoothpath.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDSMOOTHPATH_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDSMOOTHPATH_H
#include "areatype.hpp"
#include "flags.hpp"
#include "settings.hpp"
#include "settingsutils.hpp"
#include "status.hpp"
#include <DetourCommon.h>
#include <DetourNavMesh.h>
#include <DetourNavMeshQuer... | 6,404 | C++ | .h | 132 | 39.969697 | 120 | 0.684337 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,698 | navigator.hpp | OpenMW_openmw/components/detournavigator/navigator.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATOR_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVIGATOR_H
#include <cassert>
#include <filesystem>
#include <optional>
#include "cellgridbounds.hpp"
#include "heightfieldshape.hpp"
#include "objectid.hpp"
#include "objecttransform.hpp"
#include "recastmeshtiles.hpp"
#... | 8,275 | C++ | .h | 170 | 40.394118 | 120 | 0.684439 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,699 | offmeshconnection.hpp | OpenMW_openmw/components/detournavigator/offmeshconnection.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_OFFMESHCONNECTION_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_OFFMESHCONNECTION_H
#include "areatype.hpp"
#include <osg/Vec3f>
#include <tuple>
#include <vector>
namespace DetourNavigator
{
struct OffMeshConnection
{
osg::Vec3f mStart;
osg::Vec3f mEn... | 577 | C++ | .h | 20 | 24.75 | 109 | 0.735027 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,700 | findrandompointaroundcircle.hpp | OpenMW_openmw/components/detournavigator/findrandompointaroundcircle.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDRANDOMPOINTAROUNDCIRCLE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDRANDOMPOINTAROUNDCIRCLE_H
#include "flags.hpp"
#include <osg/Vec3f>
#include <optional>
class dtNavMeshQuery;
namespace DetourNavigator
{
struct DetourSettings;
std::optional<osg::Vec3f> f... | 532 | C++ | .h | 14 | 34.785714 | 112 | 0.806262 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,701 | navmeshcacheitem.hpp | OpenMW_openmw/components/detournavigator/navmeshcacheitem.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHCACHEITEM_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHCACHEITEM_H
#include "navmeshdata.hpp"
#include "navmeshtilescache.hpp"
#include "tileposition.hpp"
#include "version.hpp"
#include <DetourNavMesh.h>
#include <DetourNavMeshQuery.h>
#include <iosfwd>
#includ... | 4,437 | C++ | .h | 127 | 25.811024 | 119 | 0.626695 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,702 | recastmesh.hpp | OpenMW_openmw/components/detournavigator/recastmesh.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESH_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESH_H
#include "areatype.hpp"
#include "objecttransform.hpp"
#include "version.hpp"
#include <components/resource/bulletshape.hpp>
#include <osg/Vec2i>
#include <osg/Vec3f>
#include <cstdint>
#include <memory>
#i... | 5,425 | C++ | .h | 136 | 32.514706 | 116 | 0.654241 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,703 | tileposition.hpp | OpenMW_openmw/components/detournavigator/tileposition.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_TILEPOSITION_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_TILEPOSITION_H
#include <osg/Vec2i>
namespace DetourNavigator
{
using TilePosition = osg::Vec2i;
}
#endif
| 212 | C++ | .h | 8 | 24.625 | 56 | 0.840796 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,704 | recasttempallocator.hpp | OpenMW_openmw/components/detournavigator/recasttempallocator.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTTEMPALLOCATOR_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTTEMPALLOCATOR_H
#include "recastallocutils.hpp"
#include <RecastAlloc.h>
#include <cassert>
#include <memory>
#include <vector>
namespace DetourNavigator
{
class RecastTempAllocator
{
public:
... | 1,907 | C++ | .h | 57 | 23.807018 | 118 | 0.569799 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,705 | recastmeshobject.hpp | OpenMW_openmw/components/detournavigator/recastmeshobject.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHOBJECT_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHOBJECT_H
#include "areatype.hpp"
#include "objecttransform.hpp"
#include <components/resource/bulletshape.hpp>
#include <LinearMath/btTransform.h>
#include <osg/ref_ptr>
#include <functional>
#include <... | 2,762 | C++ | .h | 63 | 37.063492 | 120 | 0.725607 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,706 | bounds.hpp | OpenMW_openmw/components/detournavigator/bounds.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_BOUNDS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_BOUNDS_H
#include <osg/Vec3f>
namespace DetourNavigator
{
struct Bounds
{
osg::Vec3f mMin;
osg::Vec3f mMax;
};
inline bool isEmpty(const Bounds& value)
{
return value.mMin == value... | 343 | C++ | .h | 16 | 17.1875 | 50 | 0.696594 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,707 | status.hpp | OpenMW_openmw/components/detournavigator/status.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_STATUS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_STATUS_H
namespace DetourNavigator
{
enum class Status
{
Success,
PartialPath,
NavMeshNotFound,
StartPolygonNotFound,
EndPolygonNotFound,
TargetPolygonNotFound,
M... | 1,668 | C++ | .h | 46 | 26.152174 | 77 | 0.630636 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,708 | settings.hpp | OpenMW_openmw/components/detournavigator/settings.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#include <chrono>
#include <string>
namespace DetourNavigator
{
struct RecastSettings
{
float mCellHeight = 0;
float mCellSize = 0;
float mDetailSampleDist = 0;
float mDeta... | 1,779 | C++ | .h | 54 | 25.814815 | 59 | 0.675786 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,709 | dbrefgeometryobject.hpp | OpenMW_openmw/components/detournavigator/dbrefgeometryobject.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_DBREFGEOMETRYOBJECT_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_DBREFGEOMETRYOBJECT_H
#include "objecttransform.hpp"
#include "recastmesh.hpp"
#include <components/misc/typetraits.hpp>
#include <algorithm>
#include <cstdint>
#include <optional>
#include <tuple>
#include <typ... | 1,895 | C++ | .h | 49 | 31.387755 | 113 | 0.682807 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,710 | asyncnavmeshupdater.hpp | OpenMW_openmw/components/detournavigator/asyncnavmeshupdater.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_ASYNCNAVMESHUPDATER_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_ASYNCNAVMESHUPDATER_H
#include "agentbounds.hpp"
#include "changetype.hpp"
#include "guardednavmeshcacheitem.hpp"
#include "navmeshcacheitem.hpp"
#include "navmeshdb.hpp"
#include "navmeshtilescache.hpp"
#include ... | 8,133 | C++ | .h | 201 | 32.985075 | 115 | 0.690821 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,711 | recastcontext.hpp | OpenMW_openmw/components/detournavigator/recastcontext.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTCONTEXT_H
#include "tileposition.hpp"
#include <components/esm/refid.hpp>
#include <string>
#include <Recast.h>
namespace DetourNavigator
{
struct AgentBounds;
class RecastContext final : public rcCon... | 670 | C++ | .h | 20 | 29.2 | 120 | 0.75625 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,712 | collisionshapetype.hpp | OpenMW_openmw/components/detournavigator/collisionshapetype.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_COLLISIONSHAPETYPE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_COLLISIONSHAPETYPE_H
#include <cstdint>
namespace DetourNavigator
{
enum class CollisionShapeType : std::uint8_t
{
Aabb = 0,
RotatingBox = 1,
Cylinder = 2,
};
CollisionShap... | 369 | C++ | .h | 14 | 22.214286 | 62 | 0.749288 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,713 | areatype.hpp | OpenMW_openmw/components/detournavigator/areatype.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_AREATYPE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_AREATYPE_H
#include <Recast.h>
namespace DetourNavigator
{
enum AreaType : unsigned char
{
AreaType_null = RC_NULL_AREA,
AreaType_water,
AreaType_door,
AreaType_pathgrid,
Area... | 523 | C++ | .h | 22 | 18.227273 | 52 | 0.651911 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,714 | guardednavmeshcacheitem.hpp | OpenMW_openmw/components/detournavigator/guardednavmeshcacheitem.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_GUARDEDNAVMESHCACHEITEM_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_GUARDEDNAVMESHCACHEITEM_H
namespace Misc
{
template <class T>
class ScopeGuarded;
}
namespace DetourNavigator
{
class NavMeshCacheItem;
using GuardedNavMeshCacheItem = Misc::ScopeGuarded<NavM... | 345 | C++ | .h | 13 | 24 | 73 | 0.841463 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,715 | tilebounds.hpp | OpenMW_openmw/components/detournavigator/tilebounds.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_TILEBOUNDS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_TILEBOUNDS_H
#include <components/misc/convert.hpp>
#include <osg/Vec2f>
#include <osg/Vec2i>
#include <BulletCollision/CollisionShapes/btCollisionShape.h>
#include <LinearMath/btTransform.h>
#include <algorithm>
#inclu... | 2,084 | C++ | .h | 59 | 29.423729 | 103 | 0.659046 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,716 | stats.hpp | OpenMW_openmw/components/detournavigator/stats.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_STATS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_STATS_H
#include <cstddef>
#include <optional>
namespace osg
{
class Stats;
}
namespace DetourNavigator
{
struct JobQueueStats
{
std::size_t mRemoving = 0;
std::size_t mUpdating = 0;
std::s... | 1,541 | C++ | .h | 59 | 19.983051 | 84 | 0.636982 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,717 | gettilespositions.hpp | OpenMW_openmw/components/detournavigator/gettilespositions.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_GETTILESPOSITIONS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_GETTILESPOSITIONS_H
#include "tilebounds.hpp"
#include "tileposition.hpp"
#include "tilespositionsrange.hpp"
class btVector3;
class btTransform;
class btCollisionShape;
namespace osg
{
class Vec2f;
}
namespac... | 1,982 | C++ | .h | 43 | 40.860465 | 109 | 0.757403 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,718 | offmeshconnectionsmanager.hpp | OpenMW_openmw/components/detournavigator/offmeshconnectionsmanager.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_OFFMESHCONNECTIONSMANAGER_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_OFFMESHCONNECTIONSMANAGER_H
#include "objectid.hpp"
#include "offmeshconnection.hpp"
#include "settings.hpp"
#include "tileposition.hpp"
#include <components/misc/guarded.hpp>
#include <map>
#include <set>... | 1,041 | C++ | .h | 31 | 28.516129 | 83 | 0.743 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,719 | raycast.hpp | OpenMW_openmw/components/detournavigator/raycast.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
#include "flags.hpp"
#include <optional>
#include <osg/Vec3f>
class dtNavMeshQuery;
namespace DetourNavigator
{
struct DetourSettings;
std::optional<osg::Vec3f> raycast(const dtNavMeshQuery& navMeshQuery... | 446 | C++ | .h | 13 | 31.615385 | 104 | 0.796253 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,720 | agentbounds.hpp | OpenMW_openmw/components/detournavigator/agentbounds.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_AGENTBOUNDS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_AGENTBOUNDS_H
#include "collisionshapetype.hpp"
#include <osg/Vec3f>
#include <tuple>
namespace DetourNavigator
{
struct AgentBounds
{
CollisionShapeType mShapeType;
osg::Vec3f mHalfExtents;
... | 704 | C++ | .h | 26 | 22.384615 | 74 | 0.70597 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,721 | commulativeaabb.hpp | OpenMW_openmw/components/detournavigator/commulativeaabb.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H
#include <BulletCollision/Gimpact/btBoxCollision.h>
#include <cstddef>
namespace DetourNavigator
{
class CommulativeAabb
{
public:
explicit CommulativeAabb(std::size_t lastChang... | 520 | C++ | .h | 17 | 26.176471 | 85 | 0.762575 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,722 | recastglobalallocator.hpp | OpenMW_openmw/components/detournavigator/recastglobalallocator.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTGLOBALALLOCATOR_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTGLOBALALLOCATOR_H
#include "recasttempallocator.hpp"
#include <DetourAlloc.h>
#include <RecastAlloc.h>
#include <cstdlib>
namespace DetourNavigator
{
class RecastGlobalAllocator
{
public:
... | 2,177 | C++ | .h | 62 | 25.387097 | 110 | 0.602759 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,723 | heightfieldshape.hpp | OpenMW_openmw/components/detournavigator/heightfieldshape.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_HEIGHFIELDSHAPE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_HEIGHFIELDSHAPE_H
#include <components/bullethelpers/heightfield.hpp>
#include <osg/Vec2i>
#include <cstddef>
#include <variant>
namespace DetourNavigator
{
struct HeightfieldPlane
{
float mHeight;
... | 1,322 | C++ | .h | 35 | 32.485714 | 118 | 0.733751 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,724 | recastmeshtiles.hpp | OpenMW_openmw/components/detournavigator/recastmeshtiles.hpp | #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHTILE_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RECASTMESHTILE_H
#include "tileposition.hpp"
#include <map>
#include <memory>
namespace DetourNavigator
{
class RecastMesh;
using RecastMeshTiles = std::map<TilePosition, std::shared_ptr<RecastMesh>>;
}
#en... | 324 | C++ | .h | 11 | 27.272727 | 80 | 0.821429 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,725 | compositemaprenderer.hpp | OpenMW_openmw/components/terrain/compositemaprenderer.hpp | #ifndef OPENMW_COMPONENTS_TERRAIN_COMPOSITEMAPRENDERER_H
#define OPENMW_COMPONENTS_TERRAIN_COMPOSITEMAPRENDERER_H
#include <osg/Drawable>
#include <mutex>
#include <set>
namespace osg
{
class FrameBufferObject;
class RenderInfo;
class Texture2D;
}
namespace Terrain
{
class CompositeMap : public osg... | 1,992 | C++ | .h | 54 | 30.425926 | 119 | 0.705422 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,726 | texturemanager.hpp | OpenMW_openmw/components/terrain/texturemanager.hpp | #ifndef OPENMW_COMPONENTS_TERRAIN_TEXTUREMANAGER_H
#define OPENMW_COMPONENTS_TERRAIN_TEXTUREMANAGER_H
#include <components/resource/resourcemanager.hpp>
#include <components/vfs/pathutil.hpp>
namespace Resource
{
class SceneManager;
}
namespace osg
{
class Texture2D;
}
namespace Terrain
{
class Texture... | 756 | C++ | .h | 26 | 25.038462 | 86 | 0.763561 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,727 | view.hpp | OpenMW_openmw/components/terrain/view.hpp | #ifndef COMPONENTS_TERRAIN_VIEW_H
#define COMPONENTS_TERRAIN_VIEW_H
#include <osg/Referenced>
namespace Terrain
{
/**
* @brief A View is a collection of rendering objects that are visible from a given camera/intersection.
* The base View class is part of the interface for usage in conjunction with prelo... | 598 | C++ | .h | 18 | 28.666667 | 119 | 0.706087 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,728 | defs.hpp | OpenMW_openmw/components/terrain/defs.hpp | #ifndef COMPONENTS_TERRAIN_DEFS_HPP
#define COMPONENTS_TERRAIN_DEFS_HPP
#include <components/vfs/pathutil.hpp>
namespace Terrain
{
enum Direction
{
North = 0,
East = 1,
South = 2,
West = 3
};
struct LayerInfo
{
VFS::Path::Normalized mDiffuseMap;
VF... | 592 | C++ | .h | 22 | 21.227273 | 81 | 0.650089 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,729 | terraindrawable.hpp | OpenMW_openmw/components/terrain/terraindrawable.hpp | #ifndef OPENMW_COMPONENTS_TERRAIN_DRAWABLE_H
#define OPENMW_COMPONENTS_TERRAIN_DRAWABLE_H
#include <osg/Geometry>
namespace osg
{
class ClusterCullingCallback;
}
namespace osgUtil
{
class CullVisitor;
}
namespace SceneUtil
{
class LightListCallback;
}
namespace Terrain
{
class CompositeMap;
cl... | 2,529 | C++ | .h | 59 | 36.474576 | 115 | 0.720408 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,730 | storage.hpp | OpenMW_openmw/components/terrain/storage.hpp | #ifndef COMPONENTS_TERRAIN_STORAGE_H
#define COMPONENTS_TERRAIN_STORAGE_H
#include <vector>
#include <osg/Array>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <osg/ref_ptr>
#include <components/esm/exteriorcelllocation.hpp>
#include <components/esm/refid.hpp>
#include "defs.hpp"
namespace osg
{
class Imag... | 4,355 | C++ | .h | 79 | 47.531646 | 119 | 0.680207 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,731 | world.hpp | OpenMW_openmw/components/terrain/world.hpp | #ifndef COMPONENTS_TERRAIN_WORLD_H
#define COMPONENTS_TERRAIN_WORLD_H
#include <osg/Referenced>
#include <osg/Vec3f>
#include <osg/ref_ptr>
#include <memory>
#include <set>
#include <components/esm/refid.hpp>
#include "cellborder.hpp"
namespace osg
{
class Group;
class Stats;
}
namespace Resource
{
cl... | 4,148 | C++ | .h | 101 | 34.029703 | 110 | 0.678643 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,732 | viewdata.hpp | OpenMW_openmw/components/terrain/viewdata.hpp | #ifndef OPENMW_COMPONENTS_TERRAIN_VIEWDATA_H
#define OPENMW_COMPONENTS_TERRAIN_VIEWDATA_H
#include <deque>
#include <vector>
#include <osg/Node>
#include "view.hpp"
namespace Terrain
{
class QuadTreeNode;
struct ViewDataEntry
{
ViewDataEntry();
bool set(QuadTreeNode* node);
Q... | 3,962 | C++ | .h | 97 | 31.752577 | 120 | 0.649334 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,733 | chunkmanager.hpp | OpenMW_openmw/components/terrain/chunkmanager.hpp | #ifndef OPENMW_COMPONENTS_TERRAIN_CHUNKMANAGER_H
#define OPENMW_COMPONENTS_TERRAIN_CHUNKMANAGER_H
#include <tuple>
#include <components/resource/resourcemanager.hpp>
#include "buffercache.hpp"
#include "quadtreeworld.hpp"
namespace osg
{
class Group;
class Texture2D;
}
namespace Resource
{
class SceneM... | 3,578 | C++ | .h | 94 | 31.489362 | 120 | 0.696118 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,734 | buffercache.hpp | OpenMW_openmw/components/terrain/buffercache.hpp | #ifndef COMPONENTS_TERRAIN_BUFFERCACHE_H
#define COMPONENTS_TERRAIN_BUFFERCACHE_H
#include <osg/Array>
#include <osg/PrimitiveSet>
#include <osg/ref_ptr>
#include <map>
#include <mutex>
namespace Terrain
{
/// @brief Implements creation and caching of vertex buffers for terrain chunks.
class BufferCache
... | 1,291 | C++ | .h | 31 | 35.903226 | 109 | 0.68695 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,735 | cellborder.hpp | OpenMW_openmw/components/terrain/cellborder.hpp | #ifndef GAME_RENDER_CELLBORDER
#define GAME_RENDER_CELLBORDER
#include <map>
#include <osg/Group>
#include <components/esm/refid.hpp>
namespace Resource
{
class SceneManager;
}
namespace Terrain
{
class Storage;
class World;
/**
* @Brief Handles the debug cell borders.
*/
class CellBo... | 1,225 | C++ | .h | 39 | 25.384615 | 114 | 0.663543 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,736 | heightcull.hpp | OpenMW_openmw/components/terrain/heightcull.hpp | #ifndef COMPONENTS_TERRAIN_HEIGHTCULL_H
#define COMPONENTS_TERRAIN_HEIGHTCULL_H
#include <osg/Referenced>
#include <limits>
#include <components/sceneutil/nodecallback.hpp>
namespace osg
{
class Node;
class NodeVisitor;
}
namespace Terrain
{
class HeightCullCallback : public SceneUtil::NodeCallback<Hei... | 1,014 | C++ | .h | 33 | 24.787879 | 81 | 0.64433 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,737 | quadtreeworld.hpp | OpenMW_openmw/components/terrain/quadtreeworld.hpp | #ifndef COMPONENTS_TERRAIN_QUADTREEWORLD_H
#define COMPONENTS_TERRAIN_QUADTREEWORLD_H
#include "terraingrid.hpp"
#include <atomic>
#include <memory>
#include <mutex>
#include <components/esm/refid.hpp>
namespace osg
{
class NodeVisitor;
class Group;
class Stats;
}
namespace Terrain
{
class RootNode... | 3,624 | C++ | .h | 87 | 33 | 115 | 0.66192 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,738 | terraingrid.hpp | OpenMW_openmw/components/terrain/terraingrid.hpp | #ifndef COMPONENTS_TERRAIN_TERRAINGRID_H
#define COMPONENTS_TERRAIN_TERRAINGRID_H
#include <map>
#include <osg/Vec2f>
#include "world.hpp"
namespace osg
{
class Group;
class Stats;
}
namespace Resource
{
class ResourceSystem;
}
namespace Terrain
{
class Storage;
/// @brief Simple terrain impl... | 1,557 | C++ | .h | 43 | 30.465116 | 118 | 0.691589 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,739 | quadtreenode.hpp | OpenMW_openmw/components/terrain/quadtreenode.hpp | #ifndef OPENMW_COMPONENTS_TERRAIN_QUADTREENODE_H
#define OPENMW_COMPONENTS_TERRAIN_QUADTREENODE_H
#include <osg/Group>
#include "defs.hpp"
namespace Terrain
{
enum ChildDirection
{
NW = 0,
NE = 1,
SW = 2,
SE = 3,
Root
};
class QuadTreeNode;
class LodCallb... | 2,770 | C++ | .h | 73 | 29.863014 | 112 | 0.647829 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,740 | material.hpp | OpenMW_openmw/components/terrain/material.hpp | #ifndef COMPONENTS_TERRAIN_MATERIAL_H
#define COMPONENTS_TERRAIN_MATERIAL_H
#include <osg/StateSet>
namespace osg
{
class Texture2D;
}
namespace Resource
{
class SceneManager;
}
namespace Terrain
{
struct TextureLayer
{
osg::ref_ptr<osg::Texture2D> mDiffuseMap;
osg::ref_ptr<osg::Tex... | 690 | C++ | .h | 25 | 23.4 | 112 | 0.722983 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.