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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34,711 | removedalphafunc.cpp | OpenMW_openmw/components/shader/removedalphafunc.cpp | #include "removedalphafunc.hpp"
#include <cassert>
#include <osg/State>
namespace Shader
{
std::array<osg::ref_ptr<RemovedAlphaFunc>, GL_ALWAYS - GL_NEVER + 1> RemovedAlphaFunc::sInstances{ nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr, nullptr, nullptr };
osg::ref_ptr<RemovedAlphaFunc> Remov... | 653 | C++ | .cpp | 16 | 34.8125 | 120 | 0.676145 | 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 |
34,712 | shadervisitor.cpp | OpenMW_openmw/components/shader/shadervisitor.cpp | #include "shadervisitor.hpp"
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <osg/AlphaFunc>
#include <osg/BlendFunc>
#include <osg/ColorMaski>
#include <osg/GLExtensions>
#include <osg/Geometry>
#include <osg/Material>
#include <osg/Multisample>
#include <osg/Texture>
#include <osg/ValueObj... | 48,616 | C++ | .cpp | 957 | 37.110763 | 120 | 0.597285 | 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 |
34,713 | shadow.cpp | OpenMW_openmw/components/sceneutil/shadow.cpp | #include "shadow.hpp"
#include <osgShadow/ShadowSettings>
#include <osgShadow/ShadowedScene>
#include <components/misc/strings/algorithm.hpp>
#include <components/settings/categories/shadows.hpp>
#include <components/stereo/stereomanager.hpp>
#include "mwshadowtechnique.hpp"
namespace SceneUtil
{
using namespac... | 8,510 | C++ | .cpp | 158 | 44.898734 | 119 | 0.716351 | 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 |
34,714 | visitor.cpp | OpenMW_openmw/components/sceneutil/visitor.cpp | #include "visitor.hpp"
#include <osg/Drawable>
#include <osg/MatrixTransform>
#include <osgParticle/ParticleSystem>
#include <osgAnimation/Bone>
#include <components/debug/debuglog.hpp>
#include <components/misc/strings/algorithm.hpp>
#include <cstring>
#include <string_view>
namespace SceneUtil
{
bool FindBy... | 4,242 | C++ | .cpp | 124 | 26.620968 | 114 | 0.618244 | 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 |
34,715 | lightmanager.cpp | OpenMW_openmw/components/sceneutil/lightmanager.cpp | #include "lightmanager.hpp"
#include <algorithm>
#include <array>
#include <cstring>
#include <iterator>
#include <osg/BufferIndexBinding>
#include <osg/BufferObject>
#include <osg/Endian>
#include <osg/ValueObject>
#include <osgUtil/CullVisitor>
#include <components/resource/scenemanager.hpp>
#include <components/... | 49,568 | C++ | .cpp | 1,110 | 33.513514 | 120 | 0.603251 | 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 |
34,716 | writescene.cpp | OpenMW_openmw/components/sceneutil/writescene.cpp | #include "writescene.hpp"
#include <fstream>
#include <stdexcept>
#include <osgDB/Registry>
#include "serialize.hpp"
void SceneUtil::writeScene(osg::Node* node, const std::filesystem::path& filename, const std::string& format)
{
registerSerializers();
osgDB::ReaderWriter* rw = osgDB::Registry::instance()->... | 732 | C++ | .cpp | 18 | 36.777778 | 109 | 0.729462 | 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 |
34,717 | lightutil.cpp | OpenMW_openmw/components/sceneutil/lightutil.cpp | #include "lightutil.hpp"
#include <osg/Group>
#include <osg/Light>
#include <osgParticle/ParticleSystem>
#include <components/esm3/loadligh.hpp>
#include <components/fallback/fallback.hpp>
#include <components/sceneutil/lightcommon.hpp>
#include "lightcontroller.hpp"
#include "lightmanager.hpp"
#include "visitor.hp... | 6,000 | C++ | .cpp | 128 | 38.015625 | 118 | 0.664841 | 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 |
34,718 | workqueue.cpp | OpenMW_openmw/components/sceneutil/workqueue.cpp | #include "workqueue.hpp"
#include <components/debug/debuglog.hpp>
#include <numeric>
namespace SceneUtil
{
void WorkItem::waitTillDone()
{
if (mDone)
return;
std::unique_lock<std::mutex> lock(mMutex);
while (!mDone)
{
mCondition.wait(lock);
}
... | 3,175 | C++ | .cpp | 123 | 17.512195 | 107 | 0.530693 | 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 |
34,719 | util.cpp | OpenMW_openmw/components/sceneutil/util.cpp | #include "util.hpp"
#include <algorithm>
#include <array>
#include <iomanip>
#include <sstream>
#include <osg/FrameBufferObject>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/TexEnvCombine>
#include <osg/TexGen>
#include <osgUtil/CullVisitor>
#include <osgUtil/RenderStage>
#include <components/resourc... | 15,629 | C++ | .cpp | 369 | 31.642276 | 119 | 0.612244 | 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 |
34,720 | color.cpp | OpenMW_openmw/components/sceneutil/color.cpp | #include "color.hpp"
#include <algorithm>
#include <array>
namespace SceneUtil
{
bool isColorFormat(GLenum format)
{
static constexpr std::array<GLenum, 42> formats = {
GL_RGB,
GL_RGB4,
GL_RGB5,
GL_RGB8,
GL_RGB8_SNORM,
GL_RGB10,
... | 3,796 | C++ | .cpp | 136 | 16.852941 | 107 | 0.507958 | 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 |
34,721 | lightcontroller.cpp | OpenMW_openmw/components/sceneutil/lightcontroller.cpp | #include "lightcontroller.hpp"
#include <cmath>
#include <osg/NodeVisitor>
#include <components/sceneutil/lightmanager.hpp>
#include <components/misc/rng.hpp>
namespace SceneUtil
{
LightController::LightController()
: mType(LT_Normal)
, mPhase(0.25f + Misc::Rng::rollClosedProbability() * 0.75f... | 2,484 | C++ | .cpp | 67 | 28.791045 | 120 | 0.605757 | 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 |
34,722 | agentpath.cpp | OpenMW_openmw/components/sceneutil/agentpath.cpp | #include "agentpath.hpp"
#include "detourdebugdraw.hpp"
#include <osg/Material>
#include <components/detournavigator/recastparams.hpp>
#include <components/detournavigator/settings.hpp>
#include <algorithm>
namespace
{
void drawAgent(duDebugDraw& debugDraw, const osg::Vec3f& pos, const float radius, const floa... | 2,979 | C++ | .cpp | 56 | 45.857143 | 117 | 0.645317 | 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 |
34,723 | lightcommon.cpp | OpenMW_openmw/components/sceneutil/lightcommon.cpp |
#include "lightcommon.hpp"
#include <components/esm3/loadligh.hpp>
#include <components/esm4/loadligh.hpp>
#include <components/sceneutil/util.hpp>
namespace SceneUtil
{
LightCommon::LightCommon(const ESM::Light& light)
: mFlicker(light.mData.mFlags & ESM::Light::Flicker)
, mFlickerSlow(light.mDat... | 1,275 | C++ | .cpp | 29 | 37.586207 | 68 | 0.685185 | 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 |
34,724 | pathgridutil.cpp | OpenMW_openmw/components/sceneutil/pathgridutil.cpp | #include "pathgridutil.hpp"
#include <osg/Geometry>
#include <osg/Material>
#include <components/esm3/loadpgrd.hpp>
#include <limits>
namespace SceneUtil
{
namespace
{
constexpr unsigned short DiamondVertexCount = 6;
constexpr unsigned short DiamondIndexCount = 24;
constexpr unsigned... | 11,057 | C++ | .cpp | 191 | 44.282723 | 119 | 0.600924 | 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 |
34,725 | recastmesh.cpp | OpenMW_openmw/components/sceneutil/recastmesh.cpp | #include "recastmesh.hpp"
#include "detourdebugdraw.hpp"
#include <components/detournavigator/recastmesh.hpp>
#include <components/detournavigator/recastmeshbuilder.hpp>
#include <components/detournavigator/settings.hpp>
#include <RecastDebugDraw.h>
#include <osg/Group>
#include <osg/Material>
#include <osg/Polygon... | 2,979 | C++ | .cpp | 63 | 39.15873 | 115 | 0.626593 | 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 |
34,726 | animblendrules.cpp | OpenMW_openmw/components/sceneutil/animblendrules.cpp | #include "animblendrules.hpp"
#include <iterator>
#include <map>
#include <components/misc/strings/algorithm.hpp>
#include <components/misc/strings/format.hpp>
#include <components/misc/strings/lower.hpp>
#include <components/debug/debuglog.hpp>
#include <components/files/configfileparser.hpp>
#include <components/f... | 6,121 | C++ | .cpp | 142 | 31.598592 | 120 | 0.557721 | 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 |
34,727 | serialize.cpp | OpenMW_openmw/components/sceneutil/serialize.cpp | #include "serialize.hpp"
#include <osgDB/ObjectWrapper>
#include <osgDB/Registry>
#include <components/nifosg/fog.hpp>
#include <components/nifosg/matrixtransform.hpp>
#include <components/sceneutil/morphgeometry.hpp>
#include <components/sceneutil/positionattitudetransform.hpp>
#include <components/sceneutil/riggeo... | 9,355 | C++ | .cpp | 218 | 31.944954 | 119 | 0.626618 | 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 |
34,728 | controller.cpp | OpenMW_openmw/components/sceneutil/controller.cpp | #include "controller.hpp"
#include <algorithm>
#include "statesetupdater.hpp"
#include <osg/Drawable>
#include <osg/Geometry>
#include <osg/MatrixTransform>
#include <osg/NodeCallback>
namespace SceneUtil
{
Controller::Controller() {}
bool Controller::hasInput() const
{
return mSource.get() !=... | 3,834 | C++ | .cpp | 120 | 24.6 | 110 | 0.651194 | 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 |
34,729 | statesetupdater.cpp | OpenMW_openmw/components/sceneutil/statesetupdater.cpp | #include "statesetupdater.hpp"
#include <components/stereo/stereomanager.hpp>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osgUtil/CullVisitor>
namespace SceneUtil
{
void StateSetUpdater::operator()(osg::Node* node, osg::NodeVisitor* nv)
{
bool isCullVisitor = nv->getVisitorType() == osg... | 3,820 | C++ | .cpp | 102 | 28.970588 | 120 | 0.603789 | 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 |
34,730 | mwshadowtechnique.cpp | OpenMW_openmw/components/sceneutil/mwshadowtechnique.cpp | // clang-format off
/* This file is based on OpenSceneGraph's src/osgShadow/ViewDependentShadowMap.cpp.
* Where applicable, any changes made are covered by OpenMW's GPL 3 license, not the OSGPL.
* The original copyright notice is listed below.
*/
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2011 Robert Osfield
... | 128,813 | C++ | .cpp | 2,759 | 37.679594 | 203 | 0.585518 | 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 |
34,731 | glextensions.cpp | OpenMW_openmw/components/sceneutil/glextensions.cpp | #include "glextensions.hpp"
#include <osg/GraphicsContext>
namespace SceneUtil
{
namespace
{
std::set<osg::observer_ptr<osg::GLExtensions>> sGLExtensions;
class GLExtensionsObserver : public osg::Observer
{
public:
static GLExtensionsObserver sInstance;
... | 1,727 | C++ | .cpp | 50 | 24.94 | 116 | 0.606479 | 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 |
34,732 | osgacontroller.cpp | OpenMW_openmw/components/sceneutil/osgacontroller.cpp | #include <components/sceneutil/osgacontroller.hpp>
#include <osg/MatrixTransform>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/ref_ptr>
#include <osgAnimation/Animation>
#include <osgAnimation/Channel>
#include <osgAnimation/Sampler>
#include <osgAnimation/UpdateMatrixTransform>
#include <components/... | 6,871 | C++ | .cpp | 164 | 31.195122 | 117 | 0.61976 | 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 |
34,733 | extradata.cpp | OpenMW_openmw/components/sceneutil/extradata.cpp | #include "extradata.hpp"
#include <unordered_set>
#include <osg/Node>
#include <osg/ValueObject>
#include <osgParticle/ParticleSystem>
#include <yaml-cpp/yaml.h>
#include <components/misc/osguservalues.hpp>
#include <components/misc/strings/algorithm.hpp>
#include <components/resource/scenemanager.hpp>
#include <co... | 3,257 | C++ | .cpp | 68 | 38.279412 | 120 | 0.64509 | 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 |
34,734 | riggeometry.cpp | OpenMW_openmw/components/sceneutil/riggeometry.cpp | #include "riggeometry.hpp"
#include <unordered_map>
#include <osg/MatrixTransform>
#include <osgUtil/CullVisitor>
#include <components/debug/debuglog.hpp>
#include <components/resource/scenemanager.hpp>
#include "skeleton.hpp"
#include "util.hpp"
namespace SceneUtil
{
RigGeometry::RigGeometry()
{
... | 13,899 | C++ | .cpp | 321 | 31.707165 | 120 | 0.583691 | 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 |
34,735 | waterutil.cpp | OpenMW_openmw/components/sceneutil/waterutil.cpp | #include "waterutil.hpp"
#include <osg/Depth>
#include <osg/Geometry>
#include <osg/Material>
#include <osg/StateSet>
#include "depth.hpp"
namespace SceneUtil
{
// disable nonsense test against a worldsize bb what will always pass
class WaterBoundCallback : public osg::Drawable::ComputeBoundingBoxCallback
... | 3,510 | C++ | .cpp | 72 | 39.125 | 105 | 0.617363 | 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 |
34,736 | attach.cpp | OpenMW_openmw/components/sceneutil/attach.cpp | #include "attach.hpp"
#include <stdexcept>
#include <osg/FrontFace>
#include <osg/Geometry>
#include <osg/Group>
#include <osg/MatrixTransform>
#include <osg/NodeVisitor>
#include <osg/PositionAttitudeTransform>
#include <components/resource/scenemanager.hpp>
#include <components/sceneutil/riggeometry.hpp>
#include ... | 7,243 | C++ | .cpp | 169 | 30.751479 | 120 | 0.574066 | 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 |
34,737 | morphgeometry.cpp | OpenMW_openmw/components/sceneutil/morphgeometry.cpp | #include "morphgeometry.hpp"
#include <osgUtil/CullVisitor>
#include <cassert>
#include <components/resource/scenemanager.hpp>
namespace SceneUtil
{
MorphGeometry::MorphGeometry()
: mLastFrameNumber(0)
, mDirty(true)
, mMorphedBoundingBox(false)
{
}
MorphGeometry::MorphGeome... | 8,038 | C++ | .cpp | 182 | 33.626374 | 120 | 0.599616 | 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 |
34,738 | positionattitudetransform.cpp | OpenMW_openmw/components/sceneutil/positionattitudetransform.cpp | #include "positionattitudetransform.hpp"
namespace SceneUtil
{
PositionAttitudeTransform::PositionAttitudeTransform()
: _scale(1.0, 1.0, 1.0)
{
}
bool PositionAttitudeTransform::computeLocalToWorldMatrix(osg::Matrix& matrix, osg::NodeVisitor*) const
{
if (_referenceFrame == RELATI... | 1,446 | C++ | .cpp | 42 | 25.666667 | 107 | 0.579399 | 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 |
34,739 | skeleton.cpp | OpenMW_openmw/components/sceneutil/skeleton.cpp | #include "skeleton.hpp"
#include <osg/MatrixTransform>
#include <components/debug/debuglog.hpp>
#include <components/misc/strings/lower.hpp>
#include <algorithm>
namespace SceneUtil
{
class InitBoneCacheVisitor : public osg::NodeVisitor
{
public:
typedef std::vector<osg::MatrixTransform*> Trans... | 4,621 | C++ | .cpp | 145 | 22.924138 | 118 | 0.583933 | 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 |
34,741 | unrefqueue.cpp | OpenMW_openmw/components/sceneutil/unrefqueue.cpp | #include "unrefqueue.hpp"
#include <components/sceneutil/workqueue.hpp>
namespace SceneUtil
{
namespace
{
struct ClearVector final : SceneUtil::WorkItem
{
std::vector<osg::ref_ptr<osg::Referenced>> mObjects;
explicit ClearVector(std::vector<osg::ref_ptr<osg::Referenced... | 882 | C++ | .cpp | 26 | 25.769231 | 89 | 0.610588 | 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 |
34,742 | screencapture.cpp | OpenMW_openmw/components/sceneutil/screencapture.cpp | #include "screencapture.hpp"
#include <components/debug/debuglog.hpp>
#include <components/files/conversion.hpp>
#include <components/sceneutil/workqueue.hpp>
#include <osg/Image>
#include <osg/ref_ptr>
#include <osgDB/ReaderWriter>
#include <osgDB/Registry>
#include <atomic>
#include <cassert>
#include <filesystem>... | 5,379 | C++ | .cpp | 141 | 29.758865 | 120 | 0.616993 | 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 |
34,743 | clone.cpp | OpenMW_openmw/components/sceneutil/clone.cpp | #include "clone.hpp"
#include <osg/StateSet>
#include <osgAnimation/MorphGeometry>
#include <osgAnimation/RigGeometry>
#include <osgParticle/Emitter>
#include <osgParticle/ParticleProcessor>
#include <osgParticle/ParticleSystemUpdater>
#include <components/sceneutil/morphgeometry.hpp>
#include <components/sceneutil... | 3,750 | C++ | .cpp | 85 | 35.117647 | 120 | 0.663195 | 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 |
34,744 | detourdebugdraw.cpp | OpenMW_openmw/components/sceneutil/detourdebugdraw.cpp | #include "detourdebugdraw.hpp"
#include "depth.hpp"
#include "util.hpp"
#include <osg/BlendFunc>
#include <osg/Group>
#include <osg/LineWidth>
#include <osg/Material>
#include <osg/PolygonOffset>
#include <algorithm>
namespace
{
osg::PrimitiveSet::Mode toOsgPrimitiveSetMode(duDebugDrawPrimitives value)
{
... | 3,865 | C++ | .cpp | 105 | 29.619048 | 113 | 0.647405 | 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 |
34,745 | shadowsbin.cpp | OpenMW_openmw/components/sceneutil/shadowsbin.cpp | #include "shadowsbin.hpp"
#include <osg/AlphaFunc>
#include <osg/Material>
#include <osg/Program>
#include <osg/StateSet>
#include <osgUtil/StateGraph>
#include <unordered_set>
using namespace osgUtil;
namespace
{
template <typename T>
inline void accumulateState(T& currentValue, T newValue, bool& isOverride,... | 9,177 | C++ | .cpp | 199 | 35.60804 | 120 | 0.612402 | 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 |
34,746 | optimizer.cpp | OpenMW_openmw/components/sceneutil/optimizer.cpp | // clang-format off
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
... | 76,092 | C++ | .cpp | 1,745 | 32.527221 | 171 | 0.581816 | 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 |
34,747 | rtt.cpp | OpenMW_openmw/components/sceneutil/rtt.cpp | #include "rtt.hpp"
#include "util.hpp"
#include <osg/Texture2D>
#include <osg/Texture2DArray>
#include <osgUtil/CullVisitor>
#include <components/sceneutil/color.hpp>
#include <components/sceneutil/depth.hpp>
#include <components/sceneutil/nodecallback.hpp>
#include <components/stereo/multiview.hpp>
#include <compone... | 11,345 | C++ | .cpp | 239 | 36.380753 | 120 | 0.637151 | 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 |
34,748 | depth.cpp | OpenMW_openmw/components/sceneutil/depth.cpp | #include "depth.hpp"
#include <algorithm>
#include <array>
#include <components/debug/debuglog.hpp>
#include <components/sceneutil/glextensions.hpp>
#include <components/settings/values.hpp>
namespace SceneUtil
{
void setCameraClearDepth(osg::Camera* camera)
{
camera->setClearDepth(AutoDepth::isRever... | 6,137 | C++ | .cpp | 159 | 27.572327 | 114 | 0.57349 | 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 |
34,749 | riggeometryosgaextension.cpp | OpenMW_openmw/components/sceneutil/riggeometryosgaextension.cpp | #include "riggeometryosgaextension.hpp"
#include <osgAnimation/RigGeometry>
#include <osg/Drawable>
#include <osg/NodeVisitor>
#include <osgUtil/CullVisitor>
#include <components/debug/debuglog.hpp>
#include <components/resource/scenemanager.hpp>
namespace SceneUtil
{
OsgaRigGeometry::OsgaRigGeometry()
... | 11,570 | C++ | .cpp | 257 | 33.136187 | 120 | 0.601048 | 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 |
34,750 | application.cpp | OpenMW_openmw/components/platform/application.cpp | #include "application.hpp"
#include <QFile>
#include <QOperatingSystemVersion>
#include <QStyle>
#include <QStyleHints>
#include <components/debug/debuglog.hpp>
#include <components/misc/scalableicon.hpp>
namespace Platform
{
Application::Application(int& argc, char* argv[])
: QApplication(argc, argv)
... | 3,373 | C++ | .cpp | 99 | 23.747475 | 95 | 0.549923 | 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 |
34,751 | file.stdio.cpp | OpenMW_openmw/components/platform/file.stdio.cpp | #include "file.hpp"
#include <cassert>
#include <errno.h>
#include <stdexcept>
#include <string.h>
#include <string>
#include <components/files/conversion.hpp>
namespace Platform::File
{
static auto getNativeHandle(Handle handle)
{
assert(handle != Handle::Invalid);
return reinterpret_cast<... | 2,718 | C++ | .cpp | 79 | 26.860759 | 107 | 0.610603 | 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 |
34,752 | platform.cpp | OpenMW_openmw/components/platform/platform.cpp | #include "platform.hpp"
#ifdef WIN32
#include <stdio.h>
#endif
namespace Platform
{
static void increaseFileHandleLimit()
{
#ifdef WIN32
// Increase limit for open files at the stream I/O level, see
// https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setmaxstdio?view=msvc-170#... | 482 | C++ | .cpp | 21 | 18.666667 | 109 | 0.679825 | 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 |
34,753 | file.posix.cpp | OpenMW_openmw/components/platform/file.posix.cpp | #include "file.hpp"
#include <cassert>
#include <errno.h>
#include <fcntl.h>
#include <stdexcept>
#include <string.h>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include <components/files/conversion.hpp>
namespace Platform::File
{
static auto getNativeHandle(Handle handle)
{
assert... | 2,733 | C++ | .cpp | 86 | 24.639535 | 112 | 0.604111 | 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 |
34,754 | file.win32.cpp | OpenMW_openmw/components/platform/file.win32.cpp | #include "file.hpp"
#include <cassert>
#include <components/misc/windows.hpp>
#include <stdexcept>
#include <string>
#include <components/files/conversion.hpp>
namespace Platform::File
{
static auto getNativeHandle(Handle handle)
{
assert(handle != Handle::Invalid);
return reinterpret_cast<... | 3,070 | C++ | .cpp | 80 | 30.35 | 109 | 0.629043 | 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 |
34,755 | messagebundles.cpp | OpenMW_openmw/components/l10n/messagebundles.cpp | #include "messagebundles.hpp"
#include <cstring>
#include <unicode/calendar.h>
#include <unicode/errorcode.h>
#include <yaml-cpp/yaml.h>
#include <components/debug/debuglog.hpp>
namespace l10n
{
MessageBundles::MessageBundles(const std::vector<icu::Locale>& preferredLocales, icu::Locale& fallbackLocale)
... | 7,276 | C++ | .cpp | 173 | 31.936416 | 120 | 0.600085 | 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 |
34,756 | manager.cpp | OpenMW_openmw/components/l10n/manager.cpp | #include "manager.hpp"
#include <set>
#include <unicode/errorcode.h>
#include <components/debug/debuglog.hpp>
#include <components/vfs/manager.hpp>
namespace l10n
{
void Manager::setPreferredLocales(const std::vector<std::string>& langs, bool gmstHasPriority)
{
mPreferredLocales.clear();
if ... | 4,037 | C++ | .cpp | 101 | 30.207921 | 119 | 0.563854 | 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 |
34,757 | qttranslations.cpp | OpenMW_openmw/components/l10n/qttranslations.cpp | #include "qttranslations.hpp"
#include <QLibraryInfo>
#include <QLocale>
namespace l10n
{
QTranslator AppTranslator{};
QTranslator ComponentsTranslator{};
QTranslator QtBaseAppTranslator{};
void installQtTranslations(QApplication& app, const QString& appName, const QString& resourcesPath)
... | 1,534 | C++ | .cpp | 32 | 39.125 | 104 | 0.656166 | 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 |
34,758 | fontloader.cpp | OpenMW_openmw/components/fontloader/fontloader.cpp | #include "fontloader.hpp"
#include <array>
#include <stdexcept>
#include <string_view>
#include <osg/Image>
#include <osgDB/WriteFile>
#include <MyGUI_FactoryManager.h>
#include <MyGUI_RenderManager.h>
#include <MyGUI_ResourceManager.h>
#include <MyGUI_ResourceManualFont.h>
#include <MyGUI_ResourceTrueTypeFont.h>
#... | 26,281 | C++ | .cpp | 561 | 35.802139 | 120 | 0.592503 | 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 |
34,759 | transaction.cpp | OpenMW_openmw/components/sqlite3/transaction.cpp | #include "transaction.hpp"
#include <components/debug/debuglog.hpp>
#include <sqlite3.h>
#include <stdexcept>
#include <string>
namespace Sqlite3
{
namespace
{
const char* getBeginStatement(TransactionMode mode)
{
switch (mode)
{
case TransactionMode::... | 1,932 | C++ | .cpp | 51 | 28.196078 | 119 | 0.559232 | 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 |
34,760 | statement.cpp | OpenMW_openmw/components/sqlite3/statement.cpp | #include "statement.hpp"
#include <sqlite3.h>
#include <stdexcept>
#include <string>
#include <string_view>
namespace Sqlite3
{
void CloseSqlite3Stmt::operator()(sqlite3_stmt* handle) const noexcept
{
sqlite3_finalize(handle);
}
StatementHandle makeStatementHandle(sqlite3& db, std::string_vi... | 726 | C++ | .cpp | 21 | 28.809524 | 113 | 0.649073 | 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 |
34,761 | db.cpp | OpenMW_openmw/components/sqlite3/db.cpp | #include "db.hpp"
#include <sqlite3.h>
#include <stdexcept>
#include <string>
#include <string_view>
namespace Sqlite3
{
void CloseSqlite3::operator()(sqlite3* handle) const noexcept
{
sqlite3_close_v2(handle);
}
Db makeDb(std::string_view path, const char* schema)
{
sqlite3* han... | 1,340 | C++ | .cpp | 30 | 37.933333 | 115 | 0.668453 | 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 |
34,762 | loadscrl.cpp | OpenMW_openmw/components/esm4/loadscrl.cpp | /*
Copyright (C) 2019-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 3,126 | C++ | .cpp | 80 | 30.075 | 114 | 0.613382 | 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 |
34,763 | loadmato.cpp | OpenMW_openmw/components/esm4/loadmato.cpp | /*
Copyright (C) 2016, 2018 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | 2,314 | C++ | .cpp | 58 | 33.172414 | 114 | 0.667112 | 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 |
34,764 | loadfurn.cpp | OpenMW_openmw/components/esm4/loadfurn.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 4,726 | C++ | .cpp | 117 | 30.059829 | 114 | 0.565586 | 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 |
34,765 | loadpwat.cpp | OpenMW_openmw/components/esm4/loadpwat.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 2,154 | C++ | .cpp | 53 | 34.830189 | 114 | 0.69636 | 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 |
34,766 | loadhair.cpp | OpenMW_openmw/components/esm4/loadhair.cpp | /*
Copyright (C) 2016, 2018, 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 2,495 | C++ | .cpp | 65 | 30.492308 | 114 | 0.641853 | 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 |
34,767 | loadidlm.cpp | OpenMW_openmw/components/esm4/loadidlm.cpp | /*
Copyright (C) 2019, 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | 3,464 | C++ | .cpp | 88 | 29.375 | 114 | 0.586433 | 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 |
34,768 | loadtes4.cpp | OpenMW_openmw/components/esm4/loadtes4.cpp | /*
Copyright (C) 2015-2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including... | 4,474 | C++ | .cpp | 102 | 32.392157 | 120 | 0.576835 | 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 |
34,769 | loadcont.cpp | OpenMW_openmw/components/esm4/loadcont.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 4,162 | C++ | .cpp | 105 | 29.419048 | 114 | 0.576514 | 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 |
34,770 | loadinfo.cpp | OpenMW_openmw/components/esm4/loadinfo.cpp | /*
Copyright (C) 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 8,687 | C++ | .cpp | 208 | 28.538462 | 114 | 0.523061 | 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 |
34,771 | loadhdpt.cpp | OpenMW_openmw/components/esm4/loadhdpt.cpp | /*
Copyright (C) 2019-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 4,374 | C++ | .cpp | 114 | 27.649123 | 120 | 0.565975 | 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 |
34,772 | loadimod.cpp | OpenMW_openmw/components/esm4/loadimod.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 3,692 | C++ | .cpp | 94 | 29.43617 | 114 | 0.596653 | 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 |
34,773 | loadwrld.cpp | OpenMW_openmw/components/esm4/loadwrld.cpp | /*
Copyright (C) 2015-2016, 2018-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comme... | 7,730 | C++ | .cpp | 179 | 31.603352 | 114 | 0.568565 | 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 |
34,774 | loadaloc.cpp | OpenMW_openmw/components/esm4/loadaloc.cpp | /*
Copyright (C) 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 4,864 | C++ | .cpp | 118 | 29.838983 | 114 | 0.559265 | 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 |
34,775 | loadcrea.cpp | OpenMW_openmw/components/esm4/loadcrea.cpp | /*
Copyright (C) 2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comm... | 6,908 | C++ | .cpp | 177 | 26.288136 | 114 | 0.521215 | 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 |
34,776 | loadotft.cpp | OpenMW_openmw/components/esm4/loadotft.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 2,137 | C++ | .cpp | 54 | 33.240741 | 114 | 0.680831 | 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 |
34,777 | loadclot.cpp | OpenMW_openmw/components/esm4/loadclot.cpp | /*
Copyright (C) 2016, 2018, 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 3,736 | C++ | .cpp | 97 | 28.443299 | 114 | 0.588641 | 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 |
34,778 | loadstat.cpp | OpenMW_openmw/components/esm4/loadstat.cpp | /*
Copyright (C) 2015-2016, 2018 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial... | 4,109 | C++ | .cpp | 100 | 30.52 | 114 | 0.561562 | 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 |
34,779 | loadregn.cpp | OpenMW_openmw/components/esm4/loadregn.cpp | /*
Copyright (C) 2015-2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including... | 5,609 | C++ | .cpp | 137 | 29.080292 | 114 | 0.53684 | 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 |
34,780 | loadeyes.cpp | OpenMW_openmw/components/esm4/loadeyes.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 2,191 | C++ | .cpp | 56 | 32.482143 | 114 | 0.672633 | 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 |
34,781 | loaddoor.cpp | OpenMW_openmw/components/esm4/loaddoor.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 3,801 | C++ | .cpp | 97 | 29.278351 | 114 | 0.58559 | 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 |
34,782 | loadlvln.cpp | OpenMW_openmw/components/esm4/loadlvln.cpp | /*
Copyright (C) 2019-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 4,224 | C++ | .cpp | 102 | 30.127451 | 114 | 0.532733 | 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 |
34,783 | loadidle.cpp | OpenMW_openmw/components/esm4/loadidle.cpp | /*
Copyright (C) 2016, 2018 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | 3,608 | C++ | .cpp | 95 | 26.452632 | 118 | 0.554413 | 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 |
34,784 | loadbook.cpp | OpenMW_openmw/components/esm4/loadbook.cpp | /*
Copyright (C) 2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comm... | 5,235 | C++ | .cpp | 134 | 26.216418 | 114 | 0.525054 | 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 |
34,785 | loadgmst.cpp | OpenMW_openmw/components/esm4/loadgmst.cpp | #include "loadgmst.hpp"
#include <cstdint>
#include <stdexcept>
#include <string>
#include "reader.hpp"
namespace ESM4
{
namespace
{
GameSetting::Data readData(ESM::FormId formId, std::string_view editorId, Reader& reader)
{
if (editorId.empty())
{
read... | 2,388 | C++ | .cpp | 77 | 16.636364 | 113 | 0.412148 | 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 |
34,786 | loadmstt.cpp | OpenMW_openmw/components/esm4/loadmstt.cpp | /*
Copyright (C) 2019, 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | 3,242 | C++ | .cpp | 81 | 31.222222 | 114 | 0.613846 | 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 |
34,787 | loadqust.cpp | OpenMW_openmw/components/esm4/loadqust.cpp | /*
Copyright (C) 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 7,199 | C++ | .cpp | 173 | 29.450867 | 114 | 0.519469 | 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 |
34,788 | loadslgm.cpp | OpenMW_openmw/components/esm4/loadslgm.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 2,970 | C++ | .cpp | 78 | 29.025641 | 114 | 0.612153 | 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 |
34,789 | loadalch.cpp | OpenMW_openmw/components/esm4/loadalch.cpp | /*
Copyright (C) 2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comm... | 4,524 | C++ | .cpp | 117 | 27.717949 | 114 | 0.559499 | 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 |
34,790 | reader.cpp | OpenMW_openmw/components/esm4/reader.cpp | /*
Copyright (C) 2015-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 35,124 | C++ | .cpp | 811 | 32.720099 | 120 | 0.58651 | 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 |
34,791 | loadsndr.cpp | OpenMW_openmw/components/esm4/loadsndr.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 3,676 | C++ | .cpp | 92 | 29.782609 | 114 | 0.595185 | 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 |
34,792 | loadsgst.cpp | OpenMW_openmw/components/esm4/loadsgst.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 3,597 | C++ | .cpp | 97 | 26.474227 | 114 | 0.573968 | 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 |
34,793 | loadgras.cpp | OpenMW_openmw/components/esm4/loadgras.cpp | /*
Copyright (C) 2016, 2018 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | 2,466 | C++ | .cpp | 63 | 31.666667 | 114 | 0.648264 | 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 |
34,794 | loadlvli.cpp | OpenMW_openmw/components/esm4/loadlvli.cpp | /*
Copyright (C) 2016, 2018-2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial... | 4,299 | C++ | .cpp | 119 | 27.07563 | 114 | 0.587458 | 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 |
34,795 | loadammo.cpp | OpenMW_openmw/components/esm4/loadammo.cpp | /*
Copyright (C) 2016, 2018-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial... | 6,739 | C++ | .cpp | 170 | 25.135294 | 114 | 0.502669 | 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 |
34,796 | loadsoun.cpp | OpenMW_openmw/components/esm4/loadsoun.cpp | /*
Copyright (C) 2016, 2018, 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 2,761 | C++ | .cpp | 71 | 30.28169 | 114 | 0.615011 | 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 |
34,797 | loadpgre.cpp | OpenMW_openmw/components/esm4/loadpgre.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 3,738 | C++ | .cpp | 92 | 31.771739 | 114 | 0.594275 | 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 |
34,798 | loadscpt.cpp | OpenMW_openmw/components/esm4/loadscpt.cpp | /*
Copyright (C) 2019-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 5,466 | C++ | .cpp | 138 | 27.028986 | 114 | 0.517702 | 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 |
34,799 | loadcell.cpp | OpenMW_openmw/components/esm4/loadcell.cpp | /*
Copyright (C) 2015-2016, 2018-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comme... | 9,966 | C++ | .cpp | 239 | 29.133891 | 114 | 0.53126 | 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 |
34,800 | loadscol.cpp | OpenMW_openmw/components/esm4/loadscol.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 2,659 | C++ | .cpp | 65 | 33.523077 | 114 | 0.655947 | 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 |
34,801 | loadpack.cpp | OpenMW_openmw/components/esm4/loadpack.cpp | /*
Copyright (C) 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 6,477 | C++ | .cpp | 160 | 28.21875 | 114 | 0.514526 | 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 |
34,802 | loadachr.cpp | OpenMW_openmw/components/esm4/loadachr.cpp | /*
Copyright (C) 2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comm... | 5,291 | C++ | .cpp | 134 | 27.708955 | 117 | 0.533139 | 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 |
34,803 | loadtree.cpp | OpenMW_openmw/components/esm4/loadtree.cpp | /*
Copyright (C) 2016, 2018 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | 2,705 | C++ | .cpp | 69 | 31.246377 | 114 | 0.633765 | 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 |
34,804 | loadland.cpp | OpenMW_openmw/components/esm4/loadland.cpp | /*
Copyright (C) 2015-2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including... | 8,961 | C++ | .cpp | 216 | 29.939815 | 119 | 0.529405 | 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 |
34,805 | loadroad.cpp | OpenMW_openmw/components/esm4/loadroad.cpp | /*
Copyright (C) 2020 - 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial app... | 3,695 | C++ | .cpp | 88 | 29.340909 | 114 | 0.533742 | 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 |
34,806 | loadtact.cpp | OpenMW_openmw/components/esm4/loadtact.cpp | /*
Copyright (C) 2019-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 3,345 | C++ | .cpp | 84 | 30.678571 | 114 | 0.610957 | 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 |
34,807 | loadflor.cpp | OpenMW_openmw/components/esm4/loadflor.cpp | /*
Copyright (C) 2016, 2018, 2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | 3,655 | C++ | .cpp | 93 | 29.698925 | 114 | 0.590986 | 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 |
34,808 | loadmusc.cpp | OpenMW_openmw/components/esm4/loadmusc.cpp | /*
Copyright (C) 2020 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 2,350 | C++ | .cpp | 57 | 34.77193 | 114 | 0.676316 | 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 |
34,809 | loadkeym.cpp | OpenMW_openmw/components/esm4/loadkeym.cpp | /*
Copyright (C) 2016, 2018, 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comm... | 3,662 | C++ | .cpp | 94 | 29.148936 | 114 | 0.588583 | 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 |
34,810 | loadnote.cpp | OpenMW_openmw/components/esm4/loadnote.cpp | /*
Copyright (C) 2019-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 3,163 | C++ | .cpp | 81 | 30.049383 | 114 | 0.608143 | 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 |
34,811 | loadpgrd.cpp | OpenMW_openmw/components/esm4/loadpgrd.cpp | /*
Copyright (C) 2020-2021 cc9cii
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appli... | 5,748 | C++ | .cpp | 133 | 30 | 114 | 0.51127 | 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.