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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
36,243 | formid.hpp | OpenMW_openmw/components/esm/formid.hpp | #ifndef COMPONENT_ESM_FORMID_H
#define COMPONENT_ESM_FORMID_H
#include <cstdint>
#include <cstring>
#include <ostream>
#include <string>
#include <tuple>
namespace ESM
{
using FormId32 = uint32_t;
struct FormId
{
uint32_t mIndex = 0;
int32_t mContentFile = -1;
constexpr bool hasCo... | 1,782 | C++ | .h | 51 | 29 | 114 | 0.634671 | OpenMW/openmw | 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,244 | esmcommon.hpp | OpenMW_openmw/components/esm/esmcommon.hpp | #ifndef OPENMW_ESM_COMMON_H
#define OPENMW_ESM_COMMON_H
#include <cassert>
#include <cstdint>
#include <cstring>
#include <filesystem>
#include <limits>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>
namespace ESM
{
enum RecordFlag
{
// This flag exists, but is not u... | 6,771 | C++ | .h | 173 | 29.953757 | 116 | 0.577392 | OpenMW/openmw | 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,245 | indexrefid.hpp | OpenMW_openmw/components/esm/indexrefid.hpp | #ifndef OPENMW_COMPONENTS_ESM_INDEXREFID_HPP
#define OPENMW_COMPONENTS_ESM_INDEXREFID_HPP
#include <functional>
#include <iosfwd>
#include "defs.hpp"
namespace ESM
{
class IndexRefId
{
public:
constexpr explicit IndexRefId(RecNameInts recordType, std::uint32_t value) noexcept
: mRecor... | 1,547 | C++ | .h | 45 | 27.688889 | 116 | 0.653432 | OpenMW/openmw | 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,246 | position.hpp | OpenMW_openmw/components/esm/position.hpp | #ifndef OPENMW_ESM3_POSITION_H
#define OPENMW_ESM3_POSITION_H
#include <components/misc/concepts.hpp>
#include <osg/Vec3f>
#include <tuple>
namespace ESM
{
// Position and rotation
struct Position
{
float pos[3]{};
// In radians
float rot[3]{};
osg::Vec3f asVec3() const {... | 1,457 | C++ | .h | 38 | 32.078947 | 108 | 0.587527 | OpenMW/openmw | 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,247 | typetraits.hpp | OpenMW_openmw/components/esm/typetraits.hpp | #ifndef OPENMW_COMPONENTS_ESM_TYPETRAITS
#define OPENMW_COMPONENTS_ESM_TYPETRAITS
#include <type_traits>
namespace ESM
{
template <class T, class = std::void_t<>>
struct HasId : std::false_type
{
};
template <class T>
struct HasId<T, std::void_t<decltype(T::mId)>> : std::true_type
{
}... | 733 | C++ | .h | 27 | 22.888889 | 73 | 0.659026 | OpenMW/openmw | 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,248 | records.hpp | OpenMW_openmw/components/esm/records.hpp | #ifndef OPENMW_ESM_RECORDS_H
#define OPENMW_ESM_RECORDS_H
#include <components/esm3/loadacti.hpp>
#include <components/esm3/loadalch.hpp>
#include <components/esm3/loadappa.hpp>
#include <components/esm3/loadarmo.hpp>
#include <components/esm3/loadbody.hpp>
#include <components/esm3/loadbook.hpp>
#include <components/... | 3,233 | C++ | .h | 82 | 38.390244 | 48 | 0.819886 | OpenMW/openmw | 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,249 | attr.hpp | OpenMW_openmw/components/esm/attr.hpp | #ifndef OPENMW_ESM_ATTR_H
#define OPENMW_ESM_ATTR_H
#include <string>
#include <string_view>
#include "defs.hpp"
#include "refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Attribute definitions
*/
struct Attribute
{
constexpr static RecNameInts sRecordId = REC... | 1,266 | C++ | .h | 38 | 26.973684 | 108 | 0.687449 | OpenMW/openmw | 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,250 | format.hpp | OpenMW_openmw/components/esm/format.hpp | #ifndef COMPONENT_ESM_FORMAT_H
#define COMPONENT_ESM_FORMAT_H
#include "components/esm/fourcc.hpp"
#include <cstdint>
#include <iosfwd>
#include <string_view>
namespace ESM
{
enum class Format : std::uint32_t
{
Tes3 = fourCC("TES3"),
Tes4 = fourCC("TES4"),
};
Format readFormat(std::i... | 396 | C++ | .h | 17 | 19.823529 | 47 | 0.697051 | OpenMW/openmw | 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,251 | exteriorcelllocation.hpp | OpenMW_openmw/components/esm/exteriorcelllocation.hpp | #ifndef OPENMW_COMPONENTS_ESM_EXTERIORCELLLOCATION_H
#define OPENMW_COMPONENTS_ESM_EXTERIORCELLLOCATION_H
#include "refid.hpp"
#include <components/esm3/loadcell.hpp>
#include <ostream>
#include <tuple>
namespace ESM
{
struct ExteriorCellLocation
{
int mX = 0;
int mY = 0;
ESM::RefId ... | 1,659 | C++ | .h | 47 | 27.914894 | 119 | 0.615 | OpenMW/openmw | 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,252 | esmterrain.hpp | OpenMW_openmw/components/esm/esmterrain.hpp | #ifndef COMPONENTS_ESM_ESMTERRAIN
#define COMPONENTS_ESM_ESMTERRAIN
#include <cstdint>
#include <memory>
#include <span>
#include <vector>
namespace ESM4
{
struct Land;
}
namespace ESM
{
struct Land;
struct LandRecordData;
class LandData
{
public:
LandData();
LandData(const E... | 1,577 | C++ | .h | 47 | 27.276596 | 80 | 0.641919 | OpenMW/openmw | 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,253 | common.hpp | OpenMW_openmw/components/esm/common.hpp | #ifndef COMPONENT_ESM_COMMON_H
#define COMPONENT_ESM_COMMON_H
#include <cstdint>
#include <string>
namespace ESM
{
#pragma pack(push, 1)
union ESMVersion
{
float f;
std::uint32_t ui;
};
union TypeId
{
std::uint32_t value;
char name[4]; // record type in ascii
}... | 1,104 | C++ | .h | 40 | 21.825 | 85 | 0.618732 | OpenMW/openmw | 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,254 | vector3.hpp | OpenMW_openmw/components/esm/vector3.hpp | #ifndef OPENMW_COMPONENTS_ESM_VECTOR3_H
#define OPENMW_COMPONENTS_ESM_VECTOR3_H
#include <osg/Vec3f>
namespace ESM
{
// format 0, savegames only
struct Vector3
{
float mValues[3];
Vector3() = default;
Vector3(const osg::Vec3f& v)
: mValues{ v.x(), v.y(), v.z() }
... | 448 | C++ | .h | 18 | 19.333333 | 94 | 0.591981 | OpenMW/openmw | 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,255 | util.hpp | OpenMW_openmw/components/esm/util.hpp | #ifndef OPENMW_COMPONENTS_ESM_UTIL_H
#define OPENMW_COMPONENTS_ESM_UTIL_H
#include <cmath>
#include <osg/Vec2f>
#include "components/esm3/loadcell.hpp"
#include "components/misc/constants.hpp"
#include "exteriorcelllocation.hpp"
#include "refid.hpp"
namespace ESM
{
inline bool isEsm4Ext(ESM::RefId worldspaceId... | 1,164 | C++ | .h | 30 | 34.4 | 120 | 0.739324 | OpenMW/openmw | 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,256 | additivelayer.hpp | OpenMW_openmw/components/myguiplatform/additivelayer.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_ADDITIVELAYER
#define OPENMW_COMPONENTS_MYGUIPLATFORM_ADDITIVELAYER
#include <MyGUI_OverlappedLayer.h>
#include <osg/ref_ptr>
namespace osg
{
class StateSet;
}
namespace osgMyGUI
{
/// @brief A Layer rendering with additive blend mode.
class AdditiveLayer final :... | 635 | C++ | .h | 23 | 23.217391 | 82 | 0.734219 | OpenMW/openmw | 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,257 | myguirendermanager.hpp | OpenMW_openmw/components/myguiplatform/myguirendermanager.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIRENDERMANAGER_H
#define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIRENDERMANAGER_H
#include <MyGUI_RenderManager.h>
#include <osg/ref_ptr>
namespace Resource
{
class ImageManager;
}
namespace Shader
{
class ShaderManager;
}
namespace osgViewer
{
class Viewer;
}
n... | 3,750 | C++ | .h | 93 | 33.086022 | 116 | 0.681391 | OpenMW/openmw | 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,258 | myguiplatform.hpp | OpenMW_openmw/components/myguiplatform/myguiplatform.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
#define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
#include <filesystem>
#include <memory>
#include <string>
namespace osgViewer
{
class Viewer;
}
namespace osg
{
class Group;
}
namespace Resource
{
class ImageManager;
}
namespace MyGUI
{
cl... | 1,161 | C++ | .h | 48 | 19.854167 | 102 | 0.716621 | OpenMW/openmw | 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,259 | myguidatamanager.hpp | OpenMW_openmw/components/myguiplatform/myguidatamanager.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIDATAMANAGER_H
#define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIDATAMANAGER_H
#include <MyGUI_DataManager.h>
#include <filesystem>
#include <string>
namespace VFS
{
class Manager;
}
namespace osgMyGUI
{
class DataManager : public MyGUI::DataManager
{
public:
... | 1,552 | C++ | .h | 43 | 28.976744 | 96 | 0.655957 | OpenMW/openmw | 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,260 | myguitexture.hpp | OpenMW_openmw/components/myguiplatform/myguitexture.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUITEXTURE_H
#define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUITEXTURE_H
#include <MyGUI_ITexture.h>
#include <osg/ref_ptr>
namespace osg
{
class Image;
class Texture2D;
class StateSet;
}
namespace Resource
{
class ImageManager;
}
namespace osgMyGUI
{
class... | 2,087 | C++ | .h | 53 | 32.698113 | 112 | 0.688028 | OpenMW/openmw | 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,261 | myguiloglistener.hpp | OpenMW_openmw/components/myguiplatform/myguiloglistener.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_LOGLISTENER_H
#define OPENMW_COMPONENTS_MYGUIPLATFORM_LOGLISTENER_H
#include <filesystem>
#include <fstream>
#include <string>
#include <MyGUI_ConsoleLogListener.h>
#include <MyGUI_ILogListener.h>
#include <MyGUI_LevelLogFilter.h>
#include <MyGUI_LogSource.h>
namespace osgMyGU... | 1,883 | C++ | .h | 55 | 27.2 | 118 | 0.664459 | OpenMW/openmw | 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,262 | scalinglayer.hpp | OpenMW_openmw/components/myguiplatform/scalinglayer.hpp | #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_SCALINGLAYER
#define OPENMW_COMPONENTS_MYGUIPLATFORM_SCALINGLAYER
#include <MyGUI_OverlappedLayer.h>
namespace osgMyGUI
{
///@brief A Layer that lays out and renders widgets in screen-relative coordinates. The "Size" property determines
/// the size of the virtual scre... | 1,176 | C++ | .h | 24 | 43.416667 | 119 | 0.739054 | OpenMW/openmw | 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,263 | bulletnifloader.hpp | OpenMW_openmw/components/nifbullet/bulletnifloader.hpp | #ifndef OPENMW_COMPONENTS_NIFBULLET_BULLETNIFLOADER_HPP
#define OPENMW_COMPONENTS_NIFBULLET_BULLETNIFLOADER_HPP
#include <cassert>
#include <map>
#include <set>
#include <string>
#include <osg/BoundingBox>
#include <osg/Referenced>
#include <osg/ref_ptr>
#include <BulletCollision/CollisionShapes/btCompoundShape.h>
... | 1,992 | C++ | .h | 58 | 28.465517 | 108 | 0.690141 | OpenMW/openmw | 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,264 | node.hpp | OpenMW_openmw/components/nif/node.hpp | #ifndef OPENMW_COMPONENTS_NIF_NODE_HPP
#define OPENMW_COMPONENTS_NIF_NODE_HPP
#include <array>
#include <unordered_map>
#include <osg/Plane>
#include "base.hpp"
class btCollisionShape;
namespace Nif
{
struct NiNode;
struct BoundingVolume
{
enum Type : uint32_t
{
BASE_BV = ... | 12,910 | C++ | .h | 426 | 21.605634 | 93 | 0.600323 | OpenMW/openmw | 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,265 | physics.hpp | OpenMW_openmw/components/nif/physics.hpp | #ifndef OPENMW_COMPONENTS_NIF_PHYSICS_HPP
#define OPENMW_COMPONENTS_NIF_PHYSICS_HPP
#include "extra.hpp"
#include "niftypes.hpp"
#include "record.hpp"
#include "recordptr.hpp"
#include <osg/Plane>
#include <osg/Quat>
#include <osg/Vec3f>
#include <osg/Vec4f>
#include <cstdint>
#include <vector>
// This header conta... | 22,594 | C++ | .h | 770 | 21.825974 | 90 | 0.649201 | OpenMW/openmw | 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,266 | recordptr.hpp | OpenMW_openmw/components/nif/recordptr.hpp | #ifndef OPENMW_COMPONENTS_NIF_RECORDPTR_HPP
#define OPENMW_COMPONENTS_NIF_RECORDPTR_HPP
#include <vector>
#include "niffile.hpp"
#include "nifstream.hpp"
namespace Nif
{
/** A reference to another record. It is read as an index from the
NIF, and later looked up in the index table to get an actual
... | 8,110 | C++ | .h | 217 | 30.658986 | 88 | 0.705591 | OpenMW/openmw | 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,267 | niftypes.hpp | OpenMW_openmw/components/nif/niftypes.hpp | /*
OpenMW - The completely unofficial reimplementation of Morrowind
Copyright (C) 2008-2010 Nicolay Korslund
Email: < korslund@gmail.com >
WWW: https://openmw.org/
This file (nif_types.h) is part of the OpenMW package.
OpenMW is distributed as free software: you can redistribute it
and/or modify it und... | 3,410 | C++ | .h | 94 | 27.468085 | 117 | 0.574339 | OpenMW/openmw | 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,268 | texture.hpp | OpenMW_openmw/components/nif/texture.hpp | #ifndef OPENMW_COMPONENTS_NIF_TEXTURE_HPP
#define OPENMW_COMPONENTS_NIF_TEXTURE_HPP
#include "base.hpp"
namespace Nif
{
struct NiTexture : public NiObjectNET
{
};
struct NiSourceTexture : public NiTexture
{
enum class PixelLayout : uint32_t
{
Palette = 0,
... | 1,684 | C++ | .h | 66 | 16.227273 | 51 | 0.519651 | OpenMW/openmw | 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,269 | record.hpp | OpenMW_openmw/components/nif/record.hpp | /*
OpenMW - The completely unofficial reimplementation of Morrowind
Copyright (C) 2008-2010 Nicolay Korslund
Email: < korslund@gmail.com >
WWW: https://openmw.org/
This file (record.h) is part of the OpenMW package.
OpenMW is distributed as free software: you can redistribute it
and/or modify it under ... | 10,812 | C++ | .h | 327 | 24.617737 | 69 | 0.688509 | OpenMW/openmw | 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,270 | extra.hpp | OpenMW_openmw/components/nif/extra.hpp | #ifndef OPENMW_COMPONENTS_NIF_EXTRA_HPP
#define OPENMW_COMPONENTS_NIF_EXTRA_HPP
#include "base.hpp"
#include "node.hpp"
namespace Nif
{
template <typename T>
struct TypedExtra : public Extra
{
T mData;
void read(NIFStream* nif) override
{
Extra::read(nif);
... | 5,922 | C++ | .h | 200 | 21.585 | 69 | 0.623654 | OpenMW/openmw | 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,271 | controller.hpp | OpenMW_openmw/components/nif/controller.hpp | #ifndef OPENMW_COMPONENTS_NIF_CONTROLLER_HPP
#define OPENMW_COMPONENTS_NIF_CONTROLLER_HPP
#include "base.hpp"
#include "niftypes.hpp"
#include "property.hpp"
namespace Nif
{
struct ControlledBlock
{
std::string mTargetName;
NiInterpolatorPtr mInterpolator;
NiTimeControllerPtr mControl... | 17,596 | C++ | .h | 526 | 25.325095 | 112 | 0.665389 | OpenMW/openmw | 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,272 | nifkey.hpp | OpenMW_openmw/components/nif/nifkey.hpp | /// File to handle keys used by nif file records
#ifndef OPENMW_COMPONENTS_NIF_NIFKEY_HPP
#define OPENMW_COMPONENTS_NIF_NIFKEY_HPP
#include <map>
#include "exception.hpp"
#include "niffile.hpp"
#include "nifstream.hpp"
namespace Nif
{
enum InterpolationType
{
InterpolationType_Unknown = 0,
... | 5,673 | C++ | .h | 141 | 28.801418 | 118 | 0.548738 | OpenMW/openmw | 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,273 | parent.hpp | OpenMW_openmw/components/nif/parent.hpp | #ifndef OPENMW_COMPONENTS_NIF_PARENT_HPP
#define OPENMW_COMPONENTS_NIF_PARENT_HPP
namespace Nif
{
struct NiNode;
struct Parent
{
const NiNode& mNiNode;
const Parent* mParent;
};
}
#endif
| 222 | C++ | .h | 12 | 14.583333 | 40 | 0.700483 | OpenMW/openmw | 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,274 | niffile.hpp | OpenMW_openmw/components/nif/niffile.hpp | /// Main header for reading .nif files
#ifndef OPENMW_COMPONENTS_NIF_NIFFILE_HPP
#define OPENMW_COMPONENTS_NIF_NIFFILE_HPP
#include <atomic>
#include <cstdint>
#include <vector>
#include <components/files/istreamptr.hpp>
#include "record.hpp"
namespace ToUTF8
{
class StatelessUtf8Encoder;
}
namespace Nif
{
... | 5,127 | C++ | .h | 122 | 33.721311 | 108 | 0.630189 | OpenMW/openmw | 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,275 | data.hpp | OpenMW_openmw/components/nif/data.hpp | #ifndef OPENMW_COMPONENTS_NIF_DATA_HPP
#define OPENMW_COMPONENTS_NIF_DATA_HPP
#include "nifkey.hpp"
#include "niftypes.hpp" // NiTransform
#include "node.hpp"
#include "recordptr.hpp"
namespace Nif
{
// Common ancestor for several data classes
struct NiGeometryData : public Record
{
// Interpreta... | 11,546 | C++ | .h | 387 | 20.534884 | 74 | 0.573236 | OpenMW/openmw | 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,276 | nifstream.hpp | OpenMW_openmw/components/nif/nifstream.hpp | /// Functions used to read raw binary data from .nif files
#ifndef OPENMW_COMPONENTS_NIF_NIFSTREAM_HPP
#define OPENMW_COMPONENTS_NIF_NIFSTREAM_HPP
#include <array>
#include <cassert>
#include <istream>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <type_traits>
#include <vector>
#include <compo... | 6,898 | C++ | .h | 173 | 32.537572 | 118 | 0.633348 | OpenMW/openmw | 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,277 | exception.hpp | OpenMW_openmw/components/nif/exception.hpp | #ifndef OPENMW_COMPONENTS_NIF_EXCEPTION_HPP
#define OPENMW_COMPONENTS_NIF_EXCEPTION_HPP
#include <stdexcept>
#include <string>
namespace Nif
{
struct Exception : std::runtime_error
{
explicit Exception(std::string_view message, std::string_view path)
: std::runtime_error([&] {
... | 560 | C++ | .h | 21 | 18.857143 | 75 | 0.55597 | OpenMW/openmw | 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,278 | base.hpp | OpenMW_openmw/components/nif/base.hpp | /// This file holds the main classes of NIF Records used by everything else.
#ifndef OPENMW_COMPONENTS_NIF_BASE_HPP
#define OPENMW_COMPONENTS_NIF_BASE_HPP
#include "recordptr.hpp"
namespace Nif
{
struct File;
struct Record;
struct Stream;
// An extra data record. All the extra data connected to an ob... | 1,759 | C++ | .h | 55 | 24.563636 | 109 | 0.63631 | OpenMW/openmw | 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,279 | property.hpp | OpenMW_openmw/components/nif/property.hpp | #ifndef OPENMW_COMPONENTS_NIF_PROPERTY_HPP
#define OPENMW_COMPONENTS_NIF_PROPERTY_HPP
#include "base.hpp"
namespace Nif
{
struct NiProperty : NiObjectNET
{
};
struct NiTextureTransform
{
enum class Method : uint32_t
{
// Back = inverse of mOrigin.
// FromM... | 15,995 | C++ | .h | 497 | 23.219316 | 94 | 0.599506 | OpenMW/openmw | 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,280 | particle.hpp | OpenMW_openmw/components/nif/particle.hpp | #ifndef OPENMW_COMPONENTS_NIF_PARTICLE_HPP
#define OPENMW_COMPONENTS_NIF_PARTICLE_HPP
#include "base.hpp"
#include "controller.hpp"
#include "data.hpp"
#include "node.hpp"
namespace Nif
{
struct NiParticleModifier : Record
{
NiParticleModifierPtr mNext;
NiTimeControllerPtr mController;
... | 14,214 | C++ | .h | 475 | 22.145263 | 79 | 0.64626 | OpenMW/openmw | 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,281 | effect.hpp | OpenMW_openmw/components/nif/effect.hpp | /*
OpenMW - The completely unofficial reimplementation of Morrowind
Copyright (C) 2008-2010 Nicolay Korslund
Email: < korslund@gmail.com >
WWW: https://openmw.org/
This file (effect.h) is part of the OpenMW package.
OpenMW is distributed as free software: you can redistribute it
and/or modify it under ... | 2,770 | C++ | .h | 85 | 25.623529 | 69 | 0.662664 | OpenMW/openmw | 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,282 | controlopcodes.hpp | OpenMW_openmw/components/interpreter/controlopcodes.hpp | #ifndef INTERPRETER_CONTROLOPCODES_H_INCLUDED
#define INTERPRETER_CONTROLOPCODES_H_INCLUDED
#include <stdexcept>
#include "opcodes.hpp"
#include "runtime.hpp"
namespace Interpreter
{
class OpReturn : public Opcode0
{
public:
void execute(Runtime& runtime) override { runtime.setPC(-1); }
};
... | 1,504 | C++ | .h | 56 | 19.071429 | 70 | 0.570334 | 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,283 | miscopcodes.hpp | OpenMW_openmw/components/interpreter/miscopcodes.hpp | #ifndef INTERPRETER_MISCOPCODES_H_INCLUDED
#define INTERPRETER_MISCOPCODES_H_INCLUDED
#include <algorithm>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include "defines.hpp"
#include "opcodes.hpp"
#include "runtime.hpp"
#include <components/misc/messageformatparser.hpp>
namespace Int... | 4,831 | C++ | .h | 136 | 22.661765 | 109 | 0.521646 | OpenMW/openmw | 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,284 | program.hpp | OpenMW_openmw/components/interpreter/program.hpp | #ifndef OPENMW_COMPONENTS_INTERPRETER_PROGRAM_H
#define OPENMW_COMPONENTS_INTERPRETER_PROGRAM_H
#include "types.hpp"
#include <string>
#include <vector>
namespace Interpreter
{
struct Program
{
std::vector<Type_Code> mInstructions;
std::vector<Type_Integer> mIntegers;
std::vector<Type... | 397 | C++ | .h | 16 | 20.8125 | 47 | 0.718833 | OpenMW/openmw | 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,285 | types.hpp | OpenMW_openmw/components/interpreter/types.hpp | #ifndef INTERPRETER_TYPES_H_INCLUDED
#define INTERPRETER_TYPES_H_INCLUDED
#include <cstdint>
#include <stdexcept>
namespace Interpreter
{
typedef std::uint32_t Type_Code;
typedef std::int16_t Type_Short;
typedef std::int32_t Type_Integer;
typedef float Type_Float;
union Data
{
Type... | 712 | C++ | .h | 32 | 17.3125 | 58 | 0.659701 | 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,286 | context.hpp | OpenMW_openmw/components/interpreter/context.hpp | #ifndef INTERPRETER_CONTEXT_H_INCLUDED
#define INTERPRETER_CONTEXT_H_INCLUDED
#include <components/esm/refid.hpp>
#include <string>
#include <string_view>
#include <vector>
namespace Interpreter
{
class Context
{
public:
virtual ~Context() {}
virtual ESM::RefId getTarget() const = 0;
... | 2,981 | C++ | .h | 56 | 45.089286 | 104 | 0.67383 | OpenMW/openmw | 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,287 | opcodes.hpp | OpenMW_openmw/components/interpreter/opcodes.hpp | #ifndef INTERPRETER_OPCODES_H_INCLUDED
#define INTERPRETER_OPCODES_H_INCLUDED
namespace Interpreter
{
class Runtime;
/// opcode for 0 arguments
class Opcode0
{
public:
virtual void execute(Runtime& runtime) = 0;
virtual ~Opcode0() {}
};
/// opcode for 1 argument
class... | 467 | C++ | .h | 21 | 17.285714 | 70 | 0.649203 | 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,288 | interpreter.hpp | OpenMW_openmw/components/interpreter/interpreter.hpp | #ifndef INTERPRETER_INTERPRETER_H_INCLUDED
#define INTERPRETER_INTERPRETER_H_INCLUDED
#include <map>
#include <memory>
#include <stack>
#include <stdexcept>
#include <utility>
#include <components/misc/strings/format.hpp>
#include "opcodes.hpp"
#include "program.hpp"
#include "runtime.hpp"
#include "types.hpp"
name... | 2,344 | C++ | .h | 63 | 29.587302 | 96 | 0.617491 | OpenMW/openmw | 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,289 | installopcodes.hpp | OpenMW_openmw/components/interpreter/installopcodes.hpp | #ifndef INTERPRETER_INSTALLOPCODES_H_INCLUDED
#define INTERPRETER_INSTALLOPCODES_H_INCLUDED
namespace Interpreter
{
class Interpreter;
void installOpcodes(Interpreter& interpreter);
}
#endif
| 202 | C++ | .h | 8 | 22.875 | 50 | 0.842932 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
36,290 | runtime.hpp | OpenMW_openmw/components/interpreter/runtime.hpp | #ifndef INTERPRETER_RUNTIME_H_INCLUDED
#define INTERPRETER_RUNTIME_H_INCLUDED
#include <string_view>
#include <vector>
#include "types.hpp"
namespace Interpreter
{
class Context;
struct Program;
/// Runtime data and engine interface
class Runtime
{
Context* mContext = nullptr;
c... | 1,374 | C++ | .h | 42 | 25.642857 | 88 | 0.624524 | 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,291 | defines.hpp | OpenMW_openmw/components/interpreter/defines.hpp | #ifndef INTERPRETER_DEFINES_H_INCLUDED
#define INTERPRETER_DEFINES_H_INCLUDED
#include "context.hpp"
#include <string>
namespace Interpreter
{
std::string fixDefinesDialog(std::string_view text, Context& context);
std::string fixDefinesMsgBox(std::string_view text, Context& context);
std::string fixDefine... | 378 | C++ | .h | 11 | 32 | 74 | 0.788462 | 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,292 | localopcodes.hpp | OpenMW_openmw/components/interpreter/localopcodes.hpp | #ifndef INTERPRETER_LOCALOPCODES_H_INCLUDED
#define INTERPRETER_LOCALOPCODES_H_INCLUDED
#include "context.hpp"
#include "opcodes.hpp"
#include "runtime.hpp"
namespace Interpreter
{
class OpStoreLocalShort : public Opcode0
{
public:
void execute(Runtime& runtime) override
{
Type... | 8,657 | C++ | .h | 261 | 23.961686 | 85 | 0.593533 | 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,293 | mathopcodes.hpp | OpenMW_openmw/components/interpreter/mathopcodes.hpp | #ifndef INTERPRETER_MATHOPCODES_H_INCLUDED
#define INTERPRETER_MATHOPCODES_H_INCLUDED
#include <cmath>
#include <stdexcept>
#include "opcodes.hpp"
#include "runtime.hpp"
namespace Interpreter
{
template <typename T>
class OpAddInt : public Opcode0
{
public:
void execute(Runtime& runtime) over... | 1,850 | C++ | .h | 68 | 19.441176 | 77 | 0.561294 | OpenMW/openmw | 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,294 | genericopcodes.hpp | OpenMW_openmw/components/interpreter/genericopcodes.hpp | #ifndef INTERPRETER_GENERICOPCODES_H_INCLUDED
#define INTERPRETER_GENERICOPCODES_H_INCLUDED
#include "opcodes.hpp"
#include "runtime.hpp"
namespace Interpreter
{
class OpPushInt : public Opcode1
{
public:
void execute(Runtime& runtime, unsigned int arg0) override { runtime.push(static_cast<Type_In... | 2,060 | C++ | .h | 73 | 20.520548 | 117 | 0.598584 | 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,295 | translation.hpp | OpenMW_openmw/components/translation/translation.hpp | #ifndef COMPONENTS_TRANSLATION_DATA_H
#define COMPONENTS_TRANSLATION_DATA_H
#include <components/files/collections.hpp>
#include <components/to_utf8/to_utf8.hpp>
namespace Translation
{
class Storage
{
public:
Storage();
void loadTranslationData(const Files::Collections& dataFileCollectio... | 1,205 | C++ | .h | 27 | 38.148148 | 117 | 0.729846 | 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,296 | lexer.hpp | OpenMW_openmw/components/fx/lexer.hpp | #ifndef OPENMW_COMPONENTS_FX_LEXER_H
#define OPENMW_COMPONENTS_FX_LEXER_H
#include <cstddef>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include "lexer_types.hpp"
namespace fx
{
namespace Lexer
{
struct LexerException : std::runtime_error
{
L... | 1,871 | C++ | .h | 62 | 19.919355 | 119 | 0.538719 | OpenMW/openmw | 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,297 | widgets.hpp | OpenMW_openmw/components/fx/widgets.hpp | #ifndef OPENMW_COMPONENTS_FX_WIDGETS_H
#define OPENMW_COMPONENTS_FX_WIDGETS_H
#include <MyGUI_Button.h>
#include <MyGUI_Delegate.h>
#include <MyGUI_InputManager.h>
#include <MyGUI_MouseButton.h>
#include <MyGUI_RTTI.h>
#include <MyGUI_TextBox.h>
#include <MyGUI_Widget.h>
#include <algorithm>
#include <memory>
#includ... | 9,303 | C++ | .h | 236 | 26.385593 | 120 | 0.539896 | OpenMW/openmw | 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,298 | lexer_types.hpp | OpenMW_openmw/components/fx/lexer_types.hpp | #ifndef OPENMW_COMPONENTS_FX_LEXER_TYPES_H
#define OPENMW_COMPONENTS_FX_LEXER_TYPES_H
#include <string_view>
#include <variant>
namespace fx
{
namespace Lexer
{
struct Float
{
inline static constexpr std::string_view repr = "float";
float value = 0.0;
};
... | 5,023 | C++ | .h | 164 | 21 | 120 | 0.547364 | OpenMW/openmw | 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,299 | types.hpp | OpenMW_openmw/components/fx/types.hpp | #ifndef OPENMW_COMPONENTS_FX_TYPES_H
#define OPENMW_COMPONENTS_FX_TYPES_H
#include <optional>
#include <variant>
#include <osg/Texture2D>
#include <osg/Uniform>
#include <components/debug/debuglog.hpp>
#include <components/misc/strings/format.hpp>
#include <components/sceneutil/depth.hpp>
#include <components/settin... | 11,338 | C++ | .h | 260 | 24.776923 | 119 | 0.421549 | OpenMW/openmw | 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,300 | parse_constants.hpp | OpenMW_openmw/components/fx/parse_constants.hpp | #ifndef OPENMW_COMPONENTS_FX_PARSE_CONSTANTS_H
#define OPENMW_COMPONENTS_FX_PARSE_CONSTANTS_H
#include <array>
#include <string_view>
#include <osg/BlendEquation>
#include <osg/BlendFunc>
#include <osg/Image>
#include <osg/Texture>
#include <components/sceneutil/color.hpp>
#include "technique.hpp"
namespace fx
{
... | 6,039 | C++ | .h | 119 | 39.848739 | 113 | 0.55215 | OpenMW/openmw | 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,301 | pass.hpp | OpenMW_openmw/components/fx/pass.hpp | #ifndef OPENMW_COMPONENTS_FX_PASS_H
#define OPENMW_COMPONENTS_FX_PASS_H
#include <array>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_set>
#include <osg/BlendEquation>
#include <osg/BlendFunc>
#include <osg/Shader>
#include <osg/Vec4f>
#include <osg/ref_ptr>
namespace osg
{
cl... | 1,790 | C++ | .h | 60 | 23.133333 | 105 | 0.637002 | OpenMW/openmw | 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,302 | technique.hpp | OpenMW_openmw/components/fx/technique.hpp | #ifndef OPENMW_COMPONENTS_FX_TECHNIQUE_H
#define OPENMW_COMPONENTS_FX_TECHNIQUE_H
#include <filesystem>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include <osg/BlendEquation>
#include <osg/BlendFunc>
#include <osg/FrameBufferObject>
#include <osg/StateSet>
#include <osg/Texture2D>... | 9,545 | C++ | .h | 245 | 30.191837 | 109 | 0.629062 | OpenMW/openmw | 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,303 | stateupdater.hpp | OpenMW_openmw/components/fx/stateupdater.hpp | #ifndef OPENMW_COMPONENTS_FX_STATEUPDATER_H
#define OPENMW_COMPONENTS_FX_STATEUPDATER_H
#include <osg/BufferTemplate>
#include <components/sceneutil/lightmanager.hpp>
#include <components/sceneutil/statesetupdater.hpp>
#include <components/std140/ubo.hpp>
namespace fx
{
class StateUpdater : public SceneUtil::Sta... | 8,593 | C++ | .h | 216 | 29.875 | 119 | 0.593618 | OpenMW/openmw | 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,304 | text.hpp | OpenMW_openmw/components/lua_ui/text.hpp | #ifndef OPENMW_LUAUI_TEXT
#define OPENMW_LUAUI_TEXT
#include <MyGUI_EditBox.h>
#include "widget.hpp"
namespace LuaUi
{
class LuaText : public MyGUI::EditBox, public WidgetExtension
{
MYGUI_RTTI_DERIVED(LuaText)
public:
LuaText();
void initialize() override;
void updatePro... | 553 | C++ | .h | 21 | 21.190476 | 65 | 0.691429 | OpenMW/openmw | 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,305 | scriptsettings.hpp | OpenMW_openmw/components/lua_ui/scriptsettings.hpp | #ifndef OPENMW_LUAUI_SCRIPTSETTINGS
#define OPENMW_LUAUI_SCRIPTSETTINGS
#include <memory>
#include <string>
namespace LuaUi
{
class LuaAdapter;
struct Element;
struct ScriptSettingsPage
{
std::string mName;
std::string mSearchHints;
std::shared_ptr<Element> mElement;
};
... | 514 | C++ | .h | 19 | 22.947368 | 58 | 0.74187 | OpenMW/openmw | 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,306 | window.hpp | OpenMW_openmw/components/lua_ui/window.hpp | #ifndef OPENMW_LUAUI_WINDOW
#define OPENMW_LUAUI_WINDOW
#include <optional>
#include "text.hpp"
#include "widget.hpp"
namespace LuaUi
{
class LuaWindow : public MyGUI::Widget, public WidgetExtension
{
MYGUI_RTTI_DERIVED(LuaWindow)
public:
LuaWindow();
void updateTemplate() overri... | 799 | C++ | .h | 26 | 25.115385 | 76 | 0.694118 | OpenMW/openmw | 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,307 | container.hpp | OpenMW_openmw/components/lua_ui/container.hpp | #ifndef OPENMW_LUAUI_CONTAINER
#define OPENMW_LUAUI_CONTAINER
#include "widget.hpp"
namespace LuaUi
{
class LuaContainer : public WidgetExtension, public MyGUI::Widget
{
MYGUI_RTTI_DERIVED(LuaContainer)
public:
MyGUI::IntSize calculateSize() const override;
void updateCoord() over... | 661 | C++ | .h | 22 | 24.409091 | 69 | 0.706161 | OpenMW/openmw | 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,308 | adapter.hpp | OpenMW_openmw/components/lua_ui/adapter.hpp | #ifndef OPENMW_LUAUI_ADAPTER
#define OPENMW_LUAUI_ADAPTER
#include <memory>
#include <MyGUI_Widget.h>
namespace LuaUi
{
class LuaContainer;
struct Element;
class LuaAdapter : public MyGUI::Widget
{
MYGUI_RTTI_DERIVED(LuaAdapter)
public:
LuaAdapter();
void attach(const st... | 624 | C++ | .h | 24 | 20.458333 | 61 | 0.673435 | OpenMW/openmw | 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,309 | textedit.hpp | OpenMW_openmw/components/lua_ui/textedit.hpp | #ifndef OPENMW_LUAUI_TEXTEDIT
#define OPENMW_LUAUI_TEXTEDIT
#include <MyGUI_EditBox.h>
#include "widget.hpp"
namespace LuaUi
{
class LuaTextEdit : public MyGUI::Widget, public WidgetExtension
{
MYGUI_RTTI_DERIVED(LuaTextEdit)
public:
bool isTextInput() override { return mEditBox->getEdit... | 806 | C++ | .h | 26 | 25.076923 | 73 | 0.683938 | OpenMW/openmw | 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,310 | registerscriptsettings.hpp | OpenMW_openmw/components/lua_ui/registerscriptsettings.hpp | #ifndef OPENMW_LUAUI_REGISTERSCRIPTSETTINGS
#define OPENMW_LUAUI_REGISTERSCRIPTSETTINGS
#include <sol/sol.hpp>
namespace LuaUi
{
// implemented in scriptsettings.cpp
void registerSettingsPage(const sol::table& options);
void clearSettings();
void removeSettingsPage(const sol::table& options);
}
#endi... | 362 | C++ | .h | 11 | 30.181818 | 57 | 0.801724 | OpenMW/openmw | 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,311 | resources.hpp | OpenMW_openmw/components/lua_ui/resources.hpp | #ifndef OPENMW_LUAUI_RESOURCES
#define OPENMW_LUAUI_RESOURCES
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include <osg/Vec2f>
namespace VFS
{
class Manager;
}
namespace LuaUi
{
struct TextureData
{
std::string mPath;
osg::Vec2f mOffset;
osg::Ve... | 800 | C++ | .h | 32 | 20.625 | 79 | 0.706579 | OpenMW/openmw | 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,312 | alignment.hpp | OpenMW_openmw/components/lua_ui/alignment.hpp | #ifndef OPENMW_LUAUI_ALIGNMENT
#define OPENMW_LUAUI_ALIGNMENT
#include <MyGUI_Align.h>
namespace LuaUi
{
enum class Alignment
{
Start = 0,
Center = 1,
End = 2
};
MyGUI::Align alignmentToMyGui(Alignment horizontal, Alignment vertical);
}
#endif // !OPENMW_LUAUI_PROPERTIES
| 316 | C++ | .h | 14 | 18.428571 | 76 | 0.694631 | OpenMW/openmw | 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,313 | element.hpp | OpenMW_openmw/components/lua_ui/element.hpp | #ifndef OPENMW_LUAUI_ELEMENT
#define OPENMW_LUAUI_ELEMENT
#include "widget.hpp"
namespace LuaUi
{
struct Element
{
static std::shared_ptr<Element> make(sol::table layout, bool menu);
static void erase(Element* element);
template <class Callback>
static void forEach(bool menu, ... | 1,264 | C++ | .h | 41 | 22.439024 | 75 | 0.592409 | OpenMW/openmw | 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,314 | layers.hpp | OpenMW_openmw/components/lua_ui/layers.hpp | #ifndef OPENMW_LUAUI_LAYERS
#define OPENMW_LUAUI_LAYERS
#include <string>
#include <string_view>
#include <MyGUI_LayerManager.h>
#include <MyGUI_OverlappedLayer.h>
#include <osg/Vec2f>
namespace LuaUi
{
// this wrapper is necessary, because the MyGUI LayerManager
// stores layers in a vector and their indice... | 1,689 | C++ | .h | 55 | 22.236364 | 92 | 0.571781 | OpenMW/openmw | 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,315 | content.hpp | OpenMW_openmw/components/lua_ui/content.hpp | #ifndef COMPONENTS_LUAUI_CONTENT
#define COMPONENTS_LUAUI_CONTENT
#include <map>
#include <string>
#include <sol/sol.hpp>
#include <components/lua/luastate.hpp>
namespace LuaUi
{
sol::protected_function loadContentConstructor(LuaUtil::LuaState* state);
bool isValidContent(const sol::object& object);
c... | 3,562 | C++ | .h | 96 | 26.541667 | 105 | 0.552144 | OpenMW/openmw | 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,316 | properties.hpp | OpenMW_openmw/components/lua_ui/properties.hpp | #ifndef OPENMW_LUAUI_PROPERTIES
#define OPENMW_LUAUI_PROPERTIES
#include <MyGUI_Colour.h>
#include <MyGUI_Types.h>
#include <osg/Vec2>
#include <sol/sol.hpp>
#include <components/lua/luastate.hpp>
#include <components/misc/color.hpp>
namespace LuaUi
{
template <typename T>
constexpr bool isMyGuiVector()
... | 2,803 | C++ | .h | 75 | 29.813333 | 112 | 0.61377 | OpenMW/openmw | 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,317 | widget.hpp | OpenMW_openmw/components/lua_ui/widget.hpp | #ifndef OPENMW_LUAUI_WIDGET
#define OPENMW_LUAUI_WIDGET
#include <functional>
#include <map>
#include <MyGUI_Widget.h>
#include <sol/sol.hpp>
#include <components/lua/asyncpackage.hpp>
#include "properties.hpp"
namespace LuaUi
{
/*
* extends MyGUI::Widget and its child classes
* memory ownership is c... | 7,279 | C++ | .h | 162 | 35.308642 | 107 | 0.638072 | OpenMW/openmw | 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,318 | image.hpp | OpenMW_openmw/components/lua_ui/image.hpp | #ifndef OPENMW_LUAUI_IMAGE
#define OPENMW_LUAUI_IMAGE
#include <MyGUI_ImageBox.h>
#include <MyGUI_TileRect.h>
#include "widget.hpp"
namespace LuaUi
{
class LuaTileRect : public MyGUI::TileRect
{
MYGUI_RTTI_DERIVED(LuaTileRect)
public:
void _setAlign(const MyGUI::IntSize& _oldsize) overri... | 740 | C++ | .h | 26 | 23.269231 | 77 | 0.697872 | OpenMW/openmw | 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,319 | flex.hpp | OpenMW_openmw/components/lua_ui/flex.hpp | #ifndef OPENMW_LUAUI_FLEX
#define OPENMW_LUAUI_FLEX
#include "alignment.hpp"
#include "widget.hpp"
namespace LuaUi
{
class LuaFlex : public MyGUI::Widget, public WidgetExtension
{
MYGUI_RTTI_DERIVED(LuaFlex)
protected:
MyGUI::IntSize calculateSize() const override;
void updateProp... | 1,676 | C++ | .h | 54 | 22.925926 | 64 | 0.604969 | OpenMW/openmw | 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,320 | util.hpp | OpenMW_openmw/components/lua_ui/util.hpp | #ifndef OPENMW_LUAUI_WIDGETLIST
#define OPENMW_LUAUI_WIDGETLIST
#include <string>
#include <unordered_map>
namespace LuaUi
{
void registerAllWidgets();
const std::unordered_map<std::string, std::string>& widgetTypeToName();
void clearGameInterface();
void clearMenuInterface();
}
#endif // OPENMW_LU... | 335 | C++ | .h | 12 | 25.166667 | 75 | 0.773585 | OpenMW/openmw | 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,321 | windowscrashdumppathhelpers.hpp | OpenMW_openmw/components/crashcatcher/windowscrashdumppathhelpers.hpp | #ifndef COMPONENTS_CRASH_WINDOWSCRASHDUMPPATHHELPERS_H
#include "windows_crashshm.hpp"
#include <filesystem>
namespace Crash
{
std::filesystem::path getCrashDumpPath(const CrashSHM& crashShm);
std::filesystem::path getFreezeDumpPath(const CrashSHM& crashShm);
}
#endif
| 281 | C++ | .h | 9 | 28.888889 | 70 | 0.817164 | OpenMW/openmw | 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,322 | windows_crashmonitor.hpp | OpenMW_openmw/components/crashcatcher/windows_crashmonitor.hpp | #ifndef WINDOWS_CRASHMONITOR_HPP
#define WINDOWS_CRASHMONITOR_HPP
#include <components/misc/windows.hpp>
#include <atomic>
#include <unordered_map>
namespace Crash
{
struct CrashSHM;
class CrashMonitor final
{
public:
CrashMonitor(HANDLE shmHandle);
~CrashMonitor();
void r... | 1,382 | C++ | .h | 40 | 27.375 | 97 | 0.680819 | OpenMW/openmw | 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,323 | crashcatcher.hpp | OpenMW_openmw/components/crashcatcher/crashcatcher.hpp | #ifndef CRASHCATCHER_H
#define CRASHCATCHER_H
#include <filesystem>
#if (defined(__APPLE__) || (defined(__linux) && !defined(ANDROID)) || (defined(__unix) && !defined(ANDROID)) \
|| defined(__posix))
void crashCatcherInstall(int argc, char** argv, const std::filesystem::path& crashLogPath);
#else
inline... | 442 | C++ | .h | 10 | 42.5 | 120 | 0.689977 | OpenMW/openmw | 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,324 | windows_crashshm.hpp | OpenMW_openmw/components/crashcatcher/windows_crashshm.hpp | #ifndef WINDOWS_CRASHSHM_HPP
#define WINDOWS_CRASHSHM_HPP
#include <components/misc/windows.hpp>
namespace Crash
{
// Used to communicate between the app and the monitor, fields are is overwritten with each event.
static constexpr const int MAX_LONG_PATH = 0x7fff;
static constexpr const int MAX_FILENAME ... | 1,105 | C++ | .h | 38 | 20.368421 | 102 | 0.612476 | OpenMW/openmw | 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,325 | windows_crashcatcher.hpp | OpenMW_openmw/components/crashcatcher/windows_crashcatcher.hpp | #ifndef WINDOWS_CRASHCATCHER_HPP
#define WINDOWS_CRASHCATCHER_HPP
#include <filesystem>
#include <components/crashcatcher/crashcatcher.hpp>
#include <components/misc/windows.hpp>
namespace Crash
{
// The implementation spawns the current executable as a monitor process which waits
// for a global synchroniz... | 2,764 | C++ | .h | 56 | 42.339286 | 118 | 0.717853 | OpenMW/openmw | 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,327 | editor.hpp | OpenMW_openmw/apps/opencs/editor.hpp | #ifndef CS_EDITOR_H
#define CS_EDITOR_H
#include <boost/program_options/variables_map.hpp>
#include <QLockFile>
#include <QObject>
#include <QString>
#include <filesystem>
#include <fstream>
#include <string>
#include <utility>
#include <vector>
#ifndef Q_MOC_RUN
#include <components/files/configurationmanager.hpp>... | 3,038 | C++ | .h | 93 | 26.591398 | 117 | 0.689407 | OpenMW/openmw | 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,328 | collection.hpp | OpenMW_openmw/apps/opencs/model/world/collection.hpp | #ifndef CSM_WOLRD_COLLECTION_H
#define CSM_WOLRD_COLLECTION_H
#include <algorithm>
#include <cctype>
#include <functional>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_set>
#include <vector>
#include <QVariant>
#include <components/esm3/loaddial.h... | 19,816 | C++ | .h | 491 | 32.075356 | 120 | 0.625169 | OpenMW/openmw | 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,329 | regionmap.hpp | OpenMW_openmw/apps/opencs/model/world/regionmap.hpp | #ifndef CSM_WOLRD_REGIONMAP_H
#define CSM_WOLRD_REGIONMAP_H
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <QAbstractTableModel>
#include <QModelIndex>
#include <QVariant>
#include "cellcoordinates.hpp"
#include <components/esm/refid.hpp>
class QObject;
namespace CSMWorld
{
clas... | 3,758 | C++ | .h | 87 | 35.563218 | 98 | 0.671987 | 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,330 | commanddispatcher.hpp | OpenMW_openmw/apps/opencs/model/world/commanddispatcher.hpp | #ifndef CSM_WOLRD_COMMANDDISPATCHER_H
#define CSM_WOLRD_COMMANDDISPATCHER_H
#include <string>
#include <vector>
#include <QAbstractItemModel>
#include <QModelIndex>
#include <QObject>
#include <QVariant>
#include "universalid.hpp"
class QModelIndex;
class QAbstractItemModel;
namespace CSMDoc
{
class Document;
... | 2,198 | C++ | .h | 56 | 32.839286 | 114 | 0.695139 | 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,331 | tablemimedata.hpp | OpenMW_openmw/apps/opencs/model/world/tablemimedata.hpp | #ifndef TABLEMIMEDATA_H
#define TABLEMIMEDATA_H
#include <string>
#include <vector>
#include <QModelIndex>
#include <QStringList>
#include <QtCore/QMimeData>
#include "columnbase.hpp"
#include "universalid.hpp"
namespace CSMDoc
{
class Document;
}
namespace CSVWorld
{
class DragRecordTable;
}
namespace CS... | 2,584 | C++ | .h | 57 | 39.421053 | 109 | 0.739896 | OpenMW/openmw | 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,332 | columnimp.hpp | OpenMW_openmw/apps/opencs/model/world/columnimp.hpp | #ifndef CSM_WOLRD_COLUMNIMP_H
#define CSM_WOLRD_COLUMNIMP_H
#include <cassert>
#include <cstdint>
#include <sstream>
#include <stdexcept>
#include <string>
#include <osg/Math>
#include <apps/opencs/model/world/cell.hpp>
#include <components/esm/defs.hpp>
#include <components/esm3/loadbody.hpp>
#include <components/e... | 74,786 | C++ | .h | 1,892 | 29.37685 | 119 | 0.607263 | OpenMW/openmw | 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,333 | nestedcoladapterimp.hpp | OpenMW_openmw/apps/opencs/model/world/nestedcoladapterimp.hpp | #ifndef CSM_WOLRD_NESTEDCOLADAPTERIMP_H
#define CSM_WOLRD_NESTEDCOLADAPTERIMP_H
#include <QString>
#include <QVariant>
#include <algorithm>
#include <stdexcept>
#include <string>
#include <vector>
#include <components/esm3/effectlist.hpp>
#include <components/esm3/loadmgef.hpp> // for converting magic effect id to s... | 21,503 | C++ | .h | 421 | 38.634204 | 120 | 0.627742 | OpenMW/openmw | 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,334 | infocollection.hpp | OpenMW_openmw/apps/opencs/model/world/infocollection.hpp | #ifndef CSM_WOLRD_INFOCOLLECTION_H
#define CSM_WOLRD_INFOCOLLECTION_H
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
#include "collection.hpp"
#include "info.hpp"
namespace ESM
{
struct Dialogue;
class ESMReader;
template <class T>
class InfoOrder;
}
namespace CSMWorld
... | 1,504 | C++ | .h | 46 | 27.086957 | 113 | 0.68932 | OpenMW/openmw | 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,335 | record.hpp | OpenMW_openmw/apps/opencs/model/world/record.hpp | #ifndef CSM_WOLRD_RECORD_H
#define CSM_WOLRD_RECORD_H
#include <memory>
#include <stdexcept>
namespace CSMWorld
{
struct RecordBase
{
enum State
{
State_BaseOnly = 0, // defined in base only
State_Modified = 1, // exists in base, but has been modified
State_... | 4,593 | C++ | .h | 125 | 29.008 | 117 | 0.629571 | OpenMW/openmw | 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,336 | commands.hpp | OpenMW_openmw/apps/opencs/model/world/commands.hpp | #ifndef CSM_WOLRD_COMMANDS_H
#define CSM_WOLRD_COMMANDS_H
#include "record.hpp"
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <QAbstractItemModel>
#include <QModelIndex>
#include <QUndoCommand>
#include <QVariant>
#include "columnimp.hpp"
#include "universalid.hpp"... | 8,901 | C++ | .h | 239 | 29.891213 | 120 | 0.667677 | OpenMW/openmw | 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,337 | nestedidcollection.hpp | OpenMW_openmw/apps/opencs/model/world/nestedidcollection.hpp | #ifndef CSM_WOLRD_NESTEDIDCOLLECTION_H
#define CSM_WOLRD_NESTEDIDCOLLECTION_H
#include <map>
#include <memory>
#include <stdexcept>
#include "collection.hpp"
#include "nestedcollection.hpp"
#include "nestedcolumnadapter.hpp"
namespace ESM
{
class ESMReader;
}
namespace CSMWorld
{
struct NestedTableWrapperBa... | 6,572 | C++ | .h | 144 | 38.666667 | 118 | 0.71433 | OpenMW/openmw | 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,338 | idtree.hpp | OpenMW_openmw/apps/opencs/model/world/idtree.hpp | #ifndef CSM_WOLRD_IDTREE_H
#define CSM_WOLRD_IDTREE_H
#include "columns.hpp"
#include "idtable.hpp"
#include <QModelIndex>
#include <QString>
#include <QVariant>
#include <string>
#include <utility>
/*! \brief
* Class for holding the model. Uses typical qt table abstraction/interface for granting access
* to the ... | 3,393 | C++ | .h | 62 | 48.596774 | 108 | 0.73834 | OpenMW/openmw | 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,339 | resourcesmanager.hpp | OpenMW_openmw/apps/opencs/model/world/resourcesmanager.hpp | #ifndef CSM_WOLRD_RESOURCESMANAGER_H
#define CSM_WOLRD_RESOURCESMANAGER_H
#include <map>
#include <apps/opencs/model/world/resources.hpp>
#include "universalid.hpp"
namespace VFS
{
class Manager;
}
namespace CSMWorld
{
class ResourcesManager
{
std::map<UniversalId::Type, Resources> mResources;
... | 747 | C++ | .h | 28 | 21.5 | 59 | 0.692635 | OpenMW/openmw | 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,340 | columns.hpp | OpenMW_openmw/apps/opencs/model/world/columns.hpp | #ifndef CSM_WOLRD_COLUMNS_H
#define CSM_WOLRD_COLUMNS_H
#include <string>
#include <utility>
#include <vector>
namespace CSMWorld
{
namespace Columns
{
enum ColumnId
{
ColumnId_Value = 0,
ColumnId_Id = 1,
ColumnId_Modification = 2,
ColumnId_Recor... | 14,534 | C++ | .h | 369 | 26.734417 | 99 | 0.55915 | OpenMW/openmw | 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,341 | info.hpp | OpenMW_openmw/apps/opencs/model/world/info.hpp | #ifndef CSM_WOLRD_INFO_H
#define CSM_WOLRD_INFO_H
#include <components/esm3/loadinfo.hpp>
namespace CSMWorld
{
struct Info : public ESM::DialInfo
{
ESM::RefId mTopicId;
ESM::RefId mOriginalId;
};
}
#endif
| 236 | C++ | .h | 12 | 16.083333 | 39 | 0.696833 | OpenMW/openmw | 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,342 | disabletag.hpp | OpenMW_openmw/apps/opencs/model/world/disabletag.hpp | #ifndef CSM_WOLRD_DISABLETAG_H
#define CSM_WOLRD_DISABLETAG_H
#include <QVariant>
namespace CSMWorld
{
class DisableTag
{
public:
static QVariant getVariant() { return QVariant::fromValue(CSMWorld::DisableTag()); }
static bool isDisableTag(const QVariant& variant)
{
re... | 451 | C++ | .h | 17 | 21.705882 | 92 | 0.687646 | OpenMW/openmw | 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,343 | idcompletionmanager.hpp | OpenMW_openmw/apps/opencs/model/world/idcompletionmanager.hpp | #ifndef CSM_WORLD_IDCOMPLETIONMANAGER_HPP
#define CSM_WORLD_IDCOMPLETIONMANAGER_HPP
#include <map>
#include <memory>
#include <vector>
#include "columnbase.hpp"
#include "universalid.hpp"
class QCompleter;
namespace CSMWorld
{
class Data;
/// \brief Creates and stores all ID completers
class IdCompleti... | 996 | C++ | .h | 28 | 30.428571 | 91 | 0.738494 | OpenMW/openmw | 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.