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,043
cells.hpp
OpenMW_openmw/components/settings/categories/cells.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CELLS_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CELLS_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #include <str...
1,940
C++
.h
33
53.242424
120
0.736454
OpenMW/openmw
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,044
hud.hpp
OpenMW_openmw/components/settings/categories/hud.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_HUD_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_HUD_H #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #include <string_view> namespace Settings { struct HUDCategor...
463
C++
.h
18
22.833333
68
0.753986
OpenMW/openmw
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,045
saves.hpp
OpenMW_openmw/components/settings/categories/saves.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SAVES_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SAVES_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #include <str...
699
C++
.h
21
29.904762
102
0.747024
OpenMW/openmw
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,046
postprocessing.hpp
OpenMW_openmw/components/settings/categories/postprocessing.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_POSTPROCESSING_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_POSTPROCESSING_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <str...
898
C++
.h
23
35
101
0.751438
OpenMW/openmw
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,047
navigator.hpp
OpenMW_openmw/components/settings/categories/navigator.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_NAVIGATOR_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_NAVIGATOR_H #include <components/settings/navmeshrendermode.hpp> #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <o...
4,659
C++
.h
64
65.203125
120
0.723469
OpenMW/openmw
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,048
terrain.hpp
OpenMW_openmw/components/settings/categories/terrain.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_TERRAIN_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_TERRAIN_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #include ...
2,088
C++
.h
38
48.421053
118
0.726517
OpenMW/openmw
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,049
sound.hpp
OpenMW_openmw/components/settings/categories/sound.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SOUND_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SOUND_H #include <components/settings/hrtfmode.hpp> #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <string> namespace Settings { struct SoundCategory : Wi...
1,446
C++
.h
25
52.32
115
0.72387
OpenMW/openmw
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,050
shaders.hpp
OpenMW_openmw/components/settings/categories/shaders.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SHADERS_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SHADERS_H #include <components/sceneutil/lightingmethod.hpp> #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec...
3,148
C++
.h
47
60.319149
118
0.735703
OpenMW/openmw
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,051
camera.hpp
OpenMW_openmw/components/settings/categories/camera.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CAMERA_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CAMERA_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #include <s...
1,257
C++
.h
27
41.62963
117
0.737745
OpenMW/openmw
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,052
map.hpp
OpenMW_openmw/components/settings/categories/map.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_MAP_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_MAP_H #include <components/misc/constants.hpp> #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cst...
1,218
C++
.h
27
40.62963
116
0.735021
OpenMW/openmw
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,053
gui.hpp
OpenMW_openmw/components/settings/categories/gui.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GUI_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GUI_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <MyGUI_Colour.h> #include <cstdint> #include...
2,231
C++
.h
37
54.675676
115
0.726109
OpenMW/openmw
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,054
shadows.hpp
OpenMW_openmw/components/settings/categories/shadows.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SHADOWS_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SHADOWS_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #include ...
2,558
C++
.h
42
54.333333
118
0.721514
OpenMW/openmw
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,055
stereoview.hpp
OpenMW_openmw/components/settings/categories/stereoview.hpp
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_STEREOVIEW_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_STEREOVIEW_H #include <components/settings/sanitizerimpl.hpp> #include <components/settings/settingvalue.hpp> #include <osg/Math> #include <osg/Vec2f> #include <osg/Vec3f> #include <cstdint> #include <string> #in...
3,626
C++
.h
58
54.448276
111
0.694273
OpenMW/openmw
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,056
expecterror.hpp
OpenMW_openmw/components/testing/expecterror.hpp
#ifndef OPENMW_COMPONENTS_TESTING_EXPECTERROR_H #define OPENMW_COMPONENTS_TESTING_EXPECTERROR_H #include <gmock/gmock.h> #include <gtest/gtest.h> #include <exception> #define EXPECT_ERROR(X, ERR_SUBSTR) \ try ...
1,273
C++
.h
16
75.3125
120
0.199521
OpenMW/openmw
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,057
util.hpp
OpenMW_openmw/components/testing/util.hpp
#ifndef OPENMW_COMPONENTS_TESTING_UTIL_H #define OPENMW_COMPONENTS_TESTING_UTIL_H #include <filesystem> #include <initializer_list> #include <memory> #include <sstream> #include <components/misc/strings/conversion.hpp> #include <components/vfs/archive.hpp> #include <components/vfs/file.hpp> #include <components/vfs/m...
2,445
C++
.h
67
30.283582
118
0.66709
OpenMW/openmw
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,058
gamesettings.hpp
OpenMW_openmw/components/config/gamesettings.hpp
#ifndef GAMESETTINGS_HPP #define GAMESETTINGS_HPP #include <QFile> #include <QMultiMap> #include <QString> #include <QStringList> #include <QTextStream> #include <filesystem> namespace Files { typedef std::vector<std::filesystem::path> PathContainer; struct ConfigurationManager; } namespace Config { str...
4,830
C++
.h
117
31.555556
120
0.632051
OpenMW/openmw
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,059
launchersettings.hpp
OpenMW_openmw/components/config/launchersettings.hpp
#ifndef LAUNCHERSETTINGS_HPP #define LAUNCHERSETTINGS_HPP #include <QString> #include <QStringList> #include <map> class QTextStream; namespace Config { class GameSettings; class LauncherSettings { public: static constexpr char sLauncherConfigFileName[] = "launcher.cfg"; struct Set...
3,317
C++
.h
81
32.074074
102
0.666458
OpenMW/openmw
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,060
loadordererror.hpp
OpenMW_openmw/components/contentselector/model/loadordererror.hpp
#ifndef LOADORDERERROR_HPP #define LOADORDERERROR_HPP #include <QString> namespace ContentSelectorModel { /// \brief Details of a suspected Load Order problem a plug-in will have. This is basically a POD. class LoadOrderError { public: enum ErrorCode { ErrorCode_None = 0, ...
1,015
C++
.h
34
22.235294
102
0.63627
OpenMW/openmw
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,061
contentmodel.hpp
OpenMW_openmw/components/contentselector/model/contentmodel.hpp
#ifndef CONTENTMODEL_HPP #define CONTENTMODEL_HPP #include "loadordererror.hpp" #include <QAbstractTableModel> #include <QIcon> #include <QSet> #include <QStringList> #include <set> namespace ContentSelectorModel { class EsmFile; typedef QList<EsmFile*> ContentFileList; enum ContentType { C...
3,878
C++
.h
86
37.244186
118
0.696471
OpenMW/openmw
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,062
esmfile.hpp
OpenMW_openmw/components/contentselector/model/esmfile.hpp
#ifndef ESMFILE_HPP #define ESMFILE_HPP #include <QDateTime> #include <QStringList> #include <components/esm3/formatversion.hpp> #include "modelitem.hpp" class QMimeData; namespace ContentSelectorModel { class EsmFile : public ModelItem { Q_OBJECT Q_PROPERTY(QString filename READ fileName) ...
3,809
C++
.h
90
31.455556
117
0.595245
OpenMW/openmw
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,063
modelitem.hpp
OpenMW_openmw/components/contentselector/model/modelitem.hpp
#ifndef MODELITEM_HPP #define MODELITEM_HPP #include <QList> #include <QMimeData> namespace ContentSelectorModel { class ModelItem : public QMimeData { Q_OBJECT public: ModelItem(ModelItem* parent = nullptr); // ModelItem(const ModelItem *parent = 0); ~ModelItem(); ...
794
C++
.h
28
21.964286
63
0.655629
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,064
contentselector.hpp
OpenMW_openmw/components/contentselector/view/contentselector.hpp
#ifndef CONTENTSELECTOR_HPP #define CONTENTSELECTOR_HPP #include <memory> #include <QComboBox> #include <QDialog> #include <QMenu> #include <QToolButton> #include <components/contentselector/model/contentmodel.hpp> class QSortFilterProxyModel; namespace Ui { class ContentSelector; } namespace ContentSelectorV...
2,541
C++
.h
66
31.575758
96
0.723448
OpenMW/openmw
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,065
combobox.hpp
OpenMW_openmw/components/contentselector/view/combobox.hpp
#ifndef COMBOBOX_HPP #define COMBOBOX_HPP #include <QComboBox> class QString; class QRegularExpressionValidator; namespace ContentSelectorView { class ComboBox : public QComboBox { Q_OBJECT public: explicit ComboBox(QWidget* parent = nullptr); void setPlaceholderText(const QStri...
525
C++
.h
21
20.190476
53
0.729839
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,066
shadermanager.hpp
OpenMW_openmw/components/shader/shadermanager.hpp
#ifndef OPENMW_COMPONENTS_SHADERMANAGER_H #define OPENMW_COMPONENTS_SHADERMANAGER_H #include <array> #include <map> #include <memory> #include <mutex> #include <optional> #include <string> #include <vector> #include <osg/ref_ptr> #include <filesystem> #include <osg/Program> #include <osg/Shader> namespace osgViewer...
5,661
C++
.h
111
43.171171
117
0.689993
OpenMW/openmw
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,067
shadervisitor.hpp
OpenMW_openmw/components/shader/shadervisitor.hpp
#ifndef OPENMW_COMPONENTS_SHADERVISITOR_H #define OPENMW_COMPONENTS_SHADERVISITOR_H #include <osg/NodeVisitor> #include <osg/Program> namespace Resource { class ImageManager; } namespace Shader { class ShaderManager; /// @brief Adjusts the given subgraph to render using shaders. class ShaderVisitor...
4,653
C++
.h
101
37.089109
120
0.691744
OpenMW/openmw
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,068
removedalphafunc.hpp
OpenMW_openmw/components/shader/removedalphafunc.hpp
#ifndef OPENMW_COMPONENTS_REMOVEDALPHAFUNC_H #define OPENMW_COMPONENTS_REMOVEDALPHAFUNC_H #include <array> #include <osg/AlphaFunc> namespace Shader { // State attribute used when shader visitor replaces the deprecated alpha function with a shader // Prevents redundant glAlphaFunc calls and lets the shadowsb...
1,299
C++
.h
33
32.484848
108
0.688694
OpenMW/openmw
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,069
skeleton.hpp
OpenMW_openmw/components/sceneutil/skeleton.hpp
#ifndef OPENMW_COMPONENTS_NIFOSG_SKELETON_H #define OPENMW_COMPONENTS_NIFOSG_SKELETON_H #include <osg/Group> #include <memory> #include <unordered_map> namespace SceneUtil { /// @brief Defines a Bone hierarchy, used for updating of skeleton-space bone matrices. /// @note To prevent unnecessary updates, only...
2,645
C++
.h
60
36.6
118
0.682813
OpenMW/openmw
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,070
texturetype.hpp
OpenMW_openmw/components/sceneutil/texturetype.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_TEXTURETYPE_H #define OPENMW_COMPONENTS_SCENEUTIL_TEXTURETYPE_H #include <osg/StateAttribute> namespace SceneUtil { // The type bound to the given texture used by the ShaderVisitor to distinguish between them class TextureType : public osg::StateAttribute { public: ...
1,064
C++
.h
27
32.37037
109
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,071
workqueue.hpp
OpenMW_openmw/components/sceneutil/workqueue.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_WORKQUEUE_H #define OPENMW_COMPONENTS_SCENEUTIL_WORKQUEUE_H #include <osg/Referenced> #include <osg/ref_ptr> #include <atomic> #include <condition_variable> #include <deque> #include <mutex> #include <thread> #include <vector> namespace SceneUtil { class WorkItem : public osg...
2,821
C++
.h
72
32.472222
119
0.665687
OpenMW/openmw
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,072
shadow.hpp
OpenMW_openmw/components/sceneutil/shadow.hpp
#ifndef COMPONENTS_SCENEUTIL_SHADOW_H #define COMPONENTS_SCENEUTIL_SHADOW_H #include <components/shader/shadermanager.hpp> namespace osg { class StateSet; class Group; } namespace osgShadow { class ShadowSettings; class ShadowedScene; } namespace Settings { struct ShadowsCategory; } namespace S...
1,691
C++
.h
45
31.844444
114
0.751995
OpenMW/openmw
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,073
riggeometryosgaextension.hpp
OpenMW_openmw/components/sceneutil/riggeometryosgaextension.hpp
#ifndef OPENMW_COMPONENTS_OSGAEXTENSION_RIGGEOMETRY_H #define OPENMW_COMPONENTS_OSGAEXTENSION_RIGGEOMETRY_H #include <array> #include <osg/Drawable> #include <osgAnimation/RigGeometry> #include <osg/NodeVisitor> namespace SceneUtil { /// @brief Custom RigGeometry-class for osgAnimation-formats (collada) cla...
2,678
C++
.h
50
45.92
120
0.72975
OpenMW/openmw
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,074
unrefqueue.hpp
OpenMW_openmw/components/sceneutil/unrefqueue.hpp
#ifndef OPENMW_COMPONENTS_UNREFQUEUE_H #define OPENMW_COMPONENTS_UNREFQUEUE_H #include <osg/Referenced> #include <osg/ref_ptr> #include <vector> namespace SceneUtil { class WorkQueue; /// @brief Handles unreferencing of objects through the WorkQueue. Typical use scenario /// would be the main thread pus...
1,104
C++
.h
25
38.96
116
0.704673
OpenMW/openmw
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,075
positionattitudetransform.hpp
OpenMW_openmw/components/sceneutil/positionattitudetransform.hpp
#ifndef OPENMW_COMPONENTS_POSITIONATTITUDE_TRANSFORM_H #define OPENMW_COMPONENTS_POSITIONATTITUDE_TRANSFORM_H #include <osg/Transform> namespace SceneUtil { /// @brief A customized version of osg::PositionAttitudeTransform optimized for speed. /// Uses single precision values. Also removed _pivotPoint which ...
1,792
C++
.h
48
28.895833
104
0.636049
OpenMW/openmw
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,076
rtt.hpp
OpenMW_openmw/components/sceneutil/rtt.hpp
#ifndef OPENMW_RTT_H #define OPENMW_RTT_H #include <osg/Node> #include <map> #include <memory> namespace osg { class Texture2D; class Texture2DArray; } namespace osgUtil { class CullVisitor; } namespace SceneUtil { /// @brief Implements per-view RTT operations. /// @par With a naive RTT impleme...
4,959
C++
.h
97
43.484536
120
0.696469
OpenMW/openmw
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,077
controller.hpp
OpenMW_openmw/components/sceneutil/controller.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_CONTROLLER_H #define OPENMW_COMPONENTS_SCENEUTIL_CONTROLLER_H #include <memory> #include <osg/NodeVisitor> namespace SceneUtil { class ControllerSource { public: virtual ~ControllerSource() {} virtual float getValue(osg::NodeVisitor* nv) = 0; }; ...
3,725
C++
.h
90
34.5
118
0.700139
OpenMW/openmw
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,078
statesetupdater.hpp
OpenMW_openmw/components/sceneutil/statesetupdater.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_STATESETCONTROLLER_H #define OPENMW_COMPONENTS_SCENEUTIL_STATESETCONTROLLER_H #include <components/sceneutil/nodecallback.hpp> #include <array> #include <map> namespace osgUtil { class CullVisitor; } namespace SceneUtil { /// @brief Implements efficient per-frame updatin...
4,438
C++
.h
76
52.065789
120
0.7132
OpenMW/openmw
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,079
serialize.hpp
OpenMW_openmw/components/sceneutil/serialize.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_SERIALIZE_H #define OPENMW_COMPONENTS_SCENEUTIL_SERIALIZE_H namespace SceneUtil { /// Register osg node serializers for certain SceneUtil classes if not already done so void registerSerializers(); } #endif
254
C++
.h
8
29.25
90
0.818182
OpenMW/openmw
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,080
optimizer.hpp
OpenMW_openmw/components/sceneutil/optimizer.hpp
// 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 ...
20,427
C++
.h
383
40.590078
195
0.631067
OpenMW/openmw
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,081
agentpath.hpp
OpenMW_openmw/components/sceneutil/agentpath.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_AGENTPATH_H #define OPENMW_COMPONENTS_SCENEUTIL_AGENTPATH_H #include <osg/ref_ptr> #include <deque> namespace osg { class Group; class Vec3f; class StateSet; } namespace DetourNavigator { struct RecastSettings; struct AgentBounds; } namespace SceneUtil { ...
629
C++
.h
22
25.5
111
0.767055
OpenMW/openmw
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,082
riggeometry.hpp
OpenMW_openmw/components/sceneutil/riggeometry.hpp
#ifndef OPENMW_COMPONENTS_NIFOSG_RIGGEOMETRY_H #define OPENMW_COMPONENTS_NIFOSG_RIGGEOMETRY_H #include <osg/Geometry> #include <osg/Matrixf> namespace SceneUtil { class Skeleton; class Bone; // TODO: This class has a lot of issues. // - We require too many workarounds to ensure safety. // - mSour...
4,379
C++
.h
87
42.275862
119
0.69128
OpenMW/openmw
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,083
waterutil.hpp
OpenMW_openmw/components/sceneutil/waterutil.hpp
#ifndef OPENMW_COMPONENTS_WATERUTIL_H #define OPENMW_COMPONENTS_WATERUTIL_H #include <osg/ref_ptr> namespace osg { class Geometry; class StateSet; } namespace SceneUtil { osg::ref_ptr<osg::Geometry> createWaterGeometry(float size, int segments, float textureRepeats); osg::ref_ptr<osg::StateSet> crea...
381
C++
.h
14
24.714286
100
0.790055
OpenMW/openmw
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,084
morphgeometry.hpp
OpenMW_openmw/components/sceneutil/morphgeometry.hpp
#ifndef OPENMW_COMPONENTS_MORPHGEOMETRY_H #define OPENMW_COMPONENTS_MORPHGEOMETRY_H #include <osg/Geometry> namespace SceneUtil { /// @brief Vertex morphing implementation. /// @note The internal Geometry used for rendering is double buffered, this allows updates to be done in a thread /// safe way while...
3,438
C++
.h
68
41.705882
119
0.669856
OpenMW/openmw
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,085
depth.hpp
OpenMW_openmw/components/sceneutil/depth.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_DEPTH_H #define OPENMW_COMPONENTS_SCENEUTIL_DEPTH_H #include <osg/Depth> #include "util.hpp" #ifndef GL_DEPTH32F_STENCIL8_NV #define GL_DEPTH32F_STENCIL8_NV 0x8DAC #endif #ifndef GL_DEPTH32F_STENCIL8 #define GL_DEPTH32F_STENCIL8 0x8CAD #endif #ifndef GL_FLOAT_32_UNSIGNED_INT_24_...
6,119
C++
.h
154
31.25974
119
0.653223
OpenMW/openmw
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,086
navmesh.hpp
OpenMW_openmw/components/sceneutil/navmesh.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H #define OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H #include <osg/ref_ptr> class dtNavMesh; struct dtMeshTile; namespace osg { class Group; class StateSet; } namespace DetourNavigator { struct Settings; } namespace SceneUtil { enum NavMeshTileDrawFlags : unsi...
824
C++
.h
28
25.464286
105
0.751584
OpenMW/openmw
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,087
color.hpp
OpenMW_openmw/components/sceneutil/color.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_COLOR_H #define OPENMW_COMPONENTS_SCENEUTIL_COLOR_H #include <osg/GraphicsThread> namespace SceneUtil { bool isColorFormat(GLenum format); bool isFloatingPointColorFormat(GLenum format); int getColorFormatChannelCount(GLenum format); void getColorFormatSourceFormatA...
3,331
C++
.h
158
18.373418
108
0.775216
OpenMW/openmw
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,088
lightutil.hpp
OpenMW_openmw/components/sceneutil/lightutil.hpp
#ifndef OPENMW_COMPONENTS_LIGHTUTIL_H #define OPENMW_COMPONENTS_LIGHTUTIL_H #include <osg/Vec4f> #include <osg/ref_ptr> namespace osg { class Group; class Light; } namespace ESM { struct Light; } namespace SceneUtil { class LightSource; struct LightCommon; /// @brief Set up global attenuati...
2,012
C++
.h
39
47.589744
119
0.736253
OpenMW/openmw
5,318
933
0
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
36,089
visitor.hpp
OpenMW_openmw/components/sceneutil/visitor.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_VISITOR_H #define OPENMW_COMPONENTS_SCENEUTIL_VISITOR_H #include <osg/MatrixTransform> #include <osg/NodeVisitor> #include <string_view> #include <unordered_map> #include <components/misc/strings/algorithm.hpp> // Commonly used scene graph visitors namespace SceneUtil { // F...
3,538
C++
.h
106
26.169811
106
0.644451
OpenMW/openmw
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,090
osgacontroller.hpp
OpenMW_openmw/components/sceneutil/osgacontroller.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_OSGACONTROLLER_HPP #define OPENMW_COMPONENTS_SCENEUTIL_OSGACONTROLLER_HPP #include <osg/Node> #include <osg/NodeVisitor> #include <osg/ref_ptr> #include <osgAnimation/UpdateMatrixTransform> #include "keyframe.hpp" #include "nodecallback.hpp" #include <components/resource/animation...
2,781
C++
.h
68
34.676471
110
0.71211
OpenMW/openmw
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,091
clone.hpp
OpenMW_openmw/components/sceneutil/clone.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_CLONE_H #define OPENMW_COMPONENTS_SCENEUTIL_CLONE_H #include <map> #include <osg/CopyOp> namespace osgParticle { class ParticleProcessor; class ParticleSystem; class ParticleSystemUpdater; } namespace SceneUtil { /// @par Defines the cloning behaviour we need: ...
1,732
C++
.h
35
44.314286
116
0.748074
OpenMW/openmw
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,092
lightingmethod.hpp
OpenMW_openmw/components/sceneutil/lightingmethod.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_LIGHTINGMETHOD_H #define OPENMW_COMPONENTS_SCENEUTIL_LIGHTINGMETHOD_H namespace SceneUtil { enum class LightingMethod { FFP, PerObjectUniform, SingleUBO, }; } #endif
240
C++
.h
12
15.833333
52
0.734513
OpenMW/openmw
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,093
glextensions.hpp
OpenMW_openmw/components/sceneutil/glextensions.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_GLEXTENSIONS_H #define OPENMW_COMPONENTS_SCENEUTIL_GLEXTENSIONS_H #include <osg/GLExtensions> #include <osg/GraphicsThread> namespace SceneUtil { bool glExtensionsReady(); osg::GLExtensions& getGLExtensions(); class GetGLExtensionsOperation : public osg::GraphicsOperat...
469
C++
.h
16
25.5
72
0.772321
OpenMW/openmw
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,094
extradata.hpp
OpenMW_openmw/components/sceneutil/extradata.hpp
#ifndef OPENMW_COMPONENTS_RESOURCE_EXTRADATA_H #define OPENMW_COMPONENTS_RESOURCE_EXTRADATA_H #include <osg/NodeVisitor> namespace Resource { class SceneManager; } namespace osg { class Node; } namespace SceneUtil { void setupSoftEffect(osg::Node& node, float size, bool falloff, float falloffDepth); ...
760
C++
.h
29
21.482759
88
0.716459
OpenMW/openmw
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,095
shadowsbin.hpp
OpenMW_openmw/components/sceneutil/shadowsbin.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_SHADOWBIN_H #define OPENMW_COMPONENTS_SCENEUTIL_SHADOWBIN_H #include <array> #include <osgUtil/RenderBin> #include <unordered_set> namespace osg { class Material; class AlphaFunc; } namespace SceneUtil { /// renderbin which culls redundant state for shadow map rendering...
2,484
C++
.h
67
27.41791
120
0.624532
OpenMW/openmw
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,096
writescene.hpp
OpenMW_openmw/components/sceneutil/writescene.hpp
#ifndef OPENMW_COMPONENTS_WRITESCENE_H #define OPENMW_COMPONENTS_WRITESCENE_H #include <filesystem> namespace osg { class Node; } namespace SceneUtil { void writeScene(osg::Node* node, const std::filesystem::path& filename, const std::string& format); } #endif
275
C++
.h
12
20.75
103
0.785992
OpenMW/openmw
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,097
pathgridutil.hpp
OpenMW_openmw/components/sceneutil/pathgridutil.hpp
#ifndef OPENMW_COMPONENTS_PATHGRIDUTIL_H #define OPENMW_COMPONENTS_PATHGRIDUTIL_H #include <osg/Geometry> #include <osg/ref_ptr> namespace ESM { struct Pathgrid; } namespace SceneUtil { constexpr float DiamondHalfHeight = 40.f; constexpr float DiamondHalfWidth = 16.f; osg::ref_ptr<osg::Geometry> cre...
592
C++
.h
18
29.722222
86
0.781305
OpenMW/openmw
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,098
clearcolor.hpp
OpenMW_openmw/components/sceneutil/clearcolor.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_CLEARCOLOR_H #define OPENMW_COMPONENTS_SCENEUTIL_CLEARCOLOR_H #include <osg/StateAttribute> #include <osg/Vec4f> namespace SceneUtil { class ClearColor : public osg::StateAttribute { public: ClearColor() : mMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_...
1,330
C++
.h
43
22.534884
97
0.604542
OpenMW/openmw
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,099
lightmanager.hpp
OpenMW_openmw/components/sceneutil/lightmanager.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_LIGHTMANAGER_H #define OPENMW_COMPONENTS_SCENEUTIL_LIGHTMANAGER_H #include <array> #include <memory> #include <set> #include <unordered_map> #include <osg/Group> #include <osg/Light> #include <osg/NodeVisitor> #include <osg/observer_ptr> #include <components/sceneutil/nodecallback...
14,542
C++
.h
280
42.975
120
0.675991
OpenMW/openmw
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,100
recastmesh.hpp
OpenMW_openmw/components/sceneutil/recastmesh.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_RECASTMESH_H #define OPENMW_COMPONENTS_SCENEUTIL_RECASTMESH_H #include <osg/ref_ptr> namespace osg { class Group; class StateSet; } namespace DetourNavigator { class RecastMesh; struct RecastSettings; } namespace SceneUtil { osg::ref_ptr<osg::Group> createReca...
501
C++
.h
19
23.631579
111
0.794549
OpenMW/openmw
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,101
attach.hpp
OpenMW_openmw/components/sceneutil/attach.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_ATTACH_H #define OPENMW_COMPONENTS_SCENEUTIL_ATTACH_H #include <string_view> #include <osg/ref_ptr> namespace osg { class Node; class Group; class Quat; } namespace Resource { class SceneManager; } namespace SceneUtil { /// Clone and attach parts of the \a to...
1,072
C++
.h
26
37.961538
120
0.74591
OpenMW/openmw
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,102
lightcontroller.hpp
OpenMW_openmw/components/sceneutil/lightcontroller.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_LIGHTCONTROLLER_H #define OPENMW_COMPONENTS_SCENEUTIL_LIGHTCONTROLLER_H #include <components/sceneutil/nodecallback.hpp> #include <osg/Vec4f> namespace SceneUtil { class LightSource; /// @brief Controller class to handle a pulsing and/or flickering light class LightCo...
1,094
C++
.h
36
23.083333
100
0.660936
OpenMW/openmw
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,103
screencapture.hpp
OpenMW_openmw/components/sceneutil/screencapture.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_SCREENCAPTURE_H #define OPENMW_COMPONENTS_SCENEUTIL_SCREENCAPTURE_H #include <components/misc/guarded.hpp> #include <osg/ref_ptr> #include <osgViewer/ViewerEventHandlers> #include <filesystem> #include <string> #include <vector> namespace osg { class Image; } namespace Scene...
1,789
C++
.h
44
35.136364
120
0.739306
OpenMW/openmw
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,104
cullsafeboundsvisitor.hpp
OpenMW_openmw/components/sceneutil/cullsafeboundsvisitor.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_CULLSAFEBOUNDSVISITOR_H #define OPENMW_COMPONENTS_SCENEUTIL_CULLSAFEBOUNDSVISITOR_H #include <vector> #include <osg/BoundingBox> #include <osg/Matrix> #include <osg/NodeVisitor> #include <osg/Drawable> #include <osg/Transform> namespace SceneUtil { // Computes bounding box of...
1,837
C++
.h
55
24.290909
100
0.607788
OpenMW/openmw
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,105
nodecallback.hpp
OpenMW_openmw/components/sceneutil/nodecallback.hpp
#ifndef SCENEUTIL_NODECALLBACK_H #define SCENEUTIL_NODECALLBACK_H #include <osg/Callback> namespace osg { class Node; class NodeVisitor; } namespace SceneUtil { template <class Derived, typename NodeType = osg::Node*, typename VisitorType = osg::NodeVisitor*> class NodeCallback : public osg::Callbac...
985
C++
.h
35
21
106
0.610817
OpenMW/openmw
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,106
lightcommon.hpp
OpenMW_openmw/components/sceneutil/lightcommon.hpp
#ifndef COMPONENTS_SCENEUTIL_LIGHTCOMMON #define COMPONENTS_SCENEUTIL_LIGHTCOMMON #include <osg/Vec4> namespace ESM4 { struct Light; } namespace ESM { struct Light; } namespace SceneUtil { struct LightCommon { explicit LightCommon(const ESM::Light& light); explicit LightCommon(const ...
555
C++
.h
28
15
55
0.678846
OpenMW/openmw
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,107
keyframe.hpp
OpenMW_openmw/components/sceneutil/keyframe.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_KEYFRAME_HPP #define OPENMW_COMPONENTS_SCENEUTIL_KEYFRAME_HPP #include <map> #include <optional> #include <osg/Object> #include <components/sceneutil/controller.hpp> #include <components/sceneutil/textkeymap.hpp> namespace SceneUtil { /// @note Derived classes are expected to...
2,373
C++
.h
61
31.491803
102
0.676406
OpenMW/openmw
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,108
mwshadowtechnique.hpp
OpenMW_openmw/components/sceneutil/mwshadowtechnique.hpp
// clang-format off /* This file is based on OpenSceneGraph's include/osgShadow/ViewDependentShadowMap. * 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 ...
13,229
C++
.h
226
48.79646
197
0.64976
OpenMW/openmw
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,109
animblendrules.hpp
OpenMW_openmw/components/sceneutil/animblendrules.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_ANIMBLENDRULES_HPP #define OPENMW_COMPONENTS_SCENEUTIL_ANIMBLENDRULES_HPP #include <optional> #include <string> #include <vector> #include <osg/Object> #include <components/vfs/manager.hpp> namespace SceneUtil { class AnimBlendRules : public osg::Object { public: ...
1,373
C++
.h
36
31
114
0.685045
OpenMW/openmw
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,110
textkeymap.hpp
OpenMW_openmw/components/sceneutil/textkeymap.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_TEXTKEYMAP #define OPENMW_COMPONENTS_SCENEUTIL_TEXTKEYMAP #include <algorithm> #include <map> #include <set> #include <string> #include <string_view> namespace SceneUtil { class TextKeyMap { public: using ConstIterator = std::multimap<float, std::string>::const_...
2,022
C++
.h
47
34.914894
117
0.643332
OpenMW/openmw
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,111
detourdebugdraw.hpp
OpenMW_openmw/components/sceneutil/detourdebugdraw.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_DETOURDEBUGDRAW_H #define OPENMW_COMPONENTS_SCENEUTIL_DETOURDEBUGDRAW_H #include <DebugDraw.h> #include <osg/Geometry> namespace osg { class Group; } namespace SceneUtil { class DebugDraw : public duDebugDraw { public: explicit DebugDraw(osg::Group& group,...
1,560
C++
.h
40
32.275
116
0.687292
OpenMW/openmw
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,112
util.hpp
OpenMW_openmw/components/sceneutil/util.hpp
#ifndef OPENMW_COMPONENTS_SCENEUTIL_UTIL_H #define OPENMW_COMPONENTS_SCENEUTIL_UTIL_H #include <osg/Camera> #include <osg/Matrixf> #include <osg/Texture2D> #include <osg/Vec4f> #include <components/resource/resourcesystem.hpp> #include "statesetupdater.hpp" namespace SceneUtil { class GlowUpdater : public Scene...
4,312
C++
.h
93
38.903226
120
0.687127
OpenMW/openmw
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,113
ubo.hpp
OpenMW_openmw/components/std140/ubo.hpp
#ifndef COMPONENTS_STD140_UBO_H #define COMPONENTS_STD140_UBO_H #include <osg/Matrixf> #include <osg/Vec2f> #include <osg/Vec4f> #include <array> #include <cstdint> #include <cstring> #include <string> #include <string_view> #include <tuple> namespace std140 { struct Mat4 { using Value = osg::Matrixf...
4,466
C++
.h
136
24.507353
118
0.560149
OpenMW/openmw
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,114
file.hpp
OpenMW_openmw/components/platform/file.hpp
#ifndef OPENMW_COMPONENTS_PLATFORM_FILE_HPP #define OPENMW_COMPONENTS_PLATFORM_FILE_HPP #include <cstdlib> #include <filesystem> namespace Platform::File { enum class Handle : intptr_t { Invalid = -1 }; enum class SeekType { Begin, Current, End }; Handle ...
1,596
C++
.h
55
21.236364
79
0.60144
OpenMW/openmw
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,115
application.hpp
OpenMW_openmw/components/platform/application.hpp
#include <QApplication> #include <QEvent> namespace Platform { class Application : public QApplication { Q_OBJECT public: Application(int& argc, char* argv[]); #if defined(WIN32) && QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) void init(); private slots: void updateStyle(b...
585
C++
.h
23
19.782609
63
0.63964
OpenMW/openmw
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,116
platform.hpp
OpenMW_openmw/components/platform/platform.hpp
#ifndef OPENMW_COMPONENTS_PLATFORM_PLATFORM_HPP #define OPENMW_COMPONENTS_PLATFORM_PLATFORM_HPP namespace Platform { void init(); } #endif // OPENMW_COMPONENTS_PLATFORM_PLATFORM_HPP
190
C++
.h
7
25
49
0.821229
OpenMW/openmw
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,117
qttranslations.hpp
OpenMW_openmw/components/l10n/qttranslations.hpp
#ifndef COMPONENTS_L10N_QTTRANSLATIONS_H #define COMPONENTS_L10N_QTTRANSLATIONS_H #include <QApplication> #include <QTranslator> namespace l10n { extern QTranslator AppTranslator; extern QTranslator ComponentsTranslator; extern QTranslator QtBaseAppTranslator; void installQtTranslations(Q...
443
C++
.h
12
32.916667
105
0.806147
OpenMW/openmw
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,118
messagebundles.hpp
OpenMW_openmw/components/l10n/messagebundles.hpp
#ifndef COMPONENTS_L10N_MESSAGEBUNDLES_H #define COMPONENTS_L10N_MESSAGEBUNDLES_H #include <functional> #include <map> #include <string_view> #include <unordered_map> #include <vector> #include <unicode/locid.h> #include <unicode/msgfmt.h> namespace l10n { /** * @brief A collection of Message Bundles *...
2,877
C++
.h
54
46.740741
117
0.698261
OpenMW/openmw
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,119
manager.hpp
OpenMW_openmw/components/l10n/manager.hpp
#ifndef COMPONENTS_L10N_MANAGER_H #define COMPONENTS_L10N_MANAGER_H #include <memory> #include <components/l10n/messagebundles.hpp> namespace VFS { class Manager; } namespace l10n { class Manager { public: Manager(const VFS::Manager* vfs) : mVFS(vfs) { } ...
1,474
C++
.h
37
33.216216
108
0.667368
OpenMW/openmw
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,120
fontloader.hpp
OpenMW_openmw/components/fontloader/fontloader.hpp
#ifndef OPENMW_COMPONENTS_FONTLOADER_H #define OPENMW_COMPONENTS_FONTLOADER_H #include <MyGUI_Version.h> #include <MyGUI_XmlDocument.h> #include <components/myguiplatform/myguidatamanager.hpp> #include <components/to_utf8/to_utf8.hpp> namespace VFS { class Manager; } namespace MyGUI { class ITexture; cl...
1,349
C++
.h
38
30.578947
111
0.718798
OpenMW/openmw
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,121
db.hpp
OpenMW_openmw/components/sqlite3/db.hpp
#ifndef OPENMW_COMPONENTS_SQLITE3_DB_H #define OPENMW_COMPONENTS_SQLITE3_DB_H #include <memory> #include <string_view> struct sqlite3; namespace Sqlite3 { struct CloseSqlite3 { void operator()(sqlite3* handle) const noexcept; }; using Db = std::unique_ptr<sqlite3, CloseSqlite3>; Db make...
377
C++
.h
15
21.866667
57
0.735955
OpenMW/openmw
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,122
types.hpp
OpenMW_openmw/components/sqlite3/types.hpp
#ifndef OPENMW_COMPONENTS_SQLITE3_TYPES_H #define OPENMW_COMPONENTS_SQLITE3_TYPES_H namespace Sqlite3 { struct ConstBlob { const char* mData; int mSize; }; } #endif
195
C++
.h
11
14
41
0.703297
OpenMW/openmw
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,123
request.hpp
OpenMW_openmw/components/sqlite3/request.hpp
#ifndef OPENMW_COMPONENTS_SQLITE3_REQUEST_H #define OPENMW_COMPONENTS_SQLITE3_REQUEST_H #include "statement.hpp" #include "types.hpp" #include <sqlite3.h> #include <cstddef> #include <cstdint> #include <iterator> #include <memory> #include <stdexcept> #include <string> #include <string_view> #include <type_traits> #...
11,392
C++
.h
266
33.026316
120
0.572831
OpenMW/openmw
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,124
statement.hpp
OpenMW_openmw/components/sqlite3/statement.hpp
#ifndef OPENMW_COMPONENTS_SQLITE3_STATEMENT_H #define OPENMW_COMPONENTS_SQLITE3_STATEMENT_H #include <memory> #include <string_view> #include <utility> struct sqlite3; struct sqlite3_stmt; namespace Sqlite3 { struct CloseSqlite3Stmt { void operator()(sqlite3_stmt* handle) const noexcept; }; ...
816
C++
.h
29
22.862069
77
0.690629
OpenMW/openmw
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,125
transaction.hpp
OpenMW_openmw/components/sqlite3/transaction.hpp
#ifndef OPENMW_COMPONENTS_SQLITE3_TRANSACTION_H #define OPENMW_COMPONENTS_SQLITE3_TRANSACTION_H #include <memory> struct sqlite3; namespace Sqlite3 { struct Rollback { void operator()(sqlite3* handle) const; }; enum class TransactionMode { Default, Deferred, Immed...
588
C++
.h
27
16.481481
91
0.665461
OpenMW/openmw
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,126
sizeaccumulator.hpp
OpenMW_openmw/components/serialization/sizeaccumulator.hpp
#ifndef OPENMW_COMPONENTS_SERIALIZATION_SIZEACCUMULATOR_H #define OPENMW_COMPONENTS_SERIALIZATION_SIZEACCUMULATOR_H #include <cstddef> #include <type_traits> namespace Serialization { class SizeAccumulator { public: SizeAccumulator() = default; SizeAccumulator(const SizeAccumulator&) = de...
1,041
C++
.h
33
23.393939
74
0.584
OpenMW/openmw
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,127
osgyaml.hpp
OpenMW_openmw/components/serialization/osgyaml.hpp
#ifndef OPENMW_COMPONENTS_SERIALIZATION_OSGYAML_H #define OPENMW_COMPONENTS_SERIALIZATION_OSGYAML_H #include <yaml-cpp/yaml.h> #include <osg/Vec2f> #include <osg/Vec3f> #include <osg/Vec4f> namespace Serialization { template <class OSGVec> YAML::Node encodeOSGVec(const OSGVec& rhs) { YAML::Node n...
1,629
C++
.h
48
28.208333
112
0.649425
OpenMW/openmw
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,128
format.hpp
OpenMW_openmw/components/serialization/format.hpp
#ifndef OPENMW_COMPONENTS_SERIALIZATION_FORMAT_H #define OPENMW_COMPONENTS_SERIALIZATION_FORMAT_H #include <algorithm> #include <array> #include <cstddef> #include <cstdint> #include <functional> #include <type_traits> #include <utility> #include <vector> namespace Serialization { enum class Mode { Re...
2,133
C++
.h
65
25.307692
105
0.588721
OpenMW/openmw
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,129
binarywriter.hpp
OpenMW_openmw/components/serialization/binarywriter.hpp
#ifndef OPENMW_COMPONENTS_SERIALIZATION_BINARYWRITER_H #define OPENMW_COMPONENTS_SERIALIZATION_BINARYWRITER_H #include <components/misc/endianness.hpp> #include <algorithm> #include <cassert> #include <cstddef> #include <cstring> #include <stdexcept> #include <type_traits> namespace Serialization { struct NotEno...
2,587
C++
.h
80
21.9125
119
0.520625
OpenMW/openmw
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,130
binaryreader.hpp
OpenMW_openmw/components/serialization/binaryreader.hpp
#ifndef OPENMW_COMPONENTS_SERIALIZATION_BINARYREADER_H #define OPENMW_COMPONENTS_SERIALIZATION_BINARYREADER_H #include <components/misc/endianness.hpp> #include <algorithm> #include <cassert> #include <cstddef> #include <cstring> #include <stdexcept> #include <type_traits> namespace Serialization { struct NotEno...
2,487
C++
.h
74
23.297297
113
0.526206
OpenMW/openmw
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,131
loadtree.hpp
OpenMW_openmw/components/esm4/loadtree.hpp
/* 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...
1,851
C++
.h
45
36.488889
86
0.734078
OpenMW/openmw
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,132
loadsbsp.hpp
OpenMW_openmw/components/esm4/loadsbsp.hpp
/* 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...
1,873
C++
.h
48
33.791667
86
0.717127
OpenMW/openmw
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,133
loadflor.hpp
OpenMW_openmw/components/esm4/loadflor.hpp
/* 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,363
C++
.h
65
29.661538
86
0.67193
OpenMW/openmw
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,134
loaddial.hpp
OpenMW_openmw/components/esm4/loaddial.hpp
/* 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...
2,153
C++
.h
51
37.196078
86
0.722302
OpenMW/openmw
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,135
loadcrea.hpp
OpenMW_openmw/components/esm4/loadcrea.hpp
/* 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...
4,851
C++
.h
129
28.891473
86
0.636944
OpenMW/openmw
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,136
loadinfo.hpp
OpenMW_openmw/components/esm4/loadinfo.hpp
/* 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,756
C++
.h
68
34.647059
107
0.705022
OpenMW/openmw
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,137
loadrefr.hpp
OpenMW_openmw/components/esm4/loadrefr.hpp
/* 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...
3,495
C++
.h
94
30.382979
97
0.666667
OpenMW/openmw
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,138
loadsgst.hpp
OpenMW_openmw/components/esm4/loadsgst.hpp
/* 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,243
C++
.h
58
33.068966
86
0.704063
OpenMW/openmw
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,139
loadterm.hpp
OpenMW_openmw/components/esm4/loadterm.hpp
/* 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...
1,972
C++
.h
49
35.244898
86
0.725223
OpenMW/openmw
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,140
loadidlm.hpp
OpenMW_openmw/components/esm4/loadidlm.hpp
/* 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...
1,942
C++
.h
48
35.729167
86
0.729643
OpenMW/openmw
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,141
cellgrid.hpp
OpenMW_openmw/components/esm4/cellgrid.hpp
/* Copyright (C) 2015-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 appli...
1,409
C++
.h
30
43.9
77
0.781592
OpenMW/openmw
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,142
loadmstt.hpp
OpenMW_openmw/components/esm4/loadmstt.hpp
/* 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...
1,866
C++
.h
45
36.666667
86
0.731451
OpenMW/openmw
5,318
933
0
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false