mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 12:09:41 +00:00
added InventoryStore class (doesn't do anything yet)
This commit is contained in:
parent
5562653578
commit
84c8cd3720
5 changed files with 23 additions and 1 deletions
|
@ -44,7 +44,7 @@ add_openmw_dir (mwsound
|
||||||
add_openmw_dir (mwworld
|
add_openmw_dir (mwworld
|
||||||
refdata world physicssystem scene environment globals class action nullaction actionteleport
|
refdata world physicssystem scene environment globals class action nullaction actionteleport
|
||||||
containerstore actiontalk actiontake manualref player cellfunctors
|
containerstore actiontalk actiontake manualref player cellfunctors
|
||||||
cells localscripts customdata weather
|
cells localscripts customdata weather inventorystore
|
||||||
)
|
)
|
||||||
|
|
||||||
add_openmw_dir (mwclass
|
add_openmw_dir (mwclass
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
#include "manualref.hpp"
|
#include "manualref.hpp"
|
||||||
|
|
||||||
|
MWWorld::ContainerStore::~ContainerStore() {}
|
||||||
|
|
||||||
MWWorld::ContainerStoreIterator MWWorld::ContainerStore::begin (int mask)
|
MWWorld::ContainerStoreIterator MWWorld::ContainerStore::begin (int mask)
|
||||||
{
|
{
|
||||||
return ContainerStoreIterator (mask, this);
|
return ContainerStoreIterator (mask, this);
|
||||||
|
|
|
@ -53,6 +53,8 @@ namespace MWWorld
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
virtual ~ContainerStore();
|
||||||
|
|
||||||
ContainerStoreIterator begin (int mask = Type_All);
|
ContainerStoreIterator begin (int mask = Type_All);
|
||||||
|
|
||||||
ContainerStoreIterator end();
|
ContainerStoreIterator end();
|
||||||
|
|
2
apps/openmw/mwworld/inventorystore.cpp
Normal file
2
apps/openmw/mwworld/inventorystore.cpp
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
#include "inventorystore.hpp"
|
16
apps/openmw/mwworld/inventorystore.hpp
Normal file
16
apps/openmw/mwworld/inventorystore.hpp
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#ifndef GAME_MWWORLD_INVENTORYSTORE_H
|
||||||
|
#define GAME_MWWORLD_INVENTORYSTORE_H
|
||||||
|
|
||||||
|
#include "containerstore.hpp"
|
||||||
|
|
||||||
|
namespace MWWorld
|
||||||
|
{
|
||||||
|
///< \brief Variant of the ContainerStore for NPCs
|
||||||
|
class InventoryStore : public ContainerStore
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue