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,942 | qtconversion.hpp | OpenMW_openmw/components/vfs/qtconversion.hpp | #ifndef COMPONENTS_VFS_QTCONVERSION_HPP
#define COMPONENTS_VFS_QTCONVERSION_HPP
#include <QString>
#include "pathutil.hpp"
namespace VFS::Path
{
QString normalizedToQString(NormalizedView path);
QString normalizedToQString(Normalized&& path);
Normalized normalizedFromQString(QStringView path);
Nor... | 412 | C++ | .h | 12 | 31.416667 | 55 | 0.816794 | 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,943 | archive.hpp | OpenMW_openmw/components/vfs/archive.hpp | #ifndef OPENMW_COMPONENTS_VFS_ARCHIVE_H
#define OPENMW_COMPONENTS_VFS_ARCHIVE_H
#include <string>
#include "filemap.hpp"
#include "pathutil.hpp"
namespace VFS
{
class Archive
{
public:
virtual ~Archive() = default;
/// List all resources contained in this archive.
virtual void li... | 567 | C++ | .h | 19 | 25.052632 | 71 | 0.696296 | 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,944 | registerarchives.hpp | OpenMW_openmw/components/vfs/registerarchives.hpp | #ifndef OPENMW_COMPONENTS_VFS_REGISTER_ARCHIVES_H
#define OPENMW_COMPONENTS_VFS_REGISTER_ARCHIVES_H
#include <components/files/collections.hpp>
namespace VFS
{
class Manager;
/// @brief Register BSA and file system archives based on the given OpenMW configuration.
void registerArchives(VFS::Manager* vfs,... | 441 | C++ | .h | 11 | 36.909091 | 93 | 0.78169 | 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,945 | controller.hpp | OpenMW_openmw/components/nifosg/controller.hpp | #ifndef COMPONENTS_NIFOSG_CONTROLLER_H
#define COMPONENTS_NIFOSG_CONTROLLER_H
#include <set>
#include <type_traits>
#include <osg/Texture2D>
#include <components/nif/controller.hpp>
#include <components/nif/data.hpp>
#include <components/nif/nifkey.hpp>
#include <components/sceneutil/keyframe.hpp>
#include <componen... | 14,124 | C++ | .h | 334 | 32.293413 | 118 | 0.628165 | 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,946 | fog.hpp | OpenMW_openmw/components/nifosg/fog.hpp | #ifndef OPENMW_COMPONENTS_NIFOSG_FOG_H
#define OPENMW_COMPONENTS_NIFOSG_FOG_H
#include <osg/Fog>
namespace NifOsg
{
// osg::Fog-based wrapper for NiFogProperty that autocalculates the fog start and end distance.
class Fog : public osg::Fog
{
public:
Fog();
Fog(const Fog& copy, const o... | 922 | C++ | .h | 28 | 25.571429 | 99 | 0.61991 | 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,947 | particle.hpp | OpenMW_openmw/components/nifosg/particle.hpp | #ifndef OPENMW_COMPONENTS_NIFOSG_PARTICLE_H
#define OPENMW_COMPONENTS_NIFOSG_PARTICLE_H
#include <optional>
#include <osgParticle/Counter>
#include <osgParticle/Emitter>
#include <osgParticle/Operator>
#include <osgParticle/Particle>
#include <osgParticle/Placer>
#include <osgParticle/Shooter>
#include <components/n... | 9,327 | C++ | .h | 218 | 35.330275 | 120 | 0.69697 | 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,948 | nifloader.hpp | OpenMW_openmw/components/nifosg/nifloader.hpp | #ifndef OPENMW_COMPONENTS_NIFOSG_LOADER
#define OPENMW_COMPONENTS_NIFOSG_LOADER
#include <components/nif/niffile.hpp>
#include <osg/ref_ptr>
namespace SceneUtil
{
class KeyframeHolder;
}
namespace osg
{
class Node;
}
namespace Resource
{
class ImageManager;
class BgsmFileManager;
}
namespace NifOs... | 2,306 | C++ | .h | 52 | 38.538462 | 120 | 0.717857 | 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,949 | matrixtransform.hpp | OpenMW_openmw/components/nifosg/matrixtransform.hpp | #ifndef OPENMW_COMPONENTS_NIFOSG_MATRIXTRANSFORM_H
#define OPENMW_COMPONENTS_NIFOSG_MATRIXTRANSFORM_H
#include <components/nif/niftypes.hpp>
#include <osg/MatrixTransform>
namespace NifOsg
{
class MatrixTransform : public osg::MatrixTransform
{
public:
MatrixTransform() = default;
Matrix... | 1,455 | C++ | .h | 30 | 41.866667 | 96 | 0.719633 | 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,950 | messageformatparser.hpp | OpenMW_openmw/components/misc/messageformatparser.hpp | #ifndef OPENMW_COMPONENTS_MISC_MESSAGEFORMATPARSER_H
#define OPENMW_COMPONENTS_MISC_MESSAGEFORMATPARSER_H
#include <string_view>
namespace Misc
{
class MessageFormatParser
{
protected:
enum Placeholder
{
StringPlaceholder,
IntegerPlaceholder,
FloatPlaceh... | 802 | C++ | .h | 30 | 18.966667 | 95 | 0.636601 | 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,951 | algorithm.hpp | OpenMW_openmw/components/misc/algorithm.hpp | #ifndef OPENMW_COMPONENTS_MISC_ALGORITHM_H
#define OPENMW_COMPONENTS_MISC_ALGORITHM_H
#include <iterator>
#include <type_traits>
#include <components/misc/strings/algorithm.hpp>
namespace Misc
{
template <typename Iterator, typename BinaryPredicate, typename Function>
inline Iterator forEachUnique(Iterator b... | 1,588 | C++ | .h | 48 | 24.375 | 118 | 0.588889 | 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,952 | progressreporter.hpp | OpenMW_openmw/components/misc/progressreporter.hpp | #ifndef OPENMW_COMPONENTS_MISC_PROGRESSREPORTER_H
#define OPENMW_COMPONENTS_MISC_PROGRESSREPORTER_H
#include <algorithm>
#include <chrono>
#include <mutex>
#include <type_traits>
#include <utility>
namespace Misc
{
template <class Report>
class ProgressReporter
{
public:
explicit ProgressRepor... | 1,628 | C++ | .h | 46 | 26.173913 | 114 | 0.583122 | 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,953 | timeconvert.hpp | OpenMW_openmw/components/misc/timeconvert.hpp | #ifndef OPENMW_COMPONENTS_MISC_TIMECONVERT_H
#define OPENMW_COMPONENTS_MISC_TIMECONVERT_H
#include <cerrno>
#include <chrono>
#include <cstring>
#include <ctime>
#include <filesystem>
#include <iomanip>
#include <sstream>
#include <string>
#include <system_error>
namespace Misc
{
inline std::time_t toTimeT(std::f... | 1,654 | C++ | .h | 45 | 31.622222 | 101 | 0.669994 | 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,954 | helpviewer.hpp | OpenMW_openmw/components/misc/helpviewer.hpp | #pragma once
namespace Misc
{
namespace HelpViewer
{
void openHelp(const char* url);
}
}
| 110 | C++ | .h | 8 | 10.125 | 39 | 0.653465 | 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,955 | constants.hpp | OpenMW_openmw/components/misc/constants.hpp | #ifndef OPENMW_CONSTANTS_H
#define OPENMW_CONSTANTS_H
#include <string>
namespace Constants
{
// The game uses 64 units per yard
constexpr float UnitsPerMeter = 69.99125109f;
constexpr float UnitsPerFoot = 21.33333333f;
// Sound speed in meters per second
constexpr float SoundSpeedInAir = 343.3f... | 1,608 | C++ | .h | 36 | 40.027778 | 102 | 0.735389 | 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,956 | timer.hpp | OpenMW_openmw/components/misc/timer.hpp | #ifndef OPENMW_COMPONENTS_MISC_TIMER_H
#define OPENMW_COMPONENTS_MISC_TIMER_H
#include "rng.hpp"
namespace Misc
{
enum class TimerStatus
{
Waiting,
Elapsed,
};
class DeviatingPeriodicTimer
{
public:
explicit DeviatingPeriodicTimer(float period, float deviation, float t... | 964 | C++ | .h | 37 | 17.918919 | 86 | 0.586507 | 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,957 | budgetmeasurement.hpp | OpenMW_openmw/components/misc/budgetmeasurement.hpp | #ifndef OPENMW_COMPONENTS_MISC_BUDGETMEASUREMENT_H
#define OPENMW_COMPONENTS_MISC_BUDGETMEASUREMENT_H
#include <array>
#include <cstddef>
namespace Misc
{
class BudgetMeasurement
{
std::array<float, 4> mBudgetHistory;
std::array<unsigned int, 4> mBudgetStepCount;
public:
BudgetMe... | 1,302 | C++ | .h | 36 | 27.916667 | 106 | 0.626094 | 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,958 | strongtypedef.hpp | OpenMW_openmw/components/misc/strongtypedef.hpp | #ifndef OPENMW_COMPONENTS_MISC_STRONGTYPEDEF_H
#define OPENMW_COMPONENTS_MISC_STRONGTYPEDEF_H
#include <utility>
namespace Misc
{
template <class T, class>
struct StrongTypedef
{
T mValue;
StrongTypedef() = default;
explicit StrongTypedef(const T& value)
: mValue(valu... | 812 | C++ | .h | 34 | 15.882353 | 52 | 0.542969 | 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,959 | utf8stream.hpp | OpenMW_openmw/components/misc/utf8stream.hpp | #ifndef MISC_UTF8ITER_HPP
#define MISC_UTF8ITER_HPP
#include <cstdint>
#include <cstring>
#include <string>
#include <string_view>
#include <tuple>
class Utf8Stream
{
public:
typedef uint32_t UnicodeChar;
typedef unsigned char const* Point;
// static const unicode_char sBadChar = 0xFFFFFFFF; gcc can't ha... | 5,227 | C++ | .h | 158 | 24.272152 | 107 | 0.54068 | 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,960 | windows.hpp | OpenMW_openmw/components/misc/windows.hpp | #ifndef OPENMW_COMPONENTS_WINDOWS_H
#define OPENMW_COMPONENTS_WINDOWS_H
#include <Windows.h>
#undef far
#undef near
#endif
| 126 | C++ | .h | 6 | 19.5 | 35 | 0.82906 | 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,961 | coordinateconverter.hpp | OpenMW_openmw/components/misc/coordinateconverter.hpp | #ifndef OPENMW_COMPONENTS_MISC_COORDINATECONVERTER_H
#define OPENMW_COMPONENTS_MISC_COORDINATECONVERTER_H
#include <components/esm/esmbridge.hpp>
#include <components/esm3/loadcell.hpp>
#include <components/esm3/loadpgrd.hpp>
#include <components/esm4/loadcell.hpp>
#include <components/misc/constants.hpp>
namespace M... | 2,751 | C++ | .h | 82 | 25.487805 | 107 | 0.619819 | 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,962 | color.hpp | OpenMW_openmw/components/misc/color.hpp | #ifndef COMPONENTS_MISC_COLOR
#define COMPONENTS_MISC_COLOR
#include <string>
namespace Misc
{
class Color
{
public:
Color(float r, float g, float b, float a);
float r() const { return mR; }
float g() const { return mG; }
float b() const { return mB; }
float a() co... | 661 | C++ | .h | 25 | 20.12 | 63 | 0.591707 | 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,963 | hash.hpp | OpenMW_openmw/components/misc/hash.hpp | #ifndef MISC_HASH_H
#define MISC_HASH_H
#include <cstddef>
#include <cstdint>
#include <functional>
namespace Misc
{
/// Implemented similar to the boost::hash_combine
template <class Seed, class T>
inline void hashCombine(Seed& seed, const T& v)
{
static_assert(sizeof(Seed) >= sizeof(std::siz... | 798 | C++ | .h | 23 | 30.391304 | 95 | 0.654994 | 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,964 | utf8qtextstream.hpp | OpenMW_openmw/components/misc/utf8qtextstream.hpp | #ifndef OPENMW_COMPONENTS_MISC_UTF8QTEXTSTREAM_HPP
#define OPENMW_COMPONENTS_MISC_UTF8QTEXTSTREAM_HPP
#include <QtGlobal>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <QTextCodec>
#endif
#include <QTextStream>
namespace Misc
{
inline void ensureUtf8Encoding(QTextStream& stream)
{
#if QT_VERSION < QT_V... | 482 | C++ | .h | 19 | 22.736842 | 59 | 0.756522 | 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,965 | tuplehelpers.hpp | OpenMW_openmw/components/misc/tuplehelpers.hpp | #ifndef OPENMW_COMPONENTS_MISC_TUPLEHELPERS_H
#define OPENMW_COMPONENTS_MISC_TUPLEHELPERS_H
#include <tuple>
namespace Misc
{
template <typename TupleType, typename Callable>
void tupleForEach(TupleType& tuple, Callable&& f)
{
std::apply([&f](auto&... x) { (f(x), ...); }, tuple);
}
}
#endif
| 319 | C++ | .h | 12 | 23.333333 | 61 | 0.6875 | 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,966 | typetraits.hpp | OpenMW_openmw/components/misc/typetraits.hpp | #ifndef OPENMW_COMPONENTS_MISC_TYPETRAITS_H
#define OPENMW_COMPONENTS_MISC_TYPETRAITS_H
#include <optional>
#include <type_traits>
namespace Misc
{
template <class T>
struct IsOptional : std::false_type
{
};
template <class T>
struct IsOptional<std::optional<T>> : std::true_type
{
};
... | 415 | C++ | .h | 18 | 19.555556 | 60 | 0.709184 | 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,967 | math.hpp | OpenMW_openmw/components/misc/math.hpp | #ifndef OPENMW_COMPONENTS_MISC_MATH_H
#define OPENMW_COMPONENTS_MISC_MATH_H
#include <osg/Vec3f>
namespace Misc
{
inline osg::Vec3f getVectorToLine(const osg::Vec3f& position, const osg::Vec3f& a, const osg::Vec3f& b)
{
osg::Vec3f direction = b - a;
direction.normalize();
return (posit... | 358 | C++ | .h | 13 | 23.538462 | 107 | 0.684211 | 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,968 | objectpool.hpp | OpenMW_openmw/components/misc/objectpool.hpp | #ifndef OPENMW_COMPONENTS_MISC_OBJECTPOOL_H
#define OPENMW_COMPONENTS_MISC_OBJECTPOOL_H
#include <deque>
#include <memory>
#include <vector>
namespace Misc
{
template <class T>
class ObjectPool;
template <class T>
class ObjectPtrDeleter
{
public:
ObjectPtrDeleter(std::nullptr_t)
... | 1,813 | C++ | .h | 70 | 17.514286 | 71 | 0.537659 | 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,969 | float16.hpp | OpenMW_openmw/components/misc/float16.hpp | #ifndef OPENMW_COMPONENTS_MISC_FLOAT16_HPP
#define OPENMW_COMPONENTS_MISC_FLOAT16_HPP
#include <cstdint>
namespace Misc
{
using float16_t = std::uint16_t;
}
#endif
| 171 | C++ | .h | 8 | 19.5 | 42 | 0.79375 | 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,970 | concepts.hpp | OpenMW_openmw/components/misc/concepts.hpp | #ifndef OPENMW_COMPONENTS_MISC_CONCEPTS_H
#define OPENMW_COMPONENTS_MISC_CONCEPTS_H
#include <concepts>
#include <type_traits>
namespace Misc
{
template <class T, class U>
concept SameAsWithoutCvref = std::same_as<std::remove_cvref_t<T>, std::remove_cvref_t<U>>;
}
#endif
| 283 | C++ | .h | 10 | 26.2 | 94 | 0.762963 | 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,971 | osguservalues.hpp | OpenMW_openmw/components/misc/osguservalues.hpp | #ifndef OPENMW_COMPONENTS_MISC_OSGUSERVALUES_H
#define OPENMW_COMPONENTS_MISC_OSGUSERVALUES_H
#include <string>
namespace Misc
{
struct OsgUserValues
{
static const std::string sFileHash;
static const std::string sExtraData;
static const std::string sXSoftEffect;
};
}
#endif
| 315 | C++ | .h | 13 | 20.230769 | 46 | 0.73913 | 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,972 | notnullptr.hpp | OpenMW_openmw/components/misc/notnullptr.hpp | #ifndef OPENMW_COMPONENTS_MISC_NOTNULLPTR_H
#define OPENMW_COMPONENTS_MISC_NOTNULLPTR_H
#include <cassert>
#include <cstddef>
#include <type_traits>
namespace Misc
{
template <class T>
class NotNullPtr
{
public:
constexpr NotNullPtr(T* value) noexcept
: mValue(value)
{
... | 666 | C++ | .h | 25 | 20.84 | 67 | 0.63981 | 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,973 | tuplemeta.hpp | OpenMW_openmw/components/misc/tuplemeta.hpp | #ifndef OPENMW_COMPONENTS_MISC_META_H
#define OPENMW_COMPONENTS_MISC_META_H
#include <cstddef>
#include <tuple>
#include <type_traits>
namespace Misc
{
template <class T, class Tuple>
struct TupleHasType;
template <class T, class... Args>
struct TupleHasType<T, std::tuple<Args...>>
{
stat... | 829 | C++ | .h | 28 | 25.214286 | 96 | 0.651134 | 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,974 | mathutil.hpp | OpenMW_openmw/components/misc/mathutil.hpp | #ifndef MISC_MATHUTIL_H
#define MISC_MATHUTIL_H
#include <osg/Math>
#include <osg/Matrixf>
#include <osg/Quat>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cmath>
#include <type_traits>
namespace Misc
{
/// Normalizes given angle to the range [-PI, PI]. E.g. PI*3/2 -> -PI/2.
inline double normalizeAng... | 2,719 | C++ | .h | 86 | 25.069767 | 112 | 0.563359 | 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,975 | osgpluginchecker.hpp | OpenMW_openmw/components/misc/osgpluginchecker.hpp | #ifndef OPENMW_COMPONENTS_MISC_OSGPLUGINCHECKER_HPP
#define OPENMW_COMPONENTS_MISC_OSGPLUGINCHECKER_HPP
namespace Misc
{
bool checkRequiredOSGPluginsArePresent();
}
#endif
| 178 | C++ | .h | 7 | 23.571429 | 51 | 0.857988 | 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,976 | pathhelpers.hpp | OpenMW_openmw/components/misc/pathhelpers.hpp | #ifndef OPENMW_COMPONENTS_MISC_PATHHELPERS_H
#define OPENMW_COMPONENTS_MISC_PATHHELPERS_H
#include <string_view>
namespace Misc
{
inline constexpr std::size_t findExtension(std::string_view file) noexcept
{
return file.find_last_of('.');
}
inline constexpr std::string_view getFileExtension(st... | 1,138 | C++ | .h | 37 | 23.891892 | 87 | 0.613553 | 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,977 | resourcehelpers.hpp | OpenMW_openmw/components/misc/resourcehelpers.hpp | #ifndef MISC_RESOURCEHELPERS_H
#define MISC_RESOURCEHELPERS_H
#include <components/vfs/pathutil.hpp>
#include <span>
#include <string>
#include <string_view>
namespace VFS
{
class Manager;
}
namespace ESM
{
class RefId;
}
namespace Misc
{
// Workarounds for messy resource handling in vanilla morrowind
... | 2,348 | C++ | .h | 47 | 44.021277 | 120 | 0.708606 | 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,978 | thread.hpp | OpenMW_openmw/components/misc/thread.hpp | #ifndef OPENMW_COMPONENTS_MISC_THREAD_H
#define OPENMW_COMPONENTS_MISC_THREAD_H
namespace Misc
{
void setCurrentThreadIdlePriority();
}
#endif
| 149 | C++ | .h | 7 | 19.428571 | 40 | 0.828571 | 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,979 | endianness.hpp | OpenMW_openmw/components/misc/endianness.hpp | #ifndef COMPONENTS_MISC_ENDIANNESS_H
#define COMPONENTS_MISC_ENDIANNESS_H
#include <cstdint>
#include <cstring>
#include <type_traits>
namespace Misc
{
// Two-way conversion little-endian <-> big-endian
template <typename T>
void swapEndiannessInplace(T& v)
{
static_assert(std::is_arithmetic_... | 2,726 | C++ | .h | 80 | 26.85 | 110 | 0.558801 | 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,980 | scalableicon.hpp | OpenMW_openmw/components/misc/scalableicon.hpp | #ifndef SCALABLEICON_HPP
#define SCALABLEICON_HPP
#include <QIconEngine>
#include <QProcess>
#include <QString>
#include <QStringList>
namespace Misc
{
class ScalableIcon : public QIconEngine
{
public:
QIconEngine* clone() const override;
QPixmap pixmap(const QSize& size, QIcon::Mode mode... | 780 | C++ | .h | 25 | 25.76 | 104 | 0.702957 | 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,981 | rng.hpp | OpenMW_openmw/components/misc/rng.hpp | #ifndef OPENMW_COMPONENTS_MISC_RNG_H
#define OPENMW_COMPONENTS_MISC_RNG_H
#include <cassert>
#include <random>
#include <string_view>
/*
Provides central implementation of the RNG logic
*/
namespace Misc::Rng
{
/// The use of a rather minimalistic prng is preferred to avoid saving a lot of state in the save gam... | 1,428 | C++ | .h | 41 | 30.463415 | 107 | 0.700364 | 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,982 | display.hpp | OpenMW_openmw/components/misc/display.hpp | #ifndef OPENMW_COMPONENTS_MISC_DISPLAY_H
#define OPENMW_COMPONENTS_MISC_DISPLAY_H
#include <string>
namespace Misc
{
std::string getResolutionText(int x, int y, const std::string& format);
}
#endif
| 205 | C++ | .h | 8 | 23.75 | 75 | 0.78866 | 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,983 | guarded.hpp | OpenMW_openmw/components/misc/guarded.hpp | #ifndef OPENMW_COMPONENTS_MISC_GUARDED_H
#define OPENMW_COMPONENTS_MISC_GUARDED_H
#include <condition_variable>
#include <memory>
#include <mutex>
#include <type_traits>
namespace Misc
{
template <class T>
class Locked
{
public:
Locked(std::mutex& mutex, std::remove_reference_t<T>& value)
... | 2,037 | C++ | .h | 73 | 19.547945 | 85 | 0.534155 | 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,984 | convert.hpp | OpenMW_openmw/components/misc/convert.hpp | #ifndef OPENMW_COMPONENTS_MISC_CONVERT_H
#define OPENMW_COMPONENTS_MISC_CONVERT_H
#include <components/esm/position.hpp>
#include <components/esm3/loadpgrd.hpp>
#include <LinearMath/btQuaternion.h>
#include <LinearMath/btTransform.h>
#include <LinearMath/btVector3.h>
#include <osg/Quat>
#include <osg/Vec3f>
namespac... | 2,213 | C++ | .h | 63 | 29.698413 | 110 | 0.65808 | 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,985 | compression.hpp | OpenMW_openmw/components/misc/compression.hpp | #ifndef OPENMW_COMPONENTS_MISC_COMPRESSION_H
#define OPENMW_COMPONENTS_MISC_COMPRESSION_H
#include <cstddef>
#include <vector>
namespace Misc
{
std::vector<std::byte> compress(const std::vector<std::byte>& data);
std::vector<std::byte> decompress(const std::vector<std::byte>& data);
}
#endif
| 305 | C++ | .h | 10 | 28.3 | 74 | 0.75945 | 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,986 | weakcache.hpp | OpenMW_openmw/components/misc/weakcache.hpp | #ifndef OPENMW_COMPONENTS_WEAKCACHE_HPP
#define OPENMW_COMPONENTS_WEAKCACHE_HPP
#include <memory>
#include <unordered_map>
#include <vector>
namespace Misc
{
/// \class WeakCache
/// Provides a container to weakly store pointers to shared data.
template <typename Key, typename T>
class WeakCache
{... | 3,842 | C++ | .h | 120 | 24.316667 | 119 | 0.593463 | 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,987 | frameratelimiter.hpp | OpenMW_openmw/components/misc/frameratelimiter.hpp | #ifndef OPENMW_COMPONENTS_MISC_FRAMERATELIMITER_H
#define OPENMW_COMPONENTS_MISC_FRAMERATELIMITER_H
#include <chrono>
#include <thread>
namespace Misc
{
class FrameRateLimiter
{
public:
template <class Rep, class Ratio>
explicit FrameRateLimiter(std::chrono::duration<Rep, Ratio> maxFrameDu... | 1,854 | C++ | .h | 48 | 29.479167 | 114 | 0.629238 | 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,988 | barrier.hpp | OpenMW_openmw/components/misc/barrier.hpp | #ifndef OPENMW_BARRIER_H
#define OPENMW_BARRIER_H
#include <condition_variable>
#include <mutex>
namespace Misc
{
/// @brief Synchronize several threads
class Barrier
{
public:
/// @param count number of threads to wait on
explicit Barrier(unsigned count)
: mThreadCount(cou... | 1,398 | C++ | .h | 46 | 21.26087 | 91 | 0.577266 | 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,989 | algorithm.hpp | OpenMW_openmw/components/misc/strings/algorithm.hpp | #ifndef COMPONENTS_MISC_STRINGS_ALGORITHM_H
#define COMPONENTS_MISC_STRINGS_ALGORITHM_H
#include "lower.hpp"
#include <algorithm>
#include <functional>
#include <string>
#include <string_view>
namespace Misc::StringUtils
{
struct CiCharLess
{
bool operator()(char x, char y) const { return toLower(x) ... | 6,569 | C++ | .h | 181 | 27.98895 | 119 | 0.55814 | 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,990 | format.hpp | OpenMW_openmw/components/misc/strings/format.hpp | #ifndef COMPONENTS_MISC_STRINGS_FORMAT_H
#define COMPONENTS_MISC_STRINGS_FORMAT_H
#include <MyGUI_UString.h>
#include <cerrno>
#include <cstdio>
#include <cstring>
#include <stdexcept>
#include <string>
#include <string_view>
#include <system_error>
#include <vector>
namespace Misc::StringUtils
{
namespace Detail... | 2,707 | C++ | .h | 70 | 30.8 | 115 | 0.614536 | 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,991 | conversion.hpp | OpenMW_openmw/components/misc/strings/conversion.hpp | #ifndef COMPONENTS_MISC_STRINGS_CONVERSION_H
#define COMPONENTS_MISC_STRINGS_CONVERSION_H
#include <charconv>
#include <cstdint>
#include <optional>
#include <string>
#include <system_error>
#if !(defined(_MSC_VER) && (_MSC_VER >= 1924)) && !(defined(__GNUC__) && __GNUC__ >= 11) || defined(__clang__) \
||... | 3,991 | C++ | .h | 122 | 25.483607 | 120 | 0.573028 | 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,993 | load.hpp | OpenMW_openmw/components/esmloader/load.hpp | #ifndef OPENMW_COMPONENTS_ESMLOADER_LOAD_H
#define OPENMW_COMPONENTS_ESMLOADER_LOAD_H
#include <components/esm3/esmreader.hpp>
#include <string>
#include <vector>
namespace ToUTF8
{
class Utf8Encoder;
}
namespace Files
{
class Collections;
}
namespace Loading
{
class Listener;
}
namespace EsmLoader
{
... | 934 | C++ | .h | 36 | 21.666667 | 108 | 0.719595 | 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,994 | esmdata.hpp | OpenMW_openmw/components/esmloader/esmdata.hpp | #ifndef OPENMW_COMPONENTS_ESMLOADER_ESMDATA_H
#define OPENMW_COMPONENTS_ESMLOADER_ESMDATA_H
#include <components/esm/defs.hpp>
#include <components/esm/refid.hpp>
#include <string_view>
#include <vector>
namespace ESM
{
struct Activator;
struct Cell;
struct Container;
struct Door;
struct GameSett... | 1,254 | C++ | .h | 44 | 23.181818 | 102 | 0.6775 | 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,995 | record.hpp | OpenMW_openmw/components/esmloader/record.hpp | #ifndef OPENMW_COMPONENTS_ESMLOADER_RECORD_H
#define OPENMW_COMPONENTS_ESMLOADER_RECORD_H
#include <components/esm3/loadcell.hpp>
#include <components/misc/algorithm.hpp>
#include <algorithm>
#include <utility>
#include <vector>
namespace EsmLoader
{
template <class T>
struct Record
{
bool mDelet... | 1,276 | C++ | .h | 38 | 27.236842 | 102 | 0.623883 | 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,996 | lessbyid.hpp | OpenMW_openmw/components/esmloader/lessbyid.hpp | #ifndef OPENMW_COMPONENTS_CONTENT_LESSBYID_H
#define OPENMW_COMPONENTS_CONTENT_LESSBYID_H
#include <components/esm/refid.hpp>
#include <string_view>
namespace EsmLoader
{
struct LessById
{
template <class T>
bool operator()(const T& lhs, const T& rhs) const
{
return lhs.mI... | 657 | C++ | .h | 26 | 18.5 | 66 | 0.5872 | 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,997 | loadinglistener.hpp | OpenMW_openmw/components/loadinglistener/loadinglistener.hpp | #ifndef COMPONENTS_LOADINGLISTENER_H
#define COMPONENTS_LOADINGLISTENER_H
#include <memory>
#include <string>
namespace Loading
{
class Listener
{
public:
/// Set a text label to show on the loading screen.
/// @param label The label
/// @param important Is the label considered imp... | 2,118 | C++ | .h | 52 | 33.096154 | 109 | 0.644142 | 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,998 | reporter.hpp | OpenMW_openmw/components/loadinglistener/reporter.hpp | #ifndef COMPONENTS_LOADINGLISTENER_REPORTER_H
#define COMPONENTS_LOADINGLISTENER_REPORTER_H
#include <condition_variable>
#include <cstddef>
#include <mutex>
namespace Loading
{
class Listener;
class Reporter
{
public:
void addTotal(std::size_t value);
void addProgress(std::size_t va... | 609 | C++ | .h | 24 | 20.041667 | 49 | 0.670711 | 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,999 | asynclistener.hpp | OpenMW_openmw/components/loadinglistener/asynclistener.hpp | #ifndef COMPONENTS_LOADINGLISTENER_ASYNCLISTENER_H
#define COMPONENTS_LOADINGLISTENER_ASYNCLISTENER_H
#include <mutex>
#include <optional>
#include <string>
#include "loadinglistener.hpp"
namespace Loading
{
class AsyncListener : public Listener
{
public:
AsyncListener(Listener& baseListener)
... | 1,854 | C++ | .h | 57 | 23.631579 | 72 | 0.615557 | 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 |
36,000 | tables_gen.hpp | OpenMW_openmw/components/to_utf8/tables_gen.hpp | #ifndef COMPONENTS_TOUTF8_TABLE_GEN_H
#define COMPONENTS_TOUTF8_TABLE_GEN_H
namespace ToUTF8
{
/// Central European and Eastern European languages that use Latin script,
/// such as Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian,
/// Serbian (Latin script), Romanian and Albanian.
const s... | 24,188 | C++ | .h | 218 | 102.330275 | 120 | 0.370264 | 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 |
36,001 | to_utf8.hpp | OpenMW_openmw/components/to_utf8/to_utf8.hpp | #ifndef COMPONENTS_TOUTF8_H
#define COMPONENTS_TOUTF8_H
#include <cstring>
#include <string>
#include <string_view>
#include <utility>
namespace ToUTF8
{
// These are all the currently supported code pages
enum FromType
{
WINDOWS_1250, // Central ane Eastern European languages
WINDOWS_1251... | 2,914 | C++ | .h | 64 | 38.234375 | 117 | 0.691711 | 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 |
36,002 | resourcesystem.hpp | OpenMW_openmw/components/resource/resourcesystem.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_RESOURCESYSTEM_H
#define OPENMW_COMPONENTS_RESOURCE_RESOURCESYSTEM_H
#include <memory>
#include <vector>
namespace VFS
{
class Manager;
}
namespace osg
{
class Stats;
class State;
}
namespace ToUTF8
{
class StatelessUtf8Encoder;
}
namespace Resource
{
class S... | 3,308 | C++ | .h | 77 | 36.38961 | 113 | 0.717445 | 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 |
36,003 | bgsmfilemanager.hpp | OpenMW_openmw/components/resource/bgsmfilemanager.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_BGSMFILEMANAGER_H
#define OPENMW_COMPONENTS_RESOURCE_BGSMFILEMANAGER_H
#include <components/bgsm/file.hpp>
#include "resourcemanager.hpp"
namespace Resource
{
/// @brief Handles caching of material files.
/// @note May be used from any thread.
class BgsmFileManager : p... | 736 | C++ | .h | 19 | 33.947368 | 94 | 0.734838 | 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 |
36,004 | objectcache.hpp | OpenMW_openmw/components/resource/objectcache.hpp | // Resource ObjectCache for OpenMW, forked from osgDB ObjectCache by Robert Osfield, see copyright notice below.
// Changes:
// - removeExpiredObjectsInCache no longer keeps a lock while the unref happens.
// - template allows customized KeyType.
// - objects with uninitialized time stamp are not removed.
/* -*-c++-*-... | 7,157 | C++ | .h | 184 | 28.951087 | 119 | 0.57741 | 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 |
36,005 | bulletshapemanager.hpp | OpenMW_openmw/components/resource/bulletshapemanager.hpp | #ifndef OPENMW_COMPONENTS_BULLETSHAPEMANAGER_H
#define OPENMW_COMPONENTS_BULLETSHAPEMANAGER_H
#include <osg/ref_ptr>
#include <components/vfs/pathutil.hpp>
#include "bulletshape.hpp"
#include "resourcemanager.hpp"
namespace Resource
{
class SceneManager;
class NifFileManager;
struct BulletShape;
cl... | 2,085 | C++ | .h | 43 | 42.069767 | 119 | 0.722469 | 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 |
36,006 | scenemanager.hpp | OpenMW_openmw/components/resource/scenemanager.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_SCENEMANAGER_H
#define OPENMW_COMPONENTS_RESOURCE_SCENEMANAGER_H
#include <array>
#include <memory>
#include <mutex>
#include <string>
#include <osg/Texture>
#include <osg/ref_ptr>
#include "resourcemanager.hpp"
#include <components/sceneutil/lightmanager.hpp>
#include <filesystem... | 10,527 | C++ | .h | 216 | 40.949074 | 120 | 0.700634 | 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 |
36,007 | niffilemanager.hpp | OpenMW_openmw/components/resource/niffilemanager.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_NIFFILEMANAGER_H
#define OPENMW_COMPONENTS_RESOURCE_NIFFILEMANAGER_H
#include <components/nif/niffile.hpp>
#include "resourcemanager.hpp"
namespace ToUTF8
{
class StatelessUtf8Encoder;
}
namespace Resource
{
/// @brief Handles caching of NIFFiles.
/// @note May be use... | 1,020 | C++ | .h | 26 | 34.307692 | 96 | 0.735772 | 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 |
36,008 | multiobjectcache.hpp | OpenMW_openmw/components/resource/multiobjectcache.hpp | #ifndef OPENMW_COMPONENTS_MULTIOBJECTCACHE_H
#define OPENMW_COMPONENTS_MULTIOBJECTCACHE_H
#include <map>
#include <mutex>
#include <osg/Referenced>
#include <osg/ref_ptr>
#include <components/vfs/pathutil.hpp>
#include "cachestats.hpp"
namespace osg
{
class Object;
class State;
}
namespace Resource
{
... | 1,312 | C++ | .h | 38 | 29.105263 | 108 | 0.691574 | 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 |
36,009 | animation.hpp | OpenMW_openmw/components/resource/animation.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_ANIMATION_HPP
#define OPENMW_COMPONENTS_RESOURCE_ANIMATION_HPP
#include <vector>
#include <osg/Node>
#include <osg/Object>
#include <osgAnimation/Channel>
namespace Resource
{
/// Stripped down class of osgAnimation::Animation, only needed for OSG's plugin formats like dae
... | 1,017 | C++ | .h | 31 | 26.548387 | 101 | 0.669744 | 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 |
36,010 | bulletshape.hpp | OpenMW_openmw/components/resource/bulletshape.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_BULLETSHAPE_H
#define OPENMW_COMPONENTS_RESOURCE_BULLETSHAPE_H
#include <map>
#include <memory>
#include <osg/Object>
#include <osg/Vec3f>
#include <osg/ref_ptr>
#include <BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h>
#include <BulletCollision/CollisionShapes/btScaledBv... | 3,735 | C++ | .h | 92 | 33.978261 | 116 | 0.717764 | 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 |
36,011 | foreachbulletobject.hpp | OpenMW_openmw/components/resource/foreachbulletobject.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_FOREACHBULLETOBJECT_H
#define OPENMW_COMPONENTS_RESOURCE_FOREACHBULLETOBJECT_H
#include <components/esm/position.hpp>
#include <components/resource/bulletshape.hpp>
#include <osg/ref_ptr>
#include <functional>
#include <vector>
namespace ESM
{
class ReadersCache;
struct Ce... | 906 | C++ | .h | 37 | 21.162162 | 92 | 0.760186 | 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 |
36,012 | cachestats.hpp | OpenMW_openmw/components/resource/cachestats.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_CACHESATS
#define OPENMW_COMPONENTS_RESOURCE_CACHESATS
#include <cstddef>
#include <string>
#include <string_view>
#include <vector>
namespace osg
{
class Stats;
}
namespace Resource
{
struct CacheStats
{
std::size_t mSize = 0;
std::size_t mGet = 0;
... | 597 | C++ | .h | 23 | 22.26087 | 108 | 0.704225 | 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 |
36,013 | keyframemanager.hpp | OpenMW_openmw/components/resource/keyframemanager.hpp | #ifndef OPENMW_COMPONENTS_KEYFRAMEMANAGER_H
#define OPENMW_COMPONENTS_KEYFRAMEMANAGER_H
#include <string>
#include <osg/ref_ptr>
#include <osgAnimation/BasicAnimationManager>
#include <components/sceneutil/keyframe.hpp>
#include "resourcemanager.hpp"
namespace ToUTF8
{
class StatelessUtf8Encoder;
}
namespace ... | 2,113 | C++ | .h | 53 | 34.018868 | 111 | 0.726872 | 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 |
36,014 | imagemanager.hpp | OpenMW_openmw/components/resource/imagemanager.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_IMAGEMANAGER_H
#define OPENMW_COMPONENTS_RESOURCE_IMAGEMANAGER_H
#include <osg/Image>
#include <osg/Texture2D>
#include <osg/ref_ptr>
#include <components/vfs/pathutil.hpp>
#include "resourcemanager.hpp"
namespace osgDB
{
class Options;
}
namespace Resource
{
/// @brief ... | 1,172 | C++ | .h | 34 | 29.323529 | 100 | 0.705778 | 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 |
36,015 | errormarker.hpp | OpenMW_openmw/components/resource/errormarker.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_ERRORMARKER_H
#define OPENMW_COMPONENTS_RESOURCE_ERRORMARKER_H
#include <string_view>
namespace Resource
{
struct ErrorMarker
{
static const std::string_view sValue;
};
}
#endif
| 236 | C++ | .h | 11 | 18.363636 | 48 | 0.765766 | 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 |
36,016 | animblendrulesmanager.hpp | OpenMW_openmw/components/resource/animblendrulesmanager.hpp | #ifndef OPENMW_COMPONENTS_ANIMBLENDRULESMANAGER_H
#define OPENMW_COMPONENTS_ANIMBLENDRULESMANAGER_H
#include <osg/ref_ptr>
#include <string>
#include <components/sceneutil/animblendrules.hpp>
#include "resourcemanager.hpp"
namespace Resource
{
/// @brief Managing of keyframe resources
/// @note May be used ... | 1,066 | C++ | .h | 25 | 37.44 | 96 | 0.738372 | 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 |
36,017 | resourcemanager.hpp | OpenMW_openmw/components/resource/resourcemanager.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_MANAGER_H
#define OPENMW_COMPONENTS_RESOURCE_MANAGER_H
#include <osg/ref_ptr>
#include <components/vfs/pathutil.hpp>
#include "objectcache.hpp"
namespace VFS
{
class Manager;
}
namespace osg
{
class Stats;
class State;
}
namespace Resource
{
class BaseResourceMa... | 2,532 | C++ | .h | 66 | 31.848485 | 116 | 0.690924 | 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 |
36,018 | stats.hpp | OpenMW_openmw/components/resource/stats.hpp | #ifndef OPENMW_COMPONENTS_RESOURCE_STATS_H
#define OPENMW_COMPONENTS_RESOURCE_STATS_H
#include <osgViewer/ViewerEventHandlers>
namespace osgViewer
{
class ViewerBase;
}
namespace osg
{
class Switch;
}
namespace osgText
{
class Font;
}
namespace VFS
{
class Manager;
}
namespace Resource
{
class... | 1,665 | C++ | .h | 55 | 24.781818 | 92 | 0.697674 | 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 |
36,019 | shadermanager.hpp | OpenMW_openmw/components/settings/shadermanager.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_SHADERMANAGER_H
#define OPENMW_COMPONENTS_SETTINGS_SHADERMANAGER_H
#include <filesystem>
#include <fstream>
#include <optional>
#include <unordered_map>
#include <vector>
#include <yaml-cpp/yaml.h>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <osg/Vec4f>
#include <components... | 4,615 | C++ | .h | 138 | 22.130435 | 109 | 0.497638 | 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 |
36,020 | values.hpp | OpenMW_openmw/components/settings/values.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_VALUES_H
#define OPENMW_COMPONENTS_SETTINGS_VALUES_H
#include "categories/camera.hpp"
#include "categories/cells.hpp"
#include "categories/fog.hpp"
#include "categories/game.hpp"
#include "categories/general.hpp"
#include "categories/groundcover.hpp"
#include "categories/gui.hpp"
#in... | 5,281 | C++ | .h | 195 | 21.241026 | 87 | 0.65656 | 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 |
36,021 | settingvalue.hpp | OpenMW_openmw/components/settings/settingvalue.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_SETTINGVALUE_H
#define OPENMW_COMPONENTS_SETTINGS_SETTINGVALUE_H
#include "gyroscopeaxis.hpp"
#include "navmeshrendermode.hpp"
#include "sanitizer.hpp"
#include "settings.hpp"
#include <components/debug/debuglog.hpp>
#include <components/detournavigator/collisionshapetype.hpp>
#incl... | 13,878 | C++ | .h | 395 | 25.924051 | 117 | 0.615236 | 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 |
36,022 | hrtfmode.hpp | OpenMW_openmw/components/settings/hrtfmode.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_HRTFMODE_H
#define OPENMW_COMPONENTS_SETTINGS_HRTFMODE_H
namespace Settings
{
enum class HrtfMode
{
Disable,
Enable,
Auto,
};
}
#endif
| 208 | C++ | .h | 12 | 13.166667 | 45 | 0.690722 | 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 |
36,023 | sanitizer.hpp | OpenMW_openmw/components/settings/sanitizer.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_SANITIZER_H
#define OPENMW_COMPONENTS_SETTINGS_SANITIZER_H
namespace Settings
{
template <class T>
struct Sanitizer
{
virtual ~Sanitizer() = default;
virtual T apply(const T& value) const = 0;
};
}
#endif
| 275 | C++ | .h | 12 | 19 | 50 | 0.707692 | 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 |
36,024 | windowmode.hpp | OpenMW_openmw/components/settings/windowmode.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_WINDOWMODE_H
#define OPENMW_COMPONENTS_SETTINGS_WINDOWMODE_H
namespace Settings
{
enum class WindowMode
{
Fullscreen = 0,
WindowedFullscreen = 1,
Windowed = 2,
};
}
#endif
| 245 | C++ | .h | 12 | 16.25 | 47 | 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 |
36,025 | gyroscopeaxis.hpp | OpenMW_openmw/components/settings/gyroscopeaxis.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_GYROSCOPEAXIS_H
#define OPENMW_COMPONENTS_SETTINGS_GYROSCOPEAXIS_H
namespace Settings
{
enum class GyroscopeAxis
{
X,
Y,
Z,
MinusX,
MinusY,
MinusZ,
};
}
#endif
| 257 | C++ | .h | 15 | 12 | 50 | 0.6375 | 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 |
36,026 | parser.hpp | OpenMW_openmw/components/settings/parser.hpp | #ifndef COMPONENTS_SETTINGS_PARSER_H
#define COMPONENTS_SETTINGS_PARSER_H
#include "categories.hpp"
#include <filesystem>
#include <string>
namespace Settings
{
class SettingsFileParser
{
public:
void loadSettingsFile(const std::filesystem::path& file, CategorySettingValueMap& settings,
... | 939 | C++ | .h | 24 | 33.458333 | 106 | 0.70452 | 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 |
36,027 | sanitizerimpl.hpp | OpenMW_openmw/components/settings/sanitizerimpl.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_SANITIZERIMPL_H
#define OPENMW_COMPONENTS_SETTINGS_SANITIZERIMPL_H
#include "sanitizer.hpp"
#include <osg/Vec3f>
#include <cstdint>
#include <initializer_list>
#include <memory>
#include <string>
#include <string_view>
namespace Settings
{
std::unique_ptr<Sanitizer<float>> mak... | 1,426 | C++ | .h | 26 | 51.192308 | 111 | 0.780911 | 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 |
36,028 | settings.hpp | OpenMW_openmw/components/settings/settings.hpp | #ifndef COMPONENTS_SETTINGS_H
#define COMPONENTS_SETTINGS_H
#include "categories.hpp"
#include "gyroscopeaxis.hpp"
#include "hrtfmode.hpp"
#include "navmeshrendermode.hpp"
#include "windowmode.hpp"
#include <components/detournavigator/collisionshapetype.hpp>
#include <components/sceneutil/lightingmethod.hpp>
#include... | 11,294 | C++ | .h | 229 | 42.419214 | 120 | 0.702305 | 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 |
36,029 | navmeshrendermode.hpp | OpenMW_openmw/components/settings/navmeshrendermode.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_NAVMESHRENDERMODE_H
#define OPENMW_COMPONENTS_SETTINGS_NAVMESHRENDERMODE_H
namespace Settings
{
enum class NavMeshRenderMode
{
AreaType,
UpdateFrequency,
};
}
#endif
| 231 | C++ | .h | 11 | 17.272727 | 54 | 0.766055 | 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 |
36,030 | categories.hpp | OpenMW_openmw/components/settings/categories.hpp | #ifndef COMPONENTS_SETTINGS_CATEGORIES_H
#define COMPONENTS_SETTINGS_CATEGORIES_H
#include <map>
#include <set>
#include <string>
#include <string_view>
#include <utility>
namespace Settings
{
struct Less
{
using is_transparent = void;
bool operator()(const std::pair<std::string_view, std::st... | 717 | C++ | .h | 23 | 26.478261 | 81 | 0.687954 | 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 |
36,031 | physics.hpp | OpenMW_openmw/components/settings/categories/physics.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_PHYSICS_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_PHYSICS_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include ... | 715 | C++ | .h | 21 | 30.47619 | 110 | 0.761628 | 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 |
36,032 | water.hpp | OpenMW_openmw/components/settings/categories/water.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WATER_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WATER_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include <str... | 1,349 | C++ | .h | 28 | 43.25 | 115 | 0.730038 | 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 |
36,033 | general.hpp | OpenMW_openmw/components/settings/categories/general.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GENERAL_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GENERAL_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include ... | 1,697 | C++ | .h | 32 | 47.21875 | 112 | 0.709464 | 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 |
36,034 | input.hpp | OpenMW_openmw/components/settings/categories/input.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_INPUT_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_INPUT_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include <str... | 1,982 | C++ | .h | 37 | 47.216216 | 120 | 0.723053 | 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 |
36,035 | windows.hpp | OpenMW_openmw/components/settings/categories/windows.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WINDOWS_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WINDOWS_H
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include <string_view>
namespace Settings
{
struct Wi... | 13,625 | C++ | .h | 169 | 72.272189 | 114 | 0.704461 | 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 |
36,036 | groundcover.hpp | OpenMW_openmw/components/settings/categories/groundcover.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GROUNDCOVER_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GROUNDCOVER_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#... | 1,012 | C++ | .h | 24 | 37.916667 | 120 | 0.736253 | 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 |
36,037 | lua.hpp | OpenMW_openmw/components/settings/categories/lua.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_LUA_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_LUA_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include <string_... | 1,214 | C++ | .h | 27 | 40.185185 | 109 | 0.714649 | 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 |
36,038 | models.hpp | OpenMW_openmw/components/settings/categories/models.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_MODELS_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_MODELS_H
#include <components/settings/settingvalue.hpp>
#include <components/vfs/pathutil.hpp>
namespace Settings
{
struct ModelsCategory : WithIndex
{
using WithIndex::WithIndex;
SettingValu... | 2,735 | C++ | .h | 37 | 66.864865 | 106 | 0.71752 | 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 |
36,039 | game.hpp | OpenMW_openmw/components/settings/categories/game.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GAME_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GAME_H
#include <components/detournavigator/collisionshapetype.hpp>
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg... | 5,362 | C++ | .h | 76 | 62.526316 | 118 | 0.719129 | 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 |
36,040 | video.hpp | OpenMW_openmw/components/settings/categories/video.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_VIDEO_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_VIDEO_H
#include <components/sdlutil/vsyncmode.hpp>
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <components/settings/windowmode.hpp>
#include <osg/Math>
#in... | 1,570 | C++ | .h | 31 | 45.967742 | 108 | 0.733855 | 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 |
36,041 | stereo.hpp | OpenMW_openmw/components/settings/categories/stereo.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_STEREO_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_STEREO_H
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include <string_view>
namespace Settings
{
struct Ster... | 943 | C++ | .h | 23 | 36.782609 | 115 | 0.737418 | 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 |
36,042 | fog.hpp | OpenMW_openmw/components/settings/categories/fog.hpp | #ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_FOG_H
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_FOG_H
#include <components/settings/sanitizerimpl.hpp>
#include <components/settings/settingvalue.hpp>
#include <osg/Math>
#include <osg/Vec2f>
#include <osg/Vec3f>
#include <cstdint>
#include <string>
#include <string_... | 1,561 | C++ | .h | 31 | 45.032258 | 104 | 0.721129 | 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.