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,649 | groundcoverstore.hpp | OpenMW_openmw/apps/openmw/mwworld/groundcoverstore.hpp | #ifndef GAME_MWWORLD_GROUNDCOVER_STORE_H
#define GAME_MWWORLD_GROUNDCOVER_STORE_H
#include <components/esm/refid.hpp>
#include <components/vfs/pathutil.hpp>
#include <map>
#include <string>
#include <vector>
namespace ESM
{
struct ESM_Context;
struct Static;
struct Cell;
}
namespace Loading
{
class ... | 1,243 | C++ | .h | 49 | 20.367347 | 95 | 0.669205 | OpenMW/openmw | 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,650 | actionrepair.hpp | OpenMW_openmw/apps/openmw/mwworld/actionrepair.hpp | #ifndef GAME_MWWORLD_ACTIONREPAIR_H
#define GAME_MWWORLD_ACTIONREPAIR_H
#include "action.hpp"
namespace MWWorld
{
class ActionRepair : public Action
{
bool mForce;
void executeImp(const Ptr& actor) override;
public:
/// @param item repair hammer
ActionRepair(const Ptr& it... | 362 | C++ | .h | 15 | 19.6 | 58 | 0.690058 | OpenMW/openmw | 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,651 | esmstore.hpp | OpenMW_openmw/apps/openmw/mwworld/esmstore.hpp | #ifndef OPENMW_MWWORLD_ESMSTORE_H
#define OPENMW_MWWORLD_ESMSTORE_H
#include <filesystem>
#include <memory>
#include <stdexcept>
#include <tuple>
#include <unordered_map>
#include <components/esm/luascripts.hpp>
#include <components/esm/refid.hpp>
#include <components/esm3/loadgmst.hpp>
#include <components/misc/tupl... | 10,148 | C++ | .h | 263 | 30.859316 | 120 | 0.640822 | OpenMW/openmw | 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,652 | actionopen.hpp | OpenMW_openmw/apps/openmw/mwworld/actionopen.hpp | #ifndef GAME_MWWORLD_ACTIONOPEN_H
#define GAME_MWWORLD_ACTIONOPEN_H
#include "action.hpp"
namespace MWWorld
{
class ActionOpen : public Action
{
void executeImp(const MWWorld::Ptr& actor) override;
public:
ActionOpen(const Ptr& container);
///< \param container The Container the P... | 374 | C++ | .h | 14 | 22.571429 | 69 | 0.710674 | 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,653 | worldimp.hpp | OpenMW_openmw/apps/openmw/mwworld/worldimp.hpp | #ifndef GAME_MWWORLD_WORLDIMP_H
#define GAME_MWWORLD_WORLDIMP_H
#include <osg/Timer>
#include <osg/ref_ptr>
#include <components/esm3/readerscache.hpp>
#include <components/misc/rng.hpp>
#include <components/settings/settings.hpp>
#include <components/vfs/pathutil.hpp>
#include "../mwbase/world.hpp"
#include "conte... | 27,515 | C++ | .h | 477 | 48.997904 | 120 | 0.698014 | OpenMW/openmw | 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,654 | actionteleport.hpp | OpenMW_openmw/apps/openmw/mwworld/actionteleport.hpp | #ifndef GAME_MWWORLD_ACTIONTELEPORT_H
#define GAME_MWWORLD_ACTIONTELEPORT_H
#include <set>
#include <string>
#include <string_view>
#include <components/esm/defs.hpp>
#include "action.hpp"
namespace MWWorld
{
class ActionTeleport : public Action
{
ESM::RefId mCellId;
ESM::Position mPosition;... | 1,255 | C++ | .h | 30 | 35.866667 | 115 | 0.685033 | OpenMW/openmw | 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,655 | globalvariablename.hpp | OpenMW_openmw/apps/openmw/mwworld/globalvariablename.hpp | #ifndef OPENMW_MWWORLD_GLOBALVARIABLENAME_H
#define OPENMW_MWWORLD_GLOBALVARIABLENAME_H
#include <cstddef>
#include <string>
#include <string_view>
namespace MWWorld
{
class Globals;
class GlobalVariableName
{
public:
GlobalVariableName(const std::string& value)
: mValue(value)
... | 871 | C++ | .h | 34 | 18.676471 | 101 | 0.623942 | OpenMW/openmw | 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,656 | action.hpp | OpenMW_openmw/apps/openmw/mwworld/action.hpp | #ifndef GAME_MWWORLD_ACTION_H
#define GAME_MWWORLD_ACTION_H
#include <string>
#include <string_view>
#include "ptr.hpp"
namespace MWWorld
{
/// \brief Abstract base for actions
class Action
{
ESM::RefId mSoundId;
bool mKeepSound;
float mSoundOffset;
Ptr mTarget;
/... | 1,072 | C++ | .h | 33 | 26 | 106 | 0.646199 | 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,657 | actiontalk.hpp | OpenMW_openmw/apps/openmw/mwworld/actiontalk.hpp | #ifndef GAME_MWWORLD_ACTIONTALK_H
#define GAME_MWWORLD_ACTIONTALK_H
#include "action.hpp"
namespace MWWorld
{
class ActionTalk : public Action
{
void executeImp(const Ptr& actor) override;
public:
ActionTalk(const Ptr& actor);
///< \param actor The actor the player is talking to
... | 336 | C++ | .h | 14 | 19.857143 | 60 | 0.698113 | 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,658 | inventorystore.hpp | OpenMW_openmw/apps/openmw/mwworld/inventorystore.hpp | #ifndef GAME_MWWORLD_INVENTORYSTORE_H
#define GAME_MWWORLD_INVENTORYSTORE_H
#include "containerstore.hpp"
namespace ESM
{
struct MagicEffect;
}
namespace MWMechanics
{
class NpcStats;
}
namespace MWWorld
{
class InventoryStoreListener
{
public:
/**
* Fired when items are equippe... | 6,861 | C++ | .h | 142 | 39.929577 | 118 | 0.674356 | OpenMW/openmw | 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,659 | positioncellgrid.hpp | OpenMW_openmw/apps/openmw/mwworld/positioncellgrid.hpp | #ifndef OPENMW_APPS_OPENMW_MWWORLD_POSITIONCELLGRID_H
#define OPENMW_APPS_OPENMW_MWWORLD_POSITIONCELLGRID_H
#include <osg/Vec3f>
#include <osg/Vec4i>
namespace MWWorld
{
struct PositionCellGrid
{
osg::Vec3f mPosition;
osg::Vec4i mCellBounds;
};
}
#endif
| 285 | C++ | .h | 13 | 18.538462 | 53 | 0.747212 | OpenMW/openmw | 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,660 | registeredclass.hpp | OpenMW_openmw/apps/openmw/mwworld/registeredclass.hpp | #ifndef GAME_MWWORLD_REGISTEREDCLASS_H
#define GAME_MWWORLD_REGISTEREDCLASS_H
#include "class.hpp"
namespace MWWorld
{
template <class Derived, class Base = Class>
class RegisteredClass : public Base
{
public:
static void registerSelf()
{
static Derived instance;
... | 489 | C++ | .h | 22 | 16.136364 | 48 | 0.63067 | OpenMW/openmw | 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,661 | cellref.hpp | OpenMW_openmw/apps/openmw/mwworld/cellref.hpp | #ifndef OPENMW_MWWORLD_CELLREF_H
#define OPENMW_MWWORLD_CELLREF_H
#include <string_view>
#include <components/esm/esmbridge.hpp>
#include <components/esm3/cellref.hpp>
#include <components/esm4/loadrefr.hpp>
namespace ESM
{
struct Enchantment;
struct ObjectState;
}
namespace MWWorld
{
/// \brief Encaps... | 10,558 | C++ | .h | 227 | 35.735683 | 115 | 0.595474 | OpenMW/openmw | 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,662 | player.hpp | OpenMW_openmw/apps/openmw/mwworld/player.hpp | #ifndef GAME_MWWORLD_PLAYER_H
#define GAME_MWWORLD_PLAYER_H
#include <array>
#include <map>
#include "../mwworld/livecellref.hpp"
#include "../mwmechanics/drawstate.hpp"
#include <components/esm/attr.hpp>
#include <components/esm/refid.hpp>
#include <components/esm3/loadnpc.hpp>
#include <components/esm3/loadskil.h... | 3,728 | C++ | .h | 89 | 34.719101 | 115 | 0.686563 | OpenMW/openmw | 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,663 | actionalchemy.hpp | OpenMW_openmw/apps/openmw/mwworld/actionalchemy.hpp | #ifndef GAME_MWWORLD_ACTIONALCHEMY_H
#define GAME_MWWORLD_ACTIONALCHEMY_H
#include "action.hpp"
namespace MWWorld
{
class ActionAlchemy : public Action
{
bool mForce;
void executeImp(const Ptr& actor) override;
public:
ActionAlchemy(bool force = false);
};
}
#endif
| 310 | C++ | .h | 14 | 18 | 51 | 0.708904 | OpenMW/openmw | 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,664 | movementdirection.hpp | OpenMW_openmw/apps/openmw/mwworld/movementdirection.hpp | #ifndef OPENMW_APPS_OPENMW_MWWORLD_MOVEMENTDIRECTION_H
#define OPENMW_APPS_OPENMW_MWWORLD_MOVEMENTDIRECTION_H
namespace MWWorld
{
using MovementDirectionFlags = unsigned char;
enum MovementDirectionFlag : MovementDirectionFlags
{
MovementDirectionFlag_Forward = 1 << 0,
MovementDirectionFla... | 445 | C++ | .h | 14 | 27.142857 | 55 | 0.731308 | OpenMW/openmw | 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,665 | esmloader.hpp | OpenMW_openmw/apps/openmw/mwworld/esmloader.hpp | #ifndef ESMLOADER_HPP
#define ESMLOADER_HPP
#include <map>
#include <optional>
#include <vector>
#include "contentloader.hpp"
namespace ToUTF8
{
class Utf8Encoder;
}
namespace ESM
{
class ReadersCache;
struct Dialogue;
}
namespace MWWorld
{
class ESMStore;
struct EsmLoader : public ContentLoa... | 1,033 | C++ | .h | 35 | 24.628571 | 110 | 0.701826 | OpenMW/openmw | 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,666 | weather.hpp | OpenMW_openmw/apps/openmw/mwworld/weather.hpp | #ifndef GAME_MWWORLD_WEATHER_H
#define GAME_MWWORLD_WEATHER_H
#include <cstdint>
#include <map>
#include <string>
#include <osg/Vec4f>
#include <components/esm/refid.hpp>
#include <components/fallback/fallback.hpp>
#include "../mwbase/soundmanager.hpp"
#include "../mwrender/skyutil.hpp"
namespace ESM
{
struct... | 12,159 | C++ | .h | 307 | 31.237785 | 119 | 0.665759 | OpenMW/openmw | 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,667 | doorstate.hpp | OpenMW_openmw/apps/openmw/mwworld/doorstate.hpp | #ifndef GAME_MWWORLD_DOORSTATE_H
#define GAME_MWWORLD_DOORSTATE_H
namespace MWWorld
{
enum class DoorState
{
Idle = 0,
Opening = 1,
Closing = 2,
};
}
#endif
| 195 | C++ | .h | 12 | 12.083333 | 32 | 0.629834 | OpenMW/openmw | 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,668 | actionequip.hpp | OpenMW_openmw/apps/openmw/mwworld/actionequip.hpp | #ifndef GAME_MWWORLD_ACTIONEQUIP_H
#define GAME_MWWORLD_ACTIONEQUIP_H
#include "action.hpp"
namespace MWWorld
{
class ActionEquip : public Action
{
bool mForce;
void executeImp(const Ptr& actor) override;
public:
/// @param item to equip
ActionEquip(const Ptr& object, boo... | 355 | C++ | .h | 15 | 19.133333 | 59 | 0.683582 | OpenMW/openmw | 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,669 | datetimemanager.hpp | OpenMW_openmw/apps/openmw/mwworld/datetimemanager.hpp | #ifndef GAME_MWWORLD_DATETIMEMANAGER_H
#define GAME_MWWORLD_DATETIMEMANAGER_H
#include <set>
#include <string_view>
#include "globalvariablename.hpp"
namespace ESM
{
struct EpochTimeStamp;
}
namespace MWWorld
{
class Globals;
class TimeStamp;
class World;
class DateTimeManager
{
public:... | 2,834 | C++ | .h | 64 | 37.125 | 107 | 0.685776 | OpenMW/openmw | 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,670 | actiontake.hpp | OpenMW_openmw/apps/openmw/mwworld/actiontake.hpp | #ifndef GAME_MWWORLD_ACTIONTAKE_H
#define GAME_MWWORLD_ACTIONTAKE_H
#include "action.hpp"
namespace MWWorld
{
class ActionTake : public Action
{
void executeImp(const Ptr& actor) override;
public:
ActionTake(const MWWorld::Ptr& object);
};
}
#endif
| 285 | C++ | .h | 13 | 18.153846 | 51 | 0.716418 | 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,671 | cell.hpp | OpenMW_openmw/apps/openmw/mwworld/cell.hpp | #ifndef OPENW_MWORLD_CELL
#define OPENW_MWORLD_CELL
#include <osg/Vec2i>
#include <components/esm/esmbridge.hpp>
#include <components/esm/exteriorcelllocation.hpp>
#include <components/esm/refid.hpp>
namespace ESM
{
struct Cell;
}
namespace ESM4
{
struct Cell;
}
namespace MWWorld
{
class CellStore;
... | 2,183 | C++ | .h | 64 | 27.109375 | 93 | 0.647366 | OpenMW/openmw | 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,672 | cellvisitors.hpp | OpenMW_openmw/apps/openmw/mwworld/cellvisitors.hpp | #ifndef GAME_MWWORLD_CELLVISITORS_H
#define GAME_MWWORLD_CELLVISITORS_H
#include <string>
#include <vector>
#include "ptr.hpp"
namespace MWWorld
{
struct ListAndResetObjectsVisitor
{
std::vector<MWWorld::Ptr> mObjects;
bool operator()(const MWWorld::Ptr& ptr)
{
if (ptr.ge... | 520 | C++ | .h | 22 | 16.863636 | 54 | 0.600815 | OpenMW/openmw | 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,673 | localscripts.hpp | OpenMW_openmw/apps/openmw/mwworld/localscripts.hpp | #ifndef GAME_MWWORLD_LOCALSCRIPTS_H
#define GAME_MWWORLD_LOCALSCRIPTS_H
#include <list>
#include <string>
#include "ptr.hpp"
namespace MWWorld
{
class ESMStore;
class CellStore;
class RefData;
/// \brief List of active local scripts
class LocalScripts
{
std::list<std::pair<ESM::RefId... | 1,436 | C++ | .h | 39 | 30.102564 | 100 | 0.644718 | OpenMW/openmw | 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,674 | actionapply.hpp | OpenMW_openmw/apps/openmw/mwworld/actionapply.hpp | #ifndef GAME_MWWORLD_ACTIONAPPLY_H
#define GAME_MWWORLD_ACTIONAPPLY_H
#include "action.hpp"
#include <components/esm/refid.hpp>
#include <string>
namespace MWWorld
{
class ActionApply : public Action
{
ESM::RefId mId;
void executeImp(const Ptr& actor) override;
public:
ActionAppl... | 381 | C++ | .h | 16 | 20 | 61 | 0.711111 | OpenMW/openmw | 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,675 | cellpreloader.hpp | OpenMW_openmw/apps/openmw/mwworld/cellpreloader.hpp | #ifndef OPENMW_MWWORLD_CELLPRELOADER_H
#define OPENMW_MWWORLD_CELLPRELOADER_H
#include "positioncellgrid.hpp"
#include <components/sceneutil/workqueue.hpp>
#include <osg/ref_ptr>
#include <map>
#include <span>
namespace osg
{
class Stats;
}
namespace Resource
{
class ResourceSystem;
class BulletShapeM... | 4,087 | C++ | .h | 105 | 31.533333 | 113 | 0.687104 | OpenMW/openmw | 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,676 | actioneat.hpp | OpenMW_openmw/apps/openmw/mwworld/actioneat.hpp | #ifndef GAME_MWWORLD_ACTIONEAT_H
#define GAME_MWWORLD_ACTIONEAT_H
#include "action.hpp"
namespace MWWorld
{
class ActionEat : public Action
{
void executeImp(const Ptr& actor) override;
public:
ActionEat(const MWWorld::Ptr& object);
};
}
#endif
| 281 | C++ | .h | 13 | 17.846154 | 51 | 0.712121 | 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,677 | magiceffects.hpp | OpenMW_openmw/apps/openmw/mwworld/magiceffects.hpp | #ifndef OPENMW_MWWORLD_MAGICEFFECTS_H
#define OPENMW_MWWORLD_MAGICEFFECTS_H
namespace ESM
{
struct CreatureStats;
struct InventoryState;
struct NpcStats;
}
namespace MWWorld
{
void convertMagicEffects(
ESM::CreatureStats& creatureStats, ESM::InventoryState& inventory, ESM::NpcStats* npcStats =... | 502 | C++ | .h | 16 | 28.0625 | 110 | 0.7921 | OpenMW/openmw | 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,678 | timestamp.hpp | OpenMW_openmw/apps/openmw/mwworld/timestamp.hpp | #ifndef GAME_MWWORLD_TIMESTAMP_H
#define GAME_MWWORLD_TIMESTAMP_H
namespace ESM
{
struct TimeStamp;
}
namespace MWWorld
{
/// \brief In-game time stamp
///
/// This class is based on the global variables GameHour and DaysPassed.
class TimeStamp
{
float mHour;
int mDay;
pub... | 1,375 | C++ | .h | 38 | 30.631579 | 78 | 0.674471 | 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,679 | failedaction.hpp | OpenMW_openmw/apps/openmw/mwworld/failedaction.hpp | #ifndef GAME_MWWORLD_FAILEDACTION_H
#define GAME_MWWORLD_FAILEDACTION_H
#include "action.hpp"
#include "ptr.hpp"
namespace MWWorld
{
class FailedAction : public Action
{
std::string_view mMessage;
void executeImp(const Ptr& actor) override;
public:
FailedAction(std::string_view m... | 378 | C++ | .h | 15 | 21.2 | 79 | 0.698324 | OpenMW/openmw | 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,680 | store.hpp | OpenMW_openmw/apps/openmw/mwworld/store.hpp | #ifndef OPENMW_MWWORLD_STORE_H
#define OPENMW_MWWORLD_STORE_H
#include <map>
#include <memory>
#include <set>
#include <span>
#include <string>
#include <unordered_map>
#include <vector>
#include <components/esm/attr.hpp>
#include <components/esm/refid.hpp>
#include <components/esm/util.hpp>
#include <components/esm3... | 18,450 | C++ | .h | 467 | 31.079229 | 118 | 0.626177 | OpenMW/openmw | 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,681 | actionread.hpp | OpenMW_openmw/apps/openmw/mwworld/actionread.hpp | #ifndef GAME_MWWORLD_ACTIONREAD_H
#define GAME_MWWORLD_ACTIONREAD_H
#include "action.hpp"
namespace MWWorld
{
class ActionRead : public Action
{
void executeImp(const MWWorld::Ptr& actor) override;
public:
/// @param book or scroll to read
ActionRead(const Ptr& object);
};
}
... | 343 | C++ | .h | 14 | 20.357143 | 60 | 0.695385 | 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,682 | customdata.hpp | OpenMW_openmw/apps/openmw/mwworld/customdata.hpp | #ifndef GAME_MWWORLD_CUSTOMDATA_H
#define GAME_MWWORLD_CUSTOMDATA_H
#include <memory>
namespace MWClass
{
class CreatureCustomData;
class ESM4NpcCustomData;
class NpcCustomData;
class ContainerCustomData;
class DoorCustomData;
class CreatureLevListCustomData;
}
namespace MWWorld
{
/// \br... | 1,717 | C++ | .h | 41 | 35.97561 | 117 | 0.739627 | OpenMW/openmw | 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,683 | typedaipackage.hpp | OpenMW_openmw/apps/openmw/mwmechanics/typedaipackage.hpp | #ifndef GAME_MWMECHANICS_TYPEDAIPACKAGE_H
#define GAME_MWMECHANICS_TYPEDAIPACKAGE_H
#include "aipackage.hpp"
namespace MWMechanics
{
template <class T>
struct TypedAiPackage : public AiPackage
{
TypedAiPackage()
: AiPackage(T::getTypeId(), T::makeDefaultOptions())
{
}
... | 879 | C++ | .h | 29 | 23 | 119 | 0.62159 | OpenMW/openmw | 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,684 | creaturecustomdataresetter.hpp | OpenMW_openmw/apps/openmw/mwmechanics/creaturecustomdataresetter.hpp | #ifndef OPENMW_MWMECHANICS_CREATURECUSTOMDATARESETTER_H
#define OPENMW_MWMECHANICS_CREATURECUSTOMDATARESETTER_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
struct CreatureCustomDataResetter
{
MWWorld::Ptr mPtr;
~CreatureCustomDataResetter()
{
if (!mPtr.isEmpty())... | 401 | C++ | .h | 16 | 19.3125 | 55 | 0.674541 | OpenMW/openmw | 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,685 | pathfinding.hpp | OpenMW_openmw/apps/openmw/mwmechanics/pathfinding.hpp | #ifndef GAME_MWMECHANICS_PATHFINDING_H
#define GAME_MWMECHANICS_PATHFINDING_H
#include <cassert>
#include <deque>
#include <iterator>
#include <components/detournavigator/areatype.hpp>
#include <components/detournavigator/flags.hpp>
#include <components/detournavigator/status.hpp>
#include <components/esm/position.hp... | 8,124 | C++ | .h | 172 | 38.639535 | 120 | 0.654819 | OpenMW/openmw | 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,686 | setbaseaisetting.hpp | OpenMW_openmw/apps/openmw/mwmechanics/setbaseaisetting.hpp | #ifndef OPENMW_MWMECHANICS_SETBASEAISETTING_H
#define OPENMW_MWMECHANICS_SETBASEAISETTING_H
#include <string>
#include "../mwbase/environment.hpp"
#include "../mwworld/esmstore.hpp"
#include "aisetting.hpp"
namespace MWMechanics
{
template <class T>
void setBaseAISetting(const ESM::RefId& id, MWMechanics::... | 1,082 | C++ | .h | 33 | 23.727273 | 90 | 0.595398 | OpenMW/openmw | 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,687 | disease.hpp | OpenMW_openmw/apps/openmw/mwmechanics/disease.hpp | #ifndef OPENMW_MECHANICS_DISEASE_H
#define OPENMW_MECHANICS_DISEASE_H
#include <components/esm3/loadmgef.hpp>
#include <components/misc/rng.hpp>
#include <components/misc/strings/format.hpp>
#include "../mwbase/environment.hpp"
#include "../mwbase/windowmanager.hpp"
#include "../mwbase/world.hpp"
#include "../mwworl... | 3,623 | C++ | .h | 71 | 36.830986 | 116 | 0.571913 | OpenMW/openmw | 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,688 | aiavoiddoor.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aiavoiddoor.hpp | #ifndef GAME_MWMECHANICS_AIAVOIDDOOR_H
#define GAME_MWMECHANICS_AIAVOIDDOOR_H
#include "typedaipackage.hpp"
namespace MWMechanics
{
/// \brief AiPackage to have an actor avoid an opening door
/** The AI will retreat from the door until it has finished opening, walked far away from it, or one second has
*... | 1,352 | C++ | .h | 36 | 30.138889 | 115 | 0.679419 | OpenMW/openmw | 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,689 | aifollow.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aifollow.hpp | #ifndef GAME_MWMECHANICS_AIFOLLOW_H
#define GAME_MWMECHANICS_AIFOLLOW_H
#include "aitemporarybase.hpp"
#include "typedaipackage.hpp"
#include <string>
#include <string_view>
#include <components/esm/defs.hpp>
#include "../mwworld/ptr.hpp"
namespace ESM::AiSequence
{
struct AiFollow;
}
namespace MWMechanics
{
... | 3,173 | C++ | .h | 83 | 30.253012 | 120 | 0.652656 | OpenMW/openmw | 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,690 | spelllist.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spelllist.hpp | #ifndef GAME_MWMECHANICS_SPELLLIST_H
#define GAME_MWMECHANICS_SPELLLIST_H
#include <functional>
#include <map>
#include <set>
#include <string>
#include <vector>
#include <components/esm3/loadspel.hpp>
namespace ESM
{
struct SpellState;
}
namespace MWMechanics
{
class Spells;
/// Multiple instances of ... | 2,089 | C++ | .h | 48 | 38 | 118 | 0.698123 | OpenMW/openmw | 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,691 | aitemporarybase.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aitemporarybase.hpp | #ifndef OPENMW_MWMECHANICS_AISTATE_H
#define OPENMW_MWMECHANICS_AISTATE_H
namespace MWMechanics
{
/// \brief base class for the temporary storage of AiPackages.
/**
* Each AI package with temporary values needs a AiPackageStorage class
* which is derived from AiTemporaryBase. The Actor holds a contai... | 575 | C++ | .h | 17 | 29.588235 | 76 | 0.723022 | OpenMW/openmw | 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,692 | spellpriority.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spellpriority.hpp | #ifndef OPENMW_SPELL_PRIORITY_H
#define OPENMW_SPELL_PRIORITY_H
namespace ESM
{
struct Spell;
struct EffectList;
struct ENAMstruct;
}
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
// RangeTypes using bitflags to allow multiple range types, as can be the case with spells having multiple... | 1,234 | C++ | .h | 34 | 31.882353 | 119 | 0.712248 | OpenMW/openmw | 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,693 | spellcasting.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spellcasting.hpp | #ifndef MWMECHANICS_SPELLCASTING_H
#define MWMECHANICS_SPELLCASTING_H
#include <components/esm3/activespells.hpp>
#include <components/esm3/effectlist.hpp>
#include "../mwworld/ptr.hpp"
namespace ESM
{
struct Spell;
struct Ingredient;
struct Potion;
struct EffectList;
struct Enchantment;
stru... | 2,821 | C++ | .h | 59 | 40.423729 | 120 | 0.685266 | OpenMW/openmw | 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,694 | repair.hpp | OpenMW_openmw/apps/openmw/mwmechanics/repair.hpp | #ifndef OPENMW_MWMECHANICS_REPAIR_H
#define OPENMW_MWMECHANICS_REPAIR_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
class Repair
{
public:
void setTool(const MWWorld::Ptr& tool) { mTool = tool; }
MWWorld::Ptr getTool() { return mTool; }
void repair(const MWWorld::Ptr& i... | 394 | C++ | .h | 16 | 19.9375 | 64 | 0.668464 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
36,695 | npcstats.hpp | OpenMW_openmw/apps/openmw/mwmechanics/npcstats.hpp | #ifndef GAME_MWMECHANICS_NPCSTATS_H
#define GAME_MWMECHANICS_NPCSTATS_H
#include "creaturestats.hpp"
#include <components/esm/refid.hpp>
#include <components/esm3/loadclas.hpp>
#include <components/esm3/loadskil.hpp>
#include <map>
#include <set>
#include <string>
#include <vector>
namespace ESM
{
struct Class;
... | 5,009 | C++ | .h | 106 | 39.075472 | 119 | 0.668106 | 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,696 | aipursue.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aipursue.hpp | #ifndef GAME_MWMECHANICS_AIPURSUE_H
#define GAME_MWMECHANICS_AIPURSUE_H
#include "typedaipackage.hpp"
namespace ESM
{
namespace AiSequence
{
struct AiPursue;
}
}
namespace MWMechanics
{
/// \brief Makes the actor very closely follow the actor
/** Used for arresting players. Causes the act... | 1,405 | C++ | .h | 38 | 30.263158 | 118 | 0.686303 | OpenMW/openmw | 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,697 | spelleffects.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spelleffects.hpp | #ifndef GAME_MWMECHANICS_SPELLEFFECTS_H
#define GAME_MWMECHANICS_SPELLEFFECTS_H
#include "activespells.hpp"
// These functions should probably be split up into separate Lua functions for each magic effect when magic is
// dehardcoded. That way ESM::MGEF could point to two Lua scripts for each effect. Needs discussion... | 1,127 | C++ | .h | 31 | 30.870968 | 110 | 0.726354 | OpenMW/openmw | 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,698 | spells.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spells.hpp | #ifndef GAME_MWMECHANICS_SPELLS_H
#define GAME_MWMECHANICS_SPELLS_H
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "../mwworld/timestamp.hpp"
#include "spelllist.hpp"
namespace ESM
{
struct SpellState;
}
namespace MWMechanics
{
class CreatureStats;
class MagicEffects;
... | 3,330 | C++ | .h | 77 | 35.896104 | 120 | 0.661381 | OpenMW/openmw | 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,699 | activespells.hpp | OpenMW_openmw/apps/openmw/mwmechanics/activespells.hpp | #ifndef GAME_MWMECHANICS_ACTIVESPELLS_H
#define GAME_MWMECHANICS_ACTIVESPELLS_H
#include <functional>
#include <list>
#include <queue>
#include <string>
#include <variant>
#include <vector>
#include <components/esm3/activespells.hpp>
#include "../mwworld/ptr.hpp"
#include "../mwworld/timestamp.hpp"
#include "spellc... | 5,760 | C++ | .h | 124 | 37.314516 | 114 | 0.659567 | OpenMW/openmw | 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,700 | pickpocket.hpp | OpenMW_openmw/apps/openmw/mwmechanics/pickpocket.hpp | #ifndef OPENMW_MECHANICS_PICKPOCKET_H
#define OPENMW_MECHANICS_PICKPOCKET_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
class Pickpocket
{
public:
Pickpocket(const MWWorld::Ptr& thief, const MWWorld::Ptr& victim);
/// Steal some items
/// @return Was the thief detected?... | 693 | C++ | .h | 23 | 24.130435 | 74 | 0.6546 | 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,701 | aisequence.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aisequence.hpp | #ifndef GAME_MWMECHANICS_AISEQUENCE_H
#define GAME_MWMECHANICS_AISEQUENCE_H
#include <algorithm>
#include <memory>
#include <vector>
#include "aipackagetypeid.hpp"
#include "aistate.hpp"
#include <components/esm3/loadnpc.hpp>
namespace MWWorld
{
class Ptr;
}
namespace ESM
{
namespace AiSequence
{
... | 5,951 | C++ | .h | 134 | 34.925373 | 115 | 0.637561 | OpenMW/openmw | 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,702 | stat.hpp | OpenMW_openmw/apps/openmw/mwmechanics/stat.hpp | #ifndef GAME_MWMECHANICS_STAT_H
#define GAME_MWMECHANICS_STAT_H
namespace ESM
{
template <typename T>
struct StatState;
}
namespace MWMechanics
{
template <typename T>
class Stat
{
T mBase;
T mModifier;
public:
typedef T Type;
Stat();
Stat(T base, T mo... | 4,641 | C++ | .h | 122 | 30.819672 | 118 | 0.641615 | OpenMW/openmw | 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,703 | movement.hpp | OpenMW_openmw/apps/openmw/mwmechanics/movement.hpp | #ifndef GAME_MWMECHANICS_MOVEMENT_H
#define GAME_MWMECHANICS_MOVEMENT_H
#include <osg/Vec3f>
namespace MWMechanics
{
/// Desired movement for an actor
struct Movement
{
// Desired movement. Direction is relative to the current orientation.
// Length of the vector controls desired speed. 0 ... | 1,067 | C++ | .h | 28 | 30.892857 | 113 | 0.642788 | OpenMW/openmw | 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,704 | aisetting.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aisetting.hpp | #ifndef OPENMW_MWMECHANICS_AISETTING_H
#define OPENMW_MWMECHANICS_AISETTING_H
namespace MWMechanics
{
enum class AiSetting
{
Hello = 0,
Fight = 1,
Flee = 2,
Alarm = 3
};
}
#endif
| 225 | C++ | .h | 13 | 12.769231 | 38 | 0.628571 | OpenMW/openmw | 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,705 | drawstate.hpp | OpenMW_openmw/apps/openmw/mwmechanics/drawstate.hpp | #ifndef GAME_MWMECHANICS_DRAWSTATE_H
#define GAME_MWMECHANICS_DRAWSTATE_H
namespace MWMechanics
{
enum class DrawState
{
Nothing = 0,
Weapon = 1,
Spell = 2
};
}
#endif
| 207 | C++ | .h | 12 | 13 | 36 | 0.65625 | OpenMW/openmw | 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,706 | recharge.hpp | OpenMW_openmw/apps/openmw/mwmechanics/recharge.hpp | #ifndef MWMECHANICS_RECHARGE_H
#define MWMECHANICS_RECHARGE_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
bool rechargeItem(const MWWorld::Ptr& item, const float maxCharge, const float duration);
bool rechargeItem(const MWWorld::Ptr& item, const MWWorld::Ptr& gem);
}
#endif
| 299 | C++ | .h | 9 | 30.666667 | 93 | 0.78169 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
36,707 | aicombataction.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aicombataction.hpp | #ifndef OPENMW_AICOMBAT_ACTION_H
#define OPENMW_AICOMBAT_ACTION_H
#include <memory>
#include "../mwworld/containerstore.hpp"
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
class Action
{
public:
virtual ~Action() {}
virtual void prepare(const MWWorld::Ptr& actor) = 0;
virtu... | 3,950 | C++ | .h | 97 | 33.412371 | 117 | 0.662757 | OpenMW/openmw | 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,708 | aiface.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aiface.hpp | #ifndef GAME_MWMECHANICS_AIFACE_H
#define GAME_MWMECHANICS_AIFACE_H
#include "typedaipackage.hpp"
namespace MWMechanics
{
/// AiPackage which makes an actor face a certain direction.
class AiFace final : public TypedAiPackage<AiFace>
{
public:
AiFace(float targetX, float targetY);
boo... | 903 | C++ | .h | 27 | 26.259259 | 105 | 0.677791 | OpenMW/openmw | 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,709 | aipackagetypeid.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aipackagetypeid.hpp | #ifndef GAME_MWMECHANICS_AIPACKAGETYPEID_H
#define GAME_MWMECHANICS_AIPACKAGETYPEID_H
namespace MWMechanics
{
/// Enumerates the various AITypes available
enum class AiPackageTypeId
{
None = -1,
Wander = 0,
Travel = 1,
Escort = 2,
Follow = 3,
Activate = 4,
... | 655 | C++ | .h | 25 | 19.64 | 95 | 0.606061 | OpenMW/openmw | 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,710 | character.hpp | OpenMW_openmw/apps/openmw/mwmechanics/character.hpp | #ifndef GAME_MWMECHANICS_CHARACTER_HPP
#define GAME_MWMECHANICS_CHARACTER_HPP
#include <deque>
#include <components/esm3/loadweap.hpp>
#include "../mwworld/ptr.hpp"
#include "../mwrender/animation.hpp"
namespace MWWorld
{
class InventoryStore;
}
namespace MWRender
{
class Animation;
}
namespace MWMechani... | 10,062 | C++ | .h | 260 | 29.923077 | 119 | 0.671296 | OpenMW/openmw | 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,711 | aipackage.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aipackage.hpp | #ifndef GAME_MWMECHANICS_AIPACKAGE_H
#define GAME_MWMECHANICS_AIPACKAGE_H
#include <memory>
#include <components/detournavigator/areatype.hpp>
#include "aipackagetypeid.hpp"
#include "aistatefwd.hpp"
#include "aitimer.hpp"
#include "obstacle.hpp"
#include "pathfinding.hpp"
#include "../mwworld/ptr.hpp"
namespace E... | 7,147 | C++ | .h | 135 | 44.125926 | 119 | 0.684528 | OpenMW/openmw | 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,712 | aicast.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aicast.hpp | #ifndef GAME_MWMECHANICS_AICAST_H
#define GAME_MWMECHANICS_AICAST_H
#include "typedaipackage.hpp"
#include <components/esm/refid.hpp>
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
/// AiPackage which makes an actor to cast given spell.
class AiCast final : public TypedAiPackage<AiCast>
{
... | 1,170 | C++ | .h | 36 | 25.805556 | 105 | 0.678222 | OpenMW/openmw | 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,713 | objects.hpp | OpenMW_openmw/apps/openmw/mwmechanics/objects.hpp | #ifndef GAME_MWMECHANICS_ACTIVATORS_H
#define GAME_MWMECHANICS_ACTIVATORS_H
#include "character.hpp"
#include <list>
#include <map>
#include <string>
#include <vector>
namespace osg
{
class Vec3f;
}
namespace MWWorld
{
class Ptr;
class CellStore;
}
namespace MWMechanics
{
class Objects
{
... | 1,863 | C++ | .h | 48 | 32.75 | 116 | 0.689444 | OpenMW/openmw | 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,714 | autocalcspell.hpp | OpenMW_openmw/apps/openmw/mwmechanics/autocalcspell.hpp | #ifndef OPENMW_AUTOCALCSPELL_H
#define OPENMW_AUTOCALCSPELL_H
#include "creaturestats.hpp"
#include <components/esm/refid.hpp>
#include <map>
#include <string>
#include <vector>
namespace ESM
{
struct Spell;
struct Race;
}
namespace MWMechanics
{
/// Contains algorithm for calculating an NPC's spells ba... | 1,404 | C++ | .h | 29 | 44.241379 | 113 | 0.743213 | OpenMW/openmw | 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,715 | steering.hpp | OpenMW_openmw/apps/openmw/mwmechanics/steering.hpp | #ifndef OPENMW_MECHANICS_STEERING_H
#define OPENMW_MECHANICS_STEERING_H
#include <osg/Math>
#include <algorithm>
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
// Max rotating speed, radian/sec
inline float getAngularVelocity(const float actorSpeed)
{
constexpr float degreesPerFra... | 1,010 | C++ | .h | 26 | 34.269231 | 119 | 0.741538 | OpenMW/openmw | 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,716 | spellutil.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spellutil.hpp | #ifndef MWMECHANICS_SPELLUTIL_H
#define MWMECHANICS_SPELLUTIL_H
#include <components/esm3/loadskil.hpp>
#include <optional>
namespace ESM
{
struct EffectList;
struct ENAMstruct;
struct Enchantment;
struct Ingredient;
struct MagicEffect;
struct Potion;
struct Spell;
}
namespace MWWorld
{
... | 2,498 | C++ | .h | 57 | 38.894737 | 118 | 0.736105 | OpenMW/openmw | 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,717 | aitravel.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aitravel.hpp | #ifndef GAME_MWMECHANICS_AITRAVEL_H
#define GAME_MWMECHANICS_AITRAVEL_H
#include "typedaipackage.hpp"
namespace ESM
{
namespace AiSequence
{
struct AiTravel;
}
}
namespace MWMechanics
{
struct AiInternalTravel;
/// \brief Causes the AI to travel to the specified point
class AiTravel ... | 1,924 | C++ | .h | 51 | 30.509804 | 105 | 0.682505 | OpenMW/openmw | 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,718 | pathgrid.hpp | OpenMW_openmw/apps/openmw/mwmechanics/pathgrid.hpp | #ifndef GAME_MWMECHANICS_PATHGRID_H
#define GAME_MWMECHANICS_PATHGRID_H
#include <deque>
#include <components/esm3/loadpgrd.hpp>
namespace MWMechanics
{
class PathgridGraph
{
PathgridGraph()
: mPathgrid(nullptr)
{
}
public:
explicit PathgridGraph(const ESM::Pa... | 2,014 | C++ | .h | 53 | 29.924528 | 97 | 0.629496 | OpenMW/openmw | 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,719 | mechanicsmanagerimp.hpp | OpenMW_openmw/apps/openmw/mwmechanics/mechanicsmanagerimp.hpp | #ifndef GAME_MWMECHANICS_MECHANICSMANAGERIMP_H
#define GAME_MWMECHANICS_MECHANICSMANAGERIMP_H
#include <components/settings/settings.hpp>
#include "../mwbase/mechanicsmanager.hpp"
#include "../mwworld/ptr.hpp"
#include "actors.hpp"
#include "npcstats.hpp"
#include "objects.hpp"
namespace MWSound
{
enum class M... | 11,916 | C++ | .h | 185 | 55.72973 | 119 | 0.694683 | OpenMW/openmw | 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,720 | inventory.hpp | OpenMW_openmw/apps/openmw/mwmechanics/inventory.hpp | #ifndef OPENMW_MWMECHANICS_INVENTORY_H
#define OPENMW_MWMECHANICS_INVENTORY_H
#include "../mwbase/environment.hpp"
#include "../mwworld/esmstore.hpp"
#include <components/esm3/loadcont.hpp>
#include <components/misc/strings/algorithm.hpp>
#include <algorithm>
#include <string_view>
namespace MWMechanics
{
temp... | 1,172 | C++ | .h | 35 | 25.685714 | 93 | 0.598585 | OpenMW/openmw | 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,721 | actors.hpp | OpenMW_openmw/apps/openmw/mwmechanics/actors.hpp | #ifndef GAME_MWMECHANICS_ACTORS_H
#define GAME_MWMECHANICS_ACTORS_H
#include <list>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "actor.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
}
namespace osg
{
class Vec3f;
}
namespace Loading
{
class Listener;
}
namesp... | 9,173 | C++ | .h | 166 | 47.295181 | 119 | 0.697241 | OpenMW/openmw | 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,722 | alchemy.hpp | OpenMW_openmw/apps/openmw/mwmechanics/alchemy.hpp | #ifndef GAME_MWMECHANICS_ALCHEMY_H
#define GAME_MWMECHANICS_ALCHEMY_H
#include <vector>
#include <components/esm3/effectlist.hpp>
#include "../mwworld/ptr.hpp"
namespace ESM
{
struct Potion;
}
namespace MWMechanics
{
struct EffectKey;
/// \brief Potion creation via alchemy skill
class Alchemy
... | 4,707 | C++ | .h | 100 | 38.73 | 113 | 0.67908 | OpenMW/openmw | 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,723 | actorutil.hpp | OpenMW_openmw/apps/openmw/mwmechanics/actorutil.hpp | #ifndef OPENMW_MWMECHANICS_ACTORUTIL_H
#define OPENMW_MWMECHANICS_ACTORUTIL_H
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
MWWorld::Ptr getPlayer();
bool isPlayerInCombat();
bool canActorMoveByZAxis(const MWWorld::Ptr& actor);
bool hasWaterWalking(const MWWorld::Ptr& actor);
bool i... | 381 | C++ | .h | 15 | 22.6 | 60 | 0.779614 | OpenMW/openmw | 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,724 | aiescort.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aiescort.hpp | #ifndef GAME_MWMECHANICS_AIESCORT_H
#define GAME_MWMECHANICS_AIESCORT_H
#include "typedaipackage.hpp"
#include <string>
#include <string_view>
namespace ESM
{
namespace AiSequence
{
struct AiEscort;
}
}
namespace MWMechanics
{
/// \brief AI Package to have an NPC lead the player to a specifi... | 2,189 | C++ | .h | 53 | 33.981132 | 119 | 0.674046 | OpenMW/openmw | 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,725 | summoning.hpp | OpenMW_openmw/apps/openmw/mwmechanics/summoning.hpp | #ifndef OPENMW_MECHANICS_SUMMONING_H
#define OPENMW_MECHANICS_SUMMONING_H
#include <string_view>
#include <utility>
namespace ESM
{
class RefId;
}
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
bool isSummoningEffect(int effectId);
ESM::RefId getSummonedCreature(int effectId);
void pur... | 549 | C++ | .h | 21 | 23.47619 | 92 | 0.775432 | OpenMW/openmw | 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,726 | actor.hpp | OpenMW_openmw/apps/openmw/mwmechanics/actor.hpp | #ifndef OPENMW_MECHANICS_ACTOR_H
#define OPENMW_MECHANICS_ACTOR_H
#include <memory>
#include "character.hpp"
#include "creaturestats.hpp"
#include "greetingstate.hpp"
#include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp"
#include "../mwworld/class.hpp"
#include <components/misc/timer.hpp>
namespace M... | 2,619 | C++ | .h | 60 | 37.283333 | 105 | 0.70917 | OpenMW/openmw | 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,727 | levelledlist.hpp | OpenMW_openmw/apps/openmw/mwmechanics/levelledlist.hpp | #ifndef OPENMW_MECHANICS_LEVELLEDLIST_H
#define OPENMW_MECHANICS_LEVELLEDLIST_H
#include <components/misc/rng.hpp>
#include <optional>
namespace ESM
{
struct LevelledListBase;
class RefId;
}
namespace MWMechanics
{
/// @return ID of resulting item, or empty if none
ESM::RefId getLevelledItem(
... | 447 | C++ | .h | 16 | 25 | 120 | 0.754717 | OpenMW/openmw | 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,728 | damagesourcetype.hpp | OpenMW_openmw/apps/openmw/mwmechanics/damagesourcetype.hpp | #ifndef OPENMW_MWMECHANICS_DAMAGESOURCETYPE_H
#define OPENMW_MWMECHANICS_DAMAGESOURCETYPE_H
namespace MWMechanics
{
enum class DamageSourceType
{
Unspecified,
Melee,
Ranged,
Magical,
};
}
#endif
| 241 | C++ | .h | 13 | 14 | 45 | 0.70354 | OpenMW/openmw | 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,729 | weaponpriority.hpp | OpenMW_openmw/apps/openmw/mwmechanics/weaponpriority.hpp | #ifndef OPENMW_WEAPON_PRIORITY_H
#define OPENMW_WEAPON_PRIORITY_H
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
float rateWeapon(const MWWorld::Ptr& item, const MWWorld::Ptr& actor, const MWWorld::Ptr& enemy, int type = -1,
float arrowRating = 0.f, float boltRating = 0.f);
float rateAm... | 668 | C++ | .h | 16 | 38.1875 | 116 | 0.734158 | OpenMW/openmw | 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,730 | aitimer.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aitimer.hpp | #ifndef OPENMW_MECHANICS_AITIMER_H
#define OPENMW_MECHANICS_AITIMER_H
#include <components/misc/rng.hpp>
#include <components/misc/timer.hpp>
namespace MWMechanics
{
constexpr float AI_REACTION_TIME = 0.25f;
class AiReactionTimer
{
public:
static constexpr float sDeviation = 0.1f;
Ai... | 788 | C++ | .h | 24 | 26.833333 | 92 | 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,731 | creaturestats.hpp | OpenMW_openmw/apps/openmw/mwmechanics/creaturestats.hpp | #ifndef GAME_MWMECHANICS_CREATURESTATS_H
#define GAME_MWMECHANICS_CREATURESTATS_H
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include "activespells.hpp"
#include "aisequence.hpp"
#include "aisetting.hpp"
#include "drawstate.hpp"
#include "magiceffects.hpp"
#include "spells.hpp"
#include "sta... | 9,569 | C++ | .h | 220 | 35.036364 | 119 | 0.668683 | OpenMW/openmw | 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,732 | greetingstate.hpp | OpenMW_openmw/apps/openmw/mwmechanics/greetingstate.hpp | #ifndef OPENMW_MWMECHANICS_GREETINGSTATE_H
#define OPENMW_MWMECHANICS_GREETINGSTATE_H
namespace MWMechanics
{
enum GreetingState
{
Greet_None,
Greet_InProgress,
Greet_Done
};
}
#endif
| 222 | C++ | .h | 12 | 14.333333 | 42 | 0.716346 | OpenMW/openmw | 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,733 | spellresistance.hpp | OpenMW_openmw/apps/openmw/mwmechanics/spellresistance.hpp | #ifndef MWMECHANICS_SPELLRESISTANCE_H
#define MWMECHANICS_SPELLRESISTANCE_H
namespace ESM
{
struct Spell;
}
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
class MagicEffects;
/// Get an effect multiplier for applying an effect cast by the given actor in the given spell (optional).
/// ... | 1,648 | C++ | .h | 30 | 51.033333 | 111 | 0.743017 | OpenMW/openmw | 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,734 | aistate.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aistate.hpp | #ifndef AISTATE_H
#define AISTATE_H
#include "aistatefwd.hpp"
#include "aitemporarybase.hpp"
#include <memory>
namespace MWMechanics
{
/** \brief stores one object of any class derived from Base.
* Requesting a certain derived class via get() either returns
* the stored object if it has the correct t... | 1,952 | C++ | .h | 59 | 24.491525 | 89 | 0.593833 | OpenMW/openmw | 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,735 | aistatefwd.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aistatefwd.hpp | #ifndef OPENMW_MWMECHANICS_AISTATEFWD_H
#define OPENMW_MWMECHANICS_AISTATEFWD_H
namespace MWMechanics
{
template <class Base>
class DerivedClassStorage;
struct AiTemporaryBase;
/// \brief Container for AI package status.
using AiState = DerivedClassStorage<AiTemporaryBase>;
}
#endif
| 308 | C++ | .h | 11 | 24.818182 | 57 | 0.795222 | OpenMW/openmw | 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,736 | difficultyscaling.hpp | OpenMW_openmw/apps/openmw/mwmechanics/difficultyscaling.hpp | #ifndef OPENMW_MWMECHANICS_DIFFICULTYSCALING_H
#define OPENMW_MWMECHANICS_DIFFICULTYSCALING_H
namespace MWWorld
{
class Ptr;
}
/// Scales damage dealt to an actor based on difficulty setting
float scaleDamage(float damage, const MWWorld::Ptr& attacker, const MWWorld::Ptr& victim);
#endif
| 296 | C++ | .h | 9 | 31.111111 | 90 | 0.816901 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
36,737 | aicombat.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aicombat.hpp | #ifndef GAME_MWMECHANICS_AICOMBAT_H
#define GAME_MWMECHANICS_AICOMBAT_H
#include "aitemporarybase.hpp"
#include "typedaipackage.hpp"
#include "../mwworld/cellstore.hpp" // for Doors
#include "aitimer.hpp"
#include "movement.hpp"
namespace ESM
{
namespace AiSequence
{
struct AiCombat;
}
}
namesp... | 4,001 | C++ | .h | 100 | 31.84 | 120 | 0.682147 | OpenMW/openmw | 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,738 | attacktype.hpp | OpenMW_openmw/apps/openmw/mwmechanics/attacktype.hpp | #ifndef OPENMW_MWMECHANICS_ATTACKTYPE_H
#define OPENMW_MWMECHANICS_ATTACKTYPE_H
namespace MWMechanics
{
enum class AttackType
{
NoAttack,
Any,
Chop,
Slash,
Thrust
};
}
#endif
| 229 | C++ | .h | 14 | 11.5 | 39 | 0.647887 | OpenMW/openmw | 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,740 | security.hpp | OpenMW_openmw/apps/openmw/mwmechanics/security.hpp | #ifndef MWMECHANICS_SECURITY_H
#define MWMECHANICS_SECURITY_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
/// @brief implementation of Security skill
class Security
{
public:
Security(const MWWorld::Ptr& actor);
void pickLock(const MWWorld::Ptr& lock, const MWWorld::Ptr& lo... | 680 | C++ | .h | 20 | 28.25 | 110 | 0.690658 | 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,741 | weapontype.hpp | OpenMW_openmw/apps/openmw/mwmechanics/weapontype.hpp | #ifndef GAME_MWMECHANICS_WEAPONTYPE_H
#define GAME_MWMECHANICS_WEAPONTYPE_H
#include <string_view>
#include <vector>
namespace ESM
{
struct WeaponType;
}
namespace MWWorld
{
class Ptr;
template <class PtrType>
class ContainerStoreIteratorBase;
using ContainerStoreIterator = ContainerStoreIterat... | 596 | C++ | .h | 22 | 24.227273 | 94 | 0.79823 | OpenMW/openmw | 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,742 | magiceffects.hpp | OpenMW_openmw/apps/openmw/mwmechanics/magiceffects.hpp | #ifndef GAME_MWMECHANICS_MAGICEFFECTS_H
#define GAME_MWMECHANICS_MAGICEFFECTS_H
#include <map>
#include <optional>
#include <string>
#include <components/esm/refid.hpp>
namespace ESM
{
struct Attribute;
struct ENAMstruct;
struct EffectList;
struct MagicEffect;
struct MagicEffects;
struct Skil... | 3,217 | C++ | .h | 93 | 27.483871 | 107 | 0.657503 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
36,743 | aiwander.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aiwander.hpp | #ifndef GAME_MWMECHANICS_AIWANDER_H
#define GAME_MWMECHANICS_AIWANDER_H
#include "typedaipackage.hpp"
#include <vector>
#include "aitemporarybase.hpp"
#include "aitimer.hpp"
#include "pathfinding.hpp"
namespace ESM
{
struct Cell;
namespace AiSequence
{
struct AiWander;
}
}
namespace Misc
{
... | 6,978 | C++ | .h | 145 | 39.641379 | 120 | 0.698586 | OpenMW/openmw | 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,744 | enchanting.hpp | OpenMW_openmw/apps/openmw/mwmechanics/enchanting.hpp | #ifndef GAME_MWMECHANICS_ENCHANTING_H
#define GAME_MWMECHANICS_ENCHANTING_H
#include <string>
#include <components/esm3/effectlist.hpp>
#include <components/esm3/loadench.hpp>
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
class Enchanting
{
MWWorld::Ptr mOldItemPtr;
MWWorld::Ptr mSou... | 2,109 | C++ | .h | 50 | 34.82 | 114 | 0.688629 | OpenMW/openmw | 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,745 | obstacle.hpp | OpenMW_openmw/apps/openmw/mwmechanics/obstacle.hpp | #ifndef OPENMW_MECHANICS_OBSTACLE_H
#define OPENMW_MECHANICS_OBSTACLE_H
#include "apps/openmw/mwworld/movementdirection.hpp"
#include <osg/Vec3f>
#include <vector>
namespace MWWorld
{
class Ptr;
class ConstPtr;
}
namespace MWMechanics
{
struct Movement;
/// tests actor's proximity to a closed door... | 1,756 | C++ | .h | 49 | 29.204082 | 98 | 0.684211 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
36,746 | aiactivate.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aiactivate.hpp | #ifndef GAME_MWMECHANICS_AIACTIVATE_H
#define GAME_MWMECHANICS_AIACTIVATE_H
#include "typedaipackage.hpp"
#include <components/esm/refid.hpp>
#include <string>
#include <string_view>
namespace ESM
{
namespace AiSequence
{
struct AiActivate;
}
}
namespace MWMechanics
{
/// \brief Causes actor ... | 1,143 | C++ | .h | 33 | 29.636364 | 105 | 0.720508 | OpenMW/openmw | 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,747 | aibreathe.hpp | OpenMW_openmw/apps/openmw/mwmechanics/aibreathe.hpp | #ifndef GAME_MWMECHANICS_AIBREATHE_H
#define GAME_MWMECHANICS_AIBREATHE_H
#include "typedaipackage.hpp"
namespace MWMechanics
{
/// \brief AiPackage to have an actor resurface to breathe
// The AI will go up if lesser than half breath left
class AiBreathe final : public TypedAiPackage<AiBreathe>
{
... | 851 | C++ | .h | 24 | 28.625 | 105 | 0.690158 | OpenMW/openmw | 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,748 | constants.hpp | OpenMW_openmw/apps/openmw/mwsound/constants.hpp | #ifndef OPENMW_APPS_OPENMW_MWSOUND_CONSTANTS_H
#define OPENMW_APPS_OPENMW_MWSOUND_CONSTANTS_H
#include <components/vfs/pathutil.hpp>
namespace MWSound
{
constexpr VFS::Path::NormalizedView battlePlaylist("battle");
constexpr VFS::Path::NormalizedView explorePlaylist("explore");
constexpr VFS::Path::Normal... | 556 | C++ | .h | 12 | 43.416667 | 88 | 0.792976 | OpenMW/openmw | 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,749 | soundmanagerimp.hpp | OpenMW_openmw/apps/openmw/mwsound/soundmanagerimp.hpp | #ifndef GAME_SOUND_SOUNDMANAGER_H
#define GAME_SOUND_SOUNDMANAGER_H
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <components/fallback/fallback.hpp>
#include <components/misc/objectpool.hpp>
#include <components/misc/strings/algorithm.hpp>
#include <components... | 10,858 | C++ | .h | 211 | 43.156398 | 119 | 0.682756 | OpenMW/openmw | 5,318 | 933 | 0 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.