id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35,741 | storage.hpp | OpenMW_openmw/components/esmterrain/storage.hpp | #ifndef OPENMW_COMPONENTS_ESMTERRAIN_STORAGE_H
#define OPENMW_COMPONENTS_ESMTERRAIN_STORAGE_H
#include <cassert>
#include <mutex>
#include <components/terrain/storage.hpp>
#include <components/esm/esmterrain.hpp>
#include <components/esm/exteriorcelllocation.hpp>
#include <components/esm3/loadltex.hpp>
namespace ES... | 6,854 | C++ | .h | 129 | 45.333333 | 119 | 0.682267 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,742 | gridsampling.hpp | OpenMW_openmw/components/esmterrain/gridsampling.hpp | #ifndef OPENMW_COMPONENTS_ESMTERRAIN_GRIDSAMPLING_H
#define OPENMW_COMPONENTS_ESMTERRAIN_GRIDSAMPLING_H
#include <components/misc/mathutil.hpp>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <stdexcept>
#include <string>
#include <utility>
namespace ESMTerrain
{
inline std::pair<std::size_t, std... | 7,829 | C++ | .h | 169 | 35.35503 | 118 | 0.567755 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,743 | version.hpp | OpenMW_openmw/components/version/version.hpp | #ifndef VERSION_HPP
#define VERSION_HPP
#include <filesystem>
#include <string>
#include <string_view>
namespace Version
{
std::string_view getVersion();
std::string_view getCommitHash();
std::string_view getTagHash();
int getLuaApiRevision();
int getPostprocessingApiRevision();
// Prepares s... | 558 | C++ | .h | 18 | 27.666667 | 74 | 0.7603 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,744 | sdlmappings.hpp | OpenMW_openmw/components/sdlutil/sdlmappings.hpp | #ifndef SDLUTIL_SDLMAPPINGS
#define SDLUTIL_SDLMAPPINGS
#include <string>
#include <MyGUI_KeyCode.h>
#include <SDL_keycode.h>
namespace MyGUI
{
struct MouseButton;
}
namespace SDLUtil
{
std::string sdlControllerButtonToString(int button);
std::string sdlControllerAxisToString(int axis);
MyGUI::Mo... | 567 | C++ | .h | 19 | 26.947368 | 59 | 0.798148 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,745 | vsyncmode.hpp | OpenMW_openmw/components/sdlutil/vsyncmode.hpp | #ifndef OPENMW_COMPONENTS_SDLUTIL_VSYNCMODE_H
#define OPENMW_COMPONENTS_SDLUTIL_VSYNCMODE_H
namespace SDLUtil
{
enum VSyncMode
{
Disabled = 0,
Enabled = 1,
Adaptive = 2
};
}
#endif
| 219 | C++ | .h | 12 | 14.083333 | 45 | 0.673171 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,746 | gl4es_init.h | OpenMW_openmw/components/sdlutil/gl4es_init.h | #ifndef OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
#define OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
#ifdef OPENMW_GL4ES_MANUAL_INIT
#include <SDL_video.h>
// Must be called once SDL video mode has been set,
// which creates a context.
//
// GL4ES can then query the context for features and extensions.
extern "C" void openmw... | 438 | C++ | .h | 11 | 38.636364 | 64 | 0.785882 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,747 | sdlgraphicswindow.hpp | OpenMW_openmw/components/sdlutil/sdlgraphicswindow.hpp | #ifndef OPENMW_COMPONENTS_SDLUTIL_SDLGRAPHICSWINDOW_H
#define OPENMW_COMPONENTS_SDLUTIL_SDLGRAPHICSWINDOW_H
#include <SDL_video.h>
#include <osgViewer/GraphicsWindow>
#include "vsyncmode.hpp"
namespace SDLUtil
{
class GraphicsWindowSDL2 : public osgViewer::GraphicsWindow
{
SDL_Window* mWindow;
... | 2,911 | C++ | .h | 69 | 33.681159 | 118 | 0.657183 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,748 | events.hpp | OpenMW_openmw/components/sdlutil/events.hpp | #ifndef _SFO_EVENTS_H
#define _SFO_EVENTS_H
#include <SDL_events.h>
#include <SDL_types.h>
#include <SDL_version.h>
////////////
// Events //
////////////
namespace SDLUtil
{
/** Extended mouse event struct where we treat the wheel like an axis, like everyone expects */
struct MouseMotionEvent : SDL_MouseMo... | 2,845 | C++ | .h | 85 | 26.705882 | 99 | 0.642075 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,749 | imagetosurface.hpp | OpenMW_openmw/components/sdlutil/imagetosurface.hpp | #ifndef OPENMW_COMPONENTS_SDLUTIL_IMAGETOSURFACE_H
#define OPENMW_COMPONENTS_SDLUTIL_IMAGETOSURFACE_H
#include <memory>
struct SDL_Surface;
namespace osg
{
class Image;
}
namespace SDLUtil
{
typedef std::unique_ptr<SDL_Surface, void (*)(SDL_Surface*)> SurfaceUniquePtr;
/// Convert an osg::Image to an S... | 418 | C++ | .h | 15 | 25.333333 | 82 | 0.772727 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,750 | sdlcursormanager.hpp | OpenMW_openmw/components/sdlutil/sdlcursormanager.hpp | #ifndef OPENMW_COMPONENTS_SDLUTIL_SDLCURSORMANAGER_H
#define OPENMW_COMPONENTS_SDLUTIL_SDLCURSORMANAGER_H
#include <map>
#include <string>
#include <SDL_types.h>
struct SDL_Cursor;
struct SDL_Surface;
namespace osg
{
class Image;
}
namespace SDLUtil
{
class SDLCursorManager
{
public:
SDLCur... | 1,401 | C++ | .h | 38 | 30.894737 | 113 | 0.688889 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,751 | sdlvideowrapper.hpp | OpenMW_openmw/components/sdlutil/sdlvideowrapper.hpp | #ifndef OPENMW_COMPONENTS_SDLUTIL_SDLVIDEOWRAPPER_H
#define OPENMW_COMPONENTS_SDLUTIL_SDLVIDEOWRAPPER_H
#include <osg/ref_ptr>
#include <SDL_types.h>
#include "vsyncmode.hpp"
struct SDL_Window;
namespace osgViewer
{
class Viewer;
}
namespace Settings
{
enum class WindowMode;
}
namespace SDLUtil
{
cl... | 1,036 | C++ | .h | 36 | 23.638889 | 101 | 0.715158 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,752 | sdlinputwrapper.hpp | OpenMW_openmw/components/sdlutil/sdlinputwrapper.hpp | #ifndef OPENMW_COMPONENTS_SDLUTIL_SDLINPUTWRAPPER_H
#define OPENMW_COMPONENTS_SDLUTIL_SDLINPUTWRAPPER_H
#include <osg/ref_ptr>
#include <SDL_events.h>
#include <SDL_version.h>
#include "events.hpp"
namespace osgViewer
{
class Viewer;
}
namespace SDLUtil
{
/// \brief A wrapper around SDL's event queue, most... | 2,454 | C++ | .h | 66 | 29.848485 | 97 | 0.696957 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,753 | processtrianglecallback.hpp | OpenMW_openmw/components/bullethelpers/processtrianglecallback.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_PROCESSTRIANGLECALLBACK_H
#define OPENMW_COMPONENTS_BULLETHELPERS_PROCESSTRIANGLECALLBACK_H
#include <BulletCollision/CollisionShapes/btTriangleCallback.h>
#include <type_traits>
#include <utility>
namespace BulletHelpers
{
template <class Impl>
class ProcessTriangleCa... | 943 | C++ | .h | 29 | 26.862069 | 101 | 0.722161 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,754 | debug.hpp | OpenMW_openmw/components/bullethelpers/debug.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_DEBUG_H
#define OPENMW_COMPONENTS_BULLETHELPERS_DEBUG_H
#include <iomanip>
#include <limits>
#include <ostream>
#include <BulletCollision/BroadphaseCollision/btBroadphaseProxy.h>
#include <LinearMath/btVector3.h>
inline std::ostream& operator<<(std::ostream& stream, const btV... | 2,969 | C++ | .h | 65 | 38.738462 | 120 | 0.648378 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,755 | aabb.hpp | OpenMW_openmw/components/bullethelpers/aabb.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_AABB_H
#define OPENMW_COMPONENTS_BULLETHELPERS_AABB_H
#include <BulletCollision/CollisionShapes/btCollisionShape.h>
#include <BulletCollision/Gimpact/btBoxCollision.h>
#include <LinearMath/btTransform.h>
inline bool operator==(const btAABB& lhs, const btAABB& rhs)
{
return ... | 708 | C++ | .h | 23 | 27.652174 | 86 | 0.745588 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,756 | heightfield.hpp | OpenMW_openmw/components/bullethelpers/heightfield.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_HEIGHTFIELD_H
#define OPENMW_COMPONENTS_BULLETHELPERS_HEIGHTFIELD_H
#include <LinearMath/btVector3.h>
namespace BulletHelpers
{
inline btVector3 getHeightfieldShift(int x, int y, int size, float minHeight, float maxHeight)
{
return btVector3((x + 0.5f) * size, (... | 387 | C++ | .h | 11 | 32.090909 | 98 | 0.742627 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,757 | collisionobject.hpp | OpenMW_openmw/components/bullethelpers/collisionobject.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_COLLISIONOBJECT_H
#define OPENMW_COMPONENTS_BULLETHELPERS_COLLISIONOBJECT_H
#include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <LinearMath/btQuaternion.h>
#include <LinearMath/btTransform.h>
#include <memory>
namespace BulletHelpers
{
inline std::uni... | 704 | C++ | .h | 18 | 35 | 90 | 0.784457 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,758 | operators.hpp | OpenMW_openmw/components/bullethelpers/operators.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_OPERATORS_H
#define OPENMW_COMPONENTS_BULLETHELPERS_OPERATORS_H
#include <tuple>
#include <LinearMath/btTransform.h>
#include <LinearMath/btVector3.h>
inline bool operator<(const btVector3& lhs, const btVector3& rhs)
{
return std::tie(lhs.x(), lhs.y(), lhs.z()) < std::tie(... | 686 | C++ | .h | 18 | 36.111111 | 97 | 0.717523 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,759 | transformboundingbox.hpp | OpenMW_openmw/components/bullethelpers/transformboundingbox.hpp | #ifndef OPENMW_COMPONENTS_BULLETHELPERS_TRANSFORMBOUNDINGBOX_H
#define OPENMW_COMPONENTS_BULLETHELPERS_TRANSFORMBOUNDINGBOX_H
#include <LinearMath/btTransform.h>
#include <LinearMath/btVector3.h>
#include <algorithm>
namespace BulletHelpers
{
inline btVector3 min(const btVector3& a, const btVector3& b)
{
... | 1,416 | C++ | .h | 29 | 43.37931 | 106 | 0.669811 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,760 | ba2dx10file.hpp | OpenMW_openmw/components/bsa/ba2dx10file.hpp | #ifndef BSA_BA2_DX10_FILE_H
#define BSA_BA2_DX10_FILE_H
#include <list>
#include <map>
#include <optional>
#include <string>
#include <vector>
#include <components/bsa/bsa_file.hpp>
namespace Bsa
{
class BA2DX10File : private BSAFile
{
private:
struct TextureChunkRecord
{
uint... | 1,695 | C++ | .h | 52 | 24.615385 | 81 | 0.613022 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,761 | compressedbsafile.hpp | OpenMW_openmw/components/bsa/compressedbsafile.hpp | /*
OpenMW - The completely unofficial reimplementation of Morrowind
Copyright (C) 2008-2010 Nicolay Korslund
Email: < korslund@gmail.com >
WWW: http://openmw.sourceforge.net/
This file (compressedbsafile.hpp) is part of the OpenMW package.
OpenMW is distributed as free software: you can redistribute it
... | 3,991 | C++ | .h | 109 | 27.889908 | 100 | 0.629246 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,762 | bsa_file.hpp | OpenMW_openmw/components/bsa/bsa_file.hpp | /*
OpenMW - The completely unofficial reimplementation of Morrowind
Copyright (C) 2008-2010 Nicolay Korslund
Email: < korslund@gmail.com >
WWW: https://openmw.org/
This file (bsa_file.h) is part of the OpenMW package.
OpenMW is distributed as free software: you can redistribute it
and/or modify it unde... | 4,163 | C++ | .h | 122 | 26.286885 | 79 | 0.592112 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,763 | ba2gnrlfile.hpp | OpenMW_openmw/components/bsa/ba2gnrlfile.hpp | #ifndef BSA_BA2_GNRL_FILE_H
#define BSA_BA2_GNRL_FILE_H
#include <list>
#include <map>
#include <string>
#include <vector>
#include <components/bsa/bsa_file.hpp>
namespace Bsa
{
class BA2GNRLFile : private BSAFile
{
private:
struct FileRecord
{
FileRecord();
uint32... | 1,324 | C++ | .h | 41 | 25.097561 | 81 | 0.639086 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,764 | memorystream.hpp | OpenMW_openmw/components/bsa/memorystream.hpp | /*
OpenMW - The completely unofficial reimplementation of Morrowind
Copyright (C) 2008-2010 Nicolay Korslund
Email: < korslund@gmail.com >
WWW: http://openmw.sourceforge.net/
This file (memorystream.hpp) is part of the OpenMW package.
OpenMW is distributed as free software: you can redistribute it
and/... | 1,740 | C++ | .h | 44 | 34.659091 | 98 | 0.72549 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,765 | ba2file.hpp | OpenMW_openmw/components/bsa/ba2file.hpp | #ifndef BSA_BA2_FILE_H
#define BSA_BA2_FILE_H
#include <cstdint>
#include <string>
namespace Bsa
{
uint32_t generateHash(const std::string& name);
uint32_t generateExtensionHash(std::string_view extension);
enum class BA2Version : std::uint32_t
{
Fallout4 = 1,
StarfieldGeneral = 2,
... | 425 | C++ | .h | 18 | 19.055556 | 63 | 0.667494 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,766 | locals.hpp | OpenMW_openmw/components/esm3/locals.hpp | #ifndef OPENMW_ESM_LOCALS_H
#define OPENMW_ESM_LOCALS_H
#include <string>
#include <vector>
#include "variant.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/// \brief Storage structure for local variables (only used in saved games)
///
/// \note This is not a top-level record.
stru... | 495 | C++ | .h | 20 | 20.6 | 79 | 0.67735 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,767 | loaddial.hpp | OpenMW_openmw/components/esm3/loaddial.hpp | #ifndef OPENMW_ESM_DIAL_H
#define OPENMW_ESM_DIAL_H
#include <list>
#include <map>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "components/esm3/infoorder.hpp"
#include "loadinfo.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Dialo... | 1,959 | C++ | .h | 55 | 28.381818 | 108 | 0.636653 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,768 | loadcrea.hpp | OpenMW_openmw/components/esm3/loadcrea.hpp | #ifndef OPENMW_ESM_CREA_H
#define OPENMW_ESM_CREA_H
#include <array>
#include <string>
#include "aipackage.hpp"
#include "loadcont.hpp"
#include "spelllist.hpp"
#include "transport.hpp"
#include "components/esm/attr.hpp"
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
cla... | 2,831 | C++ | .h | 81 | 26.333333 | 108 | 0.603372 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,769 | variant.hpp | OpenMW_openmw/components/esm3/variant.hpp | #ifndef OPENMW_ESM_VARIANT_H
#define OPENMW_ESM_VARIANT_H
#include <iosfwd>
#include <string>
#include <tuple>
#include <variant>
namespace ESM
{
class ESMReader;
class ESMWriter;
enum VarType
{
VT_Unknown = 0,
VT_None,
VT_Short, // stored as a float, kinda
VT_Int,
... | 2,904 | C++ | .h | 87 | 24.770115 | 102 | 0.582587 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,770 | loadinfo.hpp | OpenMW_openmw/components/esm3/loadinfo.hpp | #ifndef OPENMW_ESM_INFO_H
#define OPENMW_ESM_INFO_H
#include <string>
#include <vector>
#include <components/esm/defs.hpp>
#include <components/esm/refid.hpp>
#include "dialoguecondition.hpp"
#include "variant.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Dialogue information. A ser... | 3,174 | C++ | .h | 91 | 25.637363 | 108 | 0.586928 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,771 | readerscache.hpp | OpenMW_openmw/components/esm3/readerscache.hpp | #ifndef OPENMW_COMPONENTS_ESM3_READERSCACHE_H
#define OPENMW_COMPONENTS_ESM3_READERSCACHE_H
#include "esmreader.hpp"
#include <cstddef>
#include <list>
#include <map>
#include <optional>
#include <string>
namespace ESM
{
class ReadersCache
{
private:
enum class State
{
Busy,
... | 1,628 | C++ | .h | 54 | 21.907407 | 92 | 0.593569 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,772 | infoorder.hpp | OpenMW_openmw/components/esm3/infoorder.hpp | #ifndef OPENMW_COMPONENTS_ESM3_INFOORDER_H
#define OPENMW_COMPONENTS_ESM3_INFOORDER_H
#include "components/esm/refid.hpp"
#include <iterator>
#include <list>
#include <type_traits>
#include <unordered_map>
#include <utility>
namespace ESM
{
template <class T>
class InfoOrder
{
public:
const s... | 2,890 | C++ | .h | 88 | 21.102273 | 89 | 0.50772 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,773 | loadlevlist.hpp | OpenMW_openmw/components/esm3/loadlevlist.hpp | #ifndef OPENMW_ESM_LEVLISTS_H
#define OPENMW_ESM_LEVLISTS_H
#include <string>
#include <vector>
#include "components/esm/refid.hpp"
#include <components/esm/defs.hpp>
#include <components/esm/esmcommon.hpp>
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Levelled lists. Since these have ide... | 3,054 | C++ | .h | 80 | 28.6625 | 110 | 0.605548 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,774 | containerstate.hpp | OpenMW_openmw/components/esm3/containerstate.hpp | #ifndef OPENMW_ESM_CONTAINERSTATE_H
#define OPENMW_ESM_CONTAINERSTATE_H
#include "inventorystate.hpp"
#include "objectstate.hpp"
namespace ESM
{
// format 0, saved games only
struct ContainerState final : public ObjectState
{
InventoryState mInventory;
void load(ESMReader& esm) override;... | 567 | C++ | .h | 17 | 28.705882 | 81 | 0.727941 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,775 | quickkeys.hpp | OpenMW_openmw/components/esm3/quickkeys.hpp | #ifndef OPENMW_COMPONENTS_ESM_QUICKKEYS_H
#define OPENMW_COMPONENTS_ESM_QUICKKEYS_H
#include "components/esm/refid.hpp"
#include <string>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct QuickKeys
{
enum class Type : std::uint32_t
{
Item = 0,
... | 680 | C++ | .h | 30 | 15.5 | 42 | 0.563183 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,776 | spelllist.hpp | OpenMW_openmw/components/esm3/spelllist.hpp | #ifndef OPENMW_ESM_SPELLLIST_H
#define OPENMW_ESM_SPELLLIST_H
#include <components/esm/refid.hpp>
#include <string>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
/** A list of references to spells and spell effects. This is shared
between the records BSGN, NPC and RACE.
NP... | 666 | C++ | .h | 24 | 22.833333 | 72 | 0.674016 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,777 | loadspel.hpp | OpenMW_openmw/components/esm3/loadspel.hpp | #ifndef OPENMW_ESM_SPEL_H
#define OPENMW_ESM_SPEL_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "effectlist.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Spell
{
constexpr static RecNameInts sRecordId = REC_SPEL;
... | 1,617 | C++ | .h | 48 | 25.520833 | 108 | 0.592164 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,779 | loadscpt.hpp | OpenMW_openmw/components/esm3/loadscpt.hpp | #ifndef OPENMW_ESM_SCPT_H
#define OPENMW_ESM_SCPT_H
#include <cstdint>
#include <string>
#include <vector>
#include <components/esm/defs.hpp>
#include <components/esm/refid.hpp>
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Script definitions
*/
class Script
{
public:
... | 1,514 | C++ | .h | 41 | 30.634146 | 108 | 0.676955 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,780 | loadprob.hpp | OpenMW_openmw/components/esm3/loadprob.hpp | #ifndef OPENMW_ESM_PROBE_H
#define OPENMW_ESM_PROBE_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Probe
{
constexpr static RecNameInts sRecordId = REC_PROB;
/// Return a string des... | 978 | C++ | .h | 32 | 23.5625 | 108 | 0.627409 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,781 | loadnpc.hpp | OpenMW_openmw/components/esm3/loadnpc.hpp | #ifndef OPENMW_ESM_NPC_H
#define OPENMW_ESM_NPC_H
#include <array>
#include <string>
#include <vector>
#include "aipackage.hpp"
#include "components/esm/attr.hpp"
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "loadcont.hpp"
#include "loadskil.hpp"
#include "spelllist.hpp"
#include "t... | 3,331 | C++ | .h | 103 | 23.223301 | 108 | 0.582239 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,782 | objectstate.hpp | OpenMW_openmw/components/esm3/objectstate.hpp | #ifndef OPENMW_ESM_OBJECTSTATE_H
#define OPENMW_ESM_OBJECTSTATE_H
#include <string>
#include <vector>
#include <components/esm/luascripts.hpp>
#include <components/esm/position.hpp>
#include <components/esm3/formatversion.hpp>
#include "animationstate.hpp"
#include "cellref.hpp"
#include "locals.hpp"
namespace ESM
... | 2,085 | C++ | .h | 60 | 27.8 | 102 | 0.689122 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,783 | npcstats.hpp | OpenMW_openmw/components/esm3/npcstats.hpp | #ifndef OPENMW_ESM_NPCSTATS_H
#define OPENMW_ESM_NPCSTATS_H
#include "loadskil.hpp"
#include "statstate.hpp"
#include <components/esm/attr.hpp>
#include <components/esm/refid.hpp>
#include <array>
#include <map>
#include <string>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
// for... | 1,237 | C++ | .h | 45 | 20.911111 | 67 | 0.637595 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,784 | landrecorddata.hpp | OpenMW_openmw/components/esm3/landrecorddata.hpp | #ifndef OPENMW_COMPONENTS_ESM3_LANDRECORDDATA_H
#define OPENMW_COMPONENTS_ESM3_LANDRECORDDATA_H
#include <array>
#include <cstdint>
namespace ESM
{
struct LandRecordData
{
// number of vertices per side
static constexpr unsigned sLandSize = 65;
// total number of vertices
stat... | 1,376 | C++ | .h | 32 | 36.03125 | 102 | 0.686422 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,785 | loadappa.hpp | OpenMW_openmw/components/esm3/loadappa.hpp | #ifndef OPENMW_ESM_APPA_H
#define OPENMW_ESM_APPA_H
#include <cstdint>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Alchemist apparatus
*/
struct Apparatus
{
constexpr static Re... | 1,193 | C++ | .h | 43 | 20.27907 | 108 | 0.598418 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,786 | loadarmo.hpp | OpenMW_openmw/components/esm3/loadarmo.hpp | #ifndef OPENMW_ESM_ARMO_H
#define OPENMW_ESM_ARMO_H
#include <cstdint>
#include <string>
#include <vector>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
enum PartReferenceType
{
PRT_Head = 0,
PRT_Hair = 1,
... | 2,684 | C++ | .h | 95 | 20.073684 | 116 | 0.559315 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,787 | selectiongroup.hpp | OpenMW_openmw/components/esm3/selectiongroup.hpp | #ifndef COMPONENTS_ESM_SELECTIONGROUP_H
#define COMPONENTS_ESM_SELECTIONGROUP_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct SelectionGroup
{
constexpr static RecNameInts sRecordId = REC_SELG... | 742 | C++ | .h | 23 | 26.782609 | 86 | 0.694915 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,788 | activespells.hpp | OpenMW_openmw/components/esm3/activespells.hpp | #ifndef OPENMW_ESM_ACTIVESPELLS_H
#define OPENMW_ESM_ACTIVESPELLS_H
#include "cellref.hpp"
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "timestamp.hpp"
#include <string>
#include <variant>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
// Parameter... | 3,358 | C++ | .h | 92 | 27.184783 | 120 | 0.604673 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,789 | loadskil.hpp | OpenMW_openmw/components/esm3/loadskil.hpp | #ifndef OPENMW_ESM_SKIL_H
#define OPENMW_ESM_SKIL_H
#include <array>
#include <optional>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
using SkillId = StringRefId;
struct MagicSchool
{
ESM::Ref... | 4,187 | C++ | .h | 116 | 26.715517 | 108 | 0.617037 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,790 | aisequence.hpp | OpenMW_openmw/components/esm3/aisequence.hpp | #ifndef OPENMW_COMPONENTS_ESM_AISEQUENCE_H
#define OPENMW_COMPONENTS_ESM_AISEQUENCE_H
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include <components/esm/refid.hpp>
#include <components/esm/vector3.hpp>
namespace ESM
{
class ESMReader;
class ESMWriter;
namespace AiSequence
... | 3,859 | C++ | .h | 132 | 18.780303 | 86 | 0.537022 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,791 | loadbook.hpp | OpenMW_openmw/components/esm3/loadbook.hpp | #ifndef OPENMW_ESM_BOOK_H
#define OPENMW_ESM_BOOK_H
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include <cstdint>
#include <string>
namespace ESM
{
/*
* Books, magic scrolls, notes and so on
*/
class ESMReader;
class ESMWriter;
struct Book
{
constex... | 1,057 | C++ | .h | 35 | 23.828571 | 108 | 0.642292 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,792 | loadstat.hpp | OpenMW_openmw/components/esm3/loadstat.hpp | #ifndef OPENMW_ESM_STAT_H
#define OPENMW_ESM_STAT_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Definition of static object.
*
* A stat record is basically just a reference to a nif file. ... | 1,341 | C++ | .h | 35 | 32.628571 | 108 | 0.685185 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,793 | transport.hpp | OpenMW_openmw/components/esm3/transport.hpp | #ifndef OPENMW_COMPONENTS_ESM_TRANSPORT_H
#define OPENMW_COMPONENTS_ESM_TRANSPORT_H
#include <string>
#include <vector>
#include <components/esm/position.hpp>
namespace ESM
{
class ESMReader;
class ESMWriter;
/// List of travel service destination. Shared by CREA and NPC_ records.
struct Transport
... | 637 | C++ | .h | 24 | 20.75 | 77 | 0.662791 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,794 | esmwriter.hpp | OpenMW_openmw/components/esm3/esmwriter.hpp | #ifndef OPENMW_ESM_WRITER_H
#define OPENMW_ESM_WRITER_H
#include <iosfwd>
#include <list>
#include <type_traits>
#include "components/esm/decompose.hpp"
#include "components/esm/esmcommon.hpp"
#include "components/esm/refid.hpp"
#include "loadtes3.hpp"
namespace ToUTF8
{
class Utf8Encoder;
}
namespace ESM
{
... | 6,406 | C++ | .h | 170 | 28.282353 | 109 | 0.600129 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,795 | stolenitems.hpp | OpenMW_openmw/components/esm3/stolenitems.hpp | #ifndef OPENMW_COMPONENTS_ESM_STOLENITEMS_H
#define OPENMW_COMPONENTS_ESM_STOLENITEMS_H
#include <components/esm/refid.hpp>
#include <map>
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct StolenItems
{
typedef std::map<ESM::RefId, st... | 511 | C++ | .h | 19 | 22.631579 | 96 | 0.705761 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,796 | loadench.hpp | OpenMW_openmw/components/esm3/loadench.hpp | #ifndef OPENMW_ESM_ENCH_H
#define OPENMW_ESM_ENCH_H
#include <cstdint>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "effectlist.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Enchantments
*/
struct Enchantment
{
... | 1,266 | C++ | .h | 48 | 18.8125 | 108 | 0.586722 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,797 | loadingr.hpp | OpenMW_openmw/components/esm3/loadingr.hpp | #ifndef OPENMW_ESM_INGR_H
#define OPENMW_ESM_INGR_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Alchemy ingredient
*/
struct Ingredient
{
constexpr static RecNameInts sRecordId... | 1,159 | C++ | .h | 36 | 25.166667 | 108 | 0.633993 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,798 | cellstate.hpp | OpenMW_openmw/components/esm3/cellstate.hpp | #ifndef OPENMW_ESM_CELLSTATE_H
#define OPENMW_ESM_CELLSTATE_H
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "timestamp.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
/// \note Does not include references
struct CellState
... | 613 | C++ | .h | 23 | 21.652174 | 89 | 0.678694 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,799 | dialoguecondition.hpp | OpenMW_openmw/components/esm3/dialoguecondition.hpp | #ifndef OPENMW_ESM3_DIALOGUECONDITION_H
#define OPENMW_ESM3_DIALOGUECONDITION_H
#include <cstdint>
#include <optional>
#include <string>
#include <variant>
#include <components/esm/refid.hpp>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct DialogueCondition
{
enum Function : std::in... | 3,813 | C++ | .h | 122 | 19.991803 | 89 | 0.565099 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,800 | statstate.hpp | OpenMW_openmw/components/esm3/statstate.hpp | #ifndef OPENMW_ESM_STATSTATE_H
#define OPENMW_ESM_STATSTATE_H
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
template <typename T>
struct StatState
{
T mBase;
T mMod; // Note: can either be the modifier, or the modified value.
/... | 606 | C++ | .h | 22 | 21.363636 | 92 | 0.643599 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,801 | variantimp.hpp | OpenMW_openmw/components/esm3/variantimp.hpp | #ifndef OPENMW_ESM_VARIANTIMP_H
#define OPENMW_ESM_VARIANTIMP_H
#include <functional>
#include <string>
#include "variant.hpp"
namespace ESM
{
void readESMVariantValue(ESMReader& reader, Variant::Format format, VarType type, std::string& value);
void readESMVariantValue(ESMReader& reader, Variant::Format fo... | 1,911 | C++ | .h | 51 | 29.862745 | 113 | 0.663049 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,802 | loadcont.hpp | OpenMW_openmw/components/esm3/loadcont.hpp | #ifndef OPENMW_ESM_CONT_H
#define OPENMW_ESM_CONT_H
#include <string>
#include <vector>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Container definition
*/
struct ContItem
{
int32_t mCount{ 0 };... | 1,516 | C++ | .h | 50 | 23.52 | 108 | 0.628966 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,803 | effectlist.hpp | OpenMW_openmw/components/esm3/effectlist.hpp | #ifndef OPENMW_ESM_EFFECTLIST_H
#define OPENMW_ESM_EFFECTLIST_H
#include <cstdint>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
/** Defines a spell effect. Shared between SPEL (Spells), ALCH
(Potions) and ENCH (Item enchantments) records
*/
struct ENAMstruct
{
... | 1,386 | C++ | .h | 43 | 25.790698 | 96 | 0.645379 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,804 | loadlock.hpp | OpenMW_openmw/components/esm3/loadlock.hpp | #ifndef OPENMW_ESM_LOCK_H
#define OPENMW_ESM_LOCK_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Lockpick
{
constexpr static RecNameInts sRecordId = REC_LOCK;
/// Return a string de... | 982 | C++ | .h | 32 | 23.6875 | 108 | 0.628998 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,805 | aipackage.hpp | OpenMW_openmw/components/esm3/aipackage.hpp | #ifndef OPENMW_ESM_AIPACKAGE_H
#define OPENMW_ESM_AIPACKAGE_H
#include <string>
#include <vector>
#include "components/esm/esmcommon.hpp"
#include "components/misc/concepts.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct AIData
{
uint16_t mHello; // This is the base value for g... | 2,374 | C++ | .h | 84 | 21.369048 | 83 | 0.61867 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,806 | loadmgef.hpp | OpenMW_openmw/components/esm3/loadmgef.hpp | #ifndef OPENMW_ESM_MGEF_H
#define OPENMW_ESM_MGEF_H
#include <array>
#include <map>
#include <string>
#include <string_view>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "components/misc/strings/algorithm.hpp"
#include <osg/Vec4>
namespace ESM
{
class ESMReader;
class ESM... | 10,133 | C++ | .h | 258 | 27.406977 | 120 | 0.564131 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,807 | loadtes3.hpp | OpenMW_openmw/components/esm3/loadtes3.hpp | #ifndef COMPONENT_ESM_TES3_H
#define COMPONENT_ESM_TES3_H
#include <vector>
#include "components/esm/common.hpp"
#include "components/esm/esmcommon.hpp"
#include "components/esm3/formatversion.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Data
{
ESM::ESMVersion version;
... | 1,426 | C++ | .h | 49 | 22.306122 | 84 | 0.630769 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,808 | typetraits.hpp | OpenMW_openmw/components/esm3/typetraits.hpp | #ifndef OPENMW_COMPONENTS_ESM3_TYPETRAITS
#define OPENMW_COMPONENTS_ESM3_TYPETRAITS
#include <type_traits>
namespace ESM
{
template <class T, class = std::void_t<>>
struct HasIndex : std::false_type
{
};
template <class T>
struct HasIndex<T, std::void_t<decltype(T::mIndex)>> : std::true_type
... | 766 | C++ | .h | 27 | 24.111111 | 79 | 0.674419 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,809 | esmreader.hpp | OpenMW_openmw/components/esm3/esmreader.hpp | #ifndef OPENMW_ESM_READER_H
#define OPENMW_ESM_READER_H
#include <array>
#include <cstdint>
#include <filesystem>
#include <istream>
#include <map>
#include <memory>
#include <type_traits>
#include <vector>
#include <components/to_utf8/to_utf8.hpp>
#include "components/esm/decompose.hpp"
#include "components/esm/esm... | 12,797 | C++ | .h | 304 | 32.746711 | 109 | 0.550621 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,810 | debugprofile.hpp | OpenMW_openmw/components/esm3/debugprofile.hpp | #ifndef COMPONENTS_ESM_DEBUGPROFILE_H
#define COMPONENTS_ESM_DEBUGPROFILE_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct DebugProfile
{
constexpr static RecNameInts sRecordId = REC_DBGP;
... | 1,037 | C++ | .h | 31 | 26.612903 | 89 | 0.655589 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,811 | loadligh.hpp | OpenMW_openmw/components/esm3/loadligh.hpp | #ifndef OPENMW_ESM_LIGH_H
#define OPENMW_ESM_LIGH_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Lights. Includes static light sources and also carryable candles
* and torches.
*/
stru... | 1,668 | C++ | .h | 51 | 24.254902 | 115 | 0.590399 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,812 | dialoguestate.hpp | OpenMW_openmw/components/esm3/dialoguestate.hpp | #ifndef OPENMW_ESM_DIALOGUESTATE_H
#define OPENMW_ESM_DIALOGUESTATE_H
#include <components/esm/refid.hpp>
#include <map>
#include <string>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct DialogueState
{
// must be lower case topic ... | 588 | C++ | .h | 22 | 22.136364 | 80 | 0.685152 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,813 | loadgmst.hpp | OpenMW_openmw/components/esm3/loadgmst.hpp | #ifndef OPENMW_ESM_GMST_H
#define OPENMW_ESM_GMST_H
#include <string>
#include "variant.hpp"
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Game setting
*
*/
struct GameSetting
{
constexpr s... | 917 | C++ | .h | 30 | 25 | 108 | 0.670103 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,814 | fogstate.hpp | OpenMW_openmw/components/esm3/fogstate.hpp | #ifndef OPENMW_ESM_FOGSTATE_H
#define OPENMW_ESM_FOGSTATE_H
#include <cstdint>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct FogTexture
{
int32_t mX, mY; // Only used for interior cells
std::vector<char> mImageData;
};
// format 0, saved games onl... | 756 | C++ | .h | 32 | 17.15625 | 59 | 0.610879 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,815 | loadalch.hpp | OpenMW_openmw/components/esm3/loadalch.hpp | #ifndef OPENMW_ESM_ALCH_H
#define OPENMW_ESM_ALCH_H
#include <cstdint>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "effectlist.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Alchemy item (potions)
*/
struct Potion
{
... | 1,154 | C++ | .h | 41 | 21.341463 | 108 | 0.620345 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,816 | loadltex.hpp | OpenMW_openmw/components/esm3/loadltex.hpp | #ifndef OPENMW_ESM_LTEX_H
#define OPENMW_ESM_LTEX_H
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Texture used for texturing landscape.
* They are indexed by 'num', but still use 'id' to override... | 1,106 | C++ | .h | 30 | 31.233333 | 108 | 0.685741 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,817 | globalscript.hpp | OpenMW_openmw/components/esm3/globalscript.hpp | #ifndef OPENMW_ESM_GLOBALSCRIPT_H
#define OPENMW_ESM_GLOBALSCRIPT_H
#include "cellref.hpp"
#include "components/esm/refid.hpp"
#include "locals.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/// \brief Storage structure for global script state (only used in saved games)
struct GlobalScript
... | 589 | C++ | .h | 22 | 21.863636 | 83 | 0.688057 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,818 | journalentry.hpp | OpenMW_openmw/components/esm3/journalentry.hpp | #ifndef OPENMW_ESM_JOURNALENTRY_H
#define OPENMW_ESM_JOURNALENTRY_H
#include <components/esm/refid.hpp>
#include <cstdint>
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct JournalEntry
{
enum Type
{
Type_Journal... | 847 | C++ | .h | 32 | 19.09375 | 112 | 0.591078 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,819 | loadcell.hpp | OpenMW_openmw/components/esm3/loadcell.hpp | #ifndef OPENMW_ESM_CELL_H
#define OPENMW_ESM_CELL_H
#include <list>
#include <string>
#include <vector>
#include "components/esm/defs.hpp"
#include "components/esm/esmcommon.hpp"
#include "components/esm/refid.hpp"
#include <components/misc/constants.hpp>
#include "cellref.hpp"
namespace MWWorld
{
class ESMSto... | 7,412 | C++ | .h | 160 | 37.68125 | 120 | 0.654871 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,820 | filter.hpp | OpenMW_openmw/components/esm3/filter.hpp | #ifndef COMPONENTS_ESM_FILTER_H
#define COMPONENTS_ESM_FILTER_H
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Filter
{
constexpr static RecNameInts sRecordId = REC_FILT;
static conste... | 718 | C++ | .h | 24 | 24.291667 | 78 | 0.674963 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,821 | custommarkerstate.hpp | OpenMW_openmw/components/esm3/custommarkerstate.hpp | #ifndef OPENMW_ESM_CUSTOMMARKERSTATE_H
#define OPENMW_ESM_CUSTOMMARKERSTATE_H
#include <components/esm/refid.hpp>
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct CustomMarker
{
float mWorldX;
float mWorldY;
RefId mCell;
std:... | 635 | C++ | .h | 23 | 21.521739 | 120 | 0.646766 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,822 | creaturestate.hpp | OpenMW_openmw/components/esm3/creaturestate.hpp | #ifndef OPENMW_ESM_CREATURESTATE_H
#define OPENMW_ESM_CREATURESTATE_H
#include "creaturestats.hpp"
#include "inventorystate.hpp"
#include "objectstate.hpp"
namespace ESM
{
// format 0, saved games only
struct CreatureState final : public ObjectState
{
InventoryState mInventory;
CreatureSt... | 699 | C++ | .h | 21 | 28.142857 | 79 | 0.71535 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,823 | loadpgrd.hpp | OpenMW_openmw/components/esm3/loadpgrd.hpp | #ifndef OPENMW_ESM_PGRD_H
#define OPENMW_ESM_PGRD_H
#include <string>
#include <vector>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Path grid.
*/
struct Pathgrid
{
constexpr static RecNameInts sR... | 1,908 | C++ | .h | 57 | 24.54386 | 108 | 0.581927 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,824 | npcstate.hpp | OpenMW_openmw/components/esm3/npcstate.hpp | #ifndef OPENMW_ESM_NPCSTATE_H
#define OPENMW_ESM_NPCSTATE_H
#include "creaturestats.hpp"
#include "inventorystate.hpp"
#include "npcstats.hpp"
#include "objectstate.hpp"
namespace ESM
{
// format 0, saved games only
struct NpcState final : public ObjectState
{
InventoryState mInventory;
N... | 716 | C++ | .h | 23 | 26 | 75 | 0.699708 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,825 | loadregn.hpp | OpenMW_openmw/components/esm3/loadregn.hpp | #ifndef OPENMW_ESM_REGN_H
#define OPENMW_ESM_REGN_H
#include <array>
#include <string>
#include <vector>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Region data
*/
struct Region
{
constexpr stat... | 1,517 | C++ | .h | 46 | 25.804348 | 108 | 0.630748 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,826 | mappings.hpp | OpenMW_openmw/components/esm3/mappings.hpp | #ifndef OPENMW_ESM_MAPPINGS_H
#define OPENMW_ESM_MAPPINGS_H
#include <string>
#include <components/esm3/loadarmo.hpp>
#include <components/esm3/loadbody.hpp>
namespace ESM
{
BodyPart::MeshPart getMeshPart(PartReferenceType type);
std::string getBoneName(PartReferenceType type);
std::string getMeshFilter(... | 355 | C++ | .h | 12 | 27.25 | 59 | 0.80826 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,827 | loadbody.hpp | OpenMW_openmw/components/esm3/loadbody.hpp | #ifndef OPENMW_ESM_BODY_H
#define OPENMW_ESM_BODY_H
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include <cstdint>
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct BodyPart
{
constexpr static RecNameInts sRecordId = REC_BODY;
///... | 1,795 | C++ | .h | 64 | 18.875 | 108 | 0.530303 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
35,828 | cellref.hpp | OpenMW_openmw/components/esm3/cellref.hpp | #ifndef OPENMW_ESM_CELLREF_H
#define OPENMW_ESM_CELLREF_H
#include <cstdint>
#include <string>
#include <components/esm/defs.hpp>
#include <components/esm/position.hpp>
#include <components/esm/refid.hpp>
#include "refnum.hpp"
namespace ESM
{
class ESMWriter;
class ESMReader;
/* Cell reference. This re... | 3,646 | C++ | .h | 81 | 37.358025 | 115 | 0.665818 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,829 | projectilestate.hpp | OpenMW_openmw/components/esm3/projectilestate.hpp | #ifndef OPENMW_ESM_PROJECTILESTATE_H
#define OPENMW_ESM_PROJECTILESTATE_H
#include <osg/Quat>
#include <osg/Vec3f>
#include "components/esm/quaternion.hpp"
#include "components/esm/refid.hpp"
#include "components/esm/vector3.hpp"
#include "refnum.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/... | 1,028 | C++ | .h | 40 | 19.925 | 55 | 0.674203 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,830 | formatversion.hpp | OpenMW_openmw/components/esm3/formatversion.hpp | #ifndef OPENMW_COMPONENTS_ESM3_FORMATVERSION_H
#define OPENMW_COMPONENTS_ESM3_FORMATVERSION_H
#include <cstdint>
namespace ESM
{
using FormatVersion = std::uint32_t;
inline constexpr FormatVersion DefaultFormatVersion = 0;
inline constexpr FormatVersion CurrentContentFormatVersion = 1;
inline constex... | 2,010 | C++ | .h | 33 | 56.606061 | 98 | 0.843306 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,831 | player.hpp | OpenMW_openmw/components/esm3/player.hpp | #ifndef OPENMW_ESM_PLAYER_H
#define OPENMW_ESM_PLAYER_H
#include <string>
#include <components/esm/attr.hpp>
#include <components/esm/position.hpp>
#include "loadskil.hpp"
#include "npcstate.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct Player
{
... | 934 | C++ | .h | 32 | 23.34375 | 108 | 0.689113 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,832 | loadacti.hpp | OpenMW_openmw/components/esm3/loadacti.hpp | #ifndef OPENMW_ESM_ACTI_H
#define OPENMW_ESM_ACTI_H
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include <cstdint>
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Activator
{
constexpr static RecNameInts sRecordId = REC_ACTI;
//... | 810 | C++ | .h | 25 | 27 | 108 | 0.68129 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,833 | controlsstate.hpp | OpenMW_openmw/components/esm3/controlsstate.hpp | #ifndef OPENMW_ESM_CONTROLSSTATE_H
#define OPENMW_ESM_CONTROLSSTATE_H
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct ControlsState
{
ControlsState();
enum Flags
{
ViewSwitchDisabled = 0x1,
ControlsDisabled = ... | 870 | C++ | .h | 32 | 19.34375 | 43 | 0.635379 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,834 | weatherstate.hpp | OpenMW_openmw/components/esm3/weatherstate.hpp | #ifndef OPENMW_ESM_WEATHERSTATE_H
#define OPENMW_ESM_WEATHERSTATE_H
#include <components/esm/refid.hpp>
#include <map>
#include <string>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct RegionWeatherState
{
int32_t mWeather;
std::vector<uint8_t> mChances;
... | 759 | C++ | .h | 31 | 18.903226 | 58 | 0.674515 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,835 | creaturestats.hpp | OpenMW_openmw/components/esm3/creaturestats.hpp | #ifndef OPENMW_ESM_CREATURESTATS_H
#define OPENMW_ESM_CREATURESTATS_H
#include <array>
#include <map>
#include <string>
#include <vector>
#include "statstate.hpp"
#include "components/esm/defs.hpp"
#include "activespells.hpp"
#include "aisequence.hpp"
#include "components/esm/attr.hpp"
#include "components/esm/refi... | 2,592 | C++ | .h | 87 | 21.931034 | 68 | 0.634646 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,836 | queststate.hpp | OpenMW_openmw/components/esm3/queststate.hpp | #ifndef OPENMW_ESM_QUESTSTATE_H
#define OPENMW_ESM_QUESTSTATE_H
#include <components/esm/refid.hpp>
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct QuestState
{
ESM::RefId mTopic; // lower case id
int32_t mState;
un... | 437 | C++ | .h | 19 | 18.315789 | 43 | 0.674757 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,837 | loadfact.hpp | OpenMW_openmw/components/esm3/loadfact.hpp | #ifndef OPENMW_ESM_FACT_H
#define OPENMW_ESM_FACT_H
#include <array>
#include <map>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Faction definitions
*/
// Requirements for each rank
str... | 2,403 | C++ | .h | 62 | 30.241935 | 108 | 0.620199 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,838 | loadclas.hpp | OpenMW_openmw/components/esm3/loadclas.hpp | #ifndef OPENMW_ESM_CLAS_H
#define OPENMW_ESM_CLAS_H
#include <array>
#include <cstdint>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Character class definitions
*/
struct Class
{
... | 1,812 | C++ | .h | 50 | 28.36 | 108 | 0.622426 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,839 | refnum.hpp | OpenMW_openmw/components/esm3/refnum.hpp | #ifndef OPENMW_COMPONENTS_ESM3_REFNUM_H
#define OPENMW_COMPONENTS_ESM3_REFNUM_H
#include <components/esm/formid.hpp>
namespace ESM
{
using RefNum = ESM::FormId;
}
#endif
| 177 | C++ | .h | 8 | 20.25 | 39 | 0.795181 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,840 | loadbsgn.hpp | OpenMW_openmw/components/esm3/loadbsgn.hpp | #ifndef OPENMW_ESM_BSGN_H
#define OPENMW_ESM_BSGN_H
#include <cstdint>
#include <string>
#include "components/esm/defs.hpp"
#include "components/esm/refid.hpp"
#include "spelllist.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
struct BirthSign
{
constexpr static RecNameInts sRecordI... | 947 | C++ | .h | 28 | 28.321429 | 108 | 0.686469 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
35,841 | doorstate.hpp | OpenMW_openmw/components/esm3/doorstate.hpp | #ifndef OPENMW_ESM_DOORSTATE_H
#define OPENMW_ESM_DOORSTATE_H
#include "objectstate.hpp"
namespace ESM
{
// format 0, saved games only
struct DoorState final : public ObjectState
{
int32_t mDoorState = 0;
void load(ESMReader& esm) override;
void save(ESMWriter& esm, bool inInvent... | 499 | C++ | .h | 16 | 26.3125 | 75 | 0.691824 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.