mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +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
|
||||
refdata world physicssystem scene environment globals class action nullaction actionteleport
|
||||
containerstore actiontalk actiontake manualref player cellfunctors
|
||||
cells localscripts customdata weather
|
||||
cells localscripts customdata weather inventorystore
|
||||
)
|
||||
|
||||
add_openmw_dir (mwclass
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "manualref.hpp"
|
||||
|
||||
MWWorld::ContainerStore::~ContainerStore() {}
|
||||
|
||||
MWWorld::ContainerStoreIterator MWWorld::ContainerStore::begin (int mask)
|
||||
{
|
||||
return ContainerStoreIterator (mask, this);
|
||||
|
|
|
@ -53,6 +53,8 @@ namespace MWWorld
|
|||
|
||||
public:
|
||||
|
||||
virtual ~ContainerStore();
|
||||
|
||||
ContainerStoreIterator begin (int mask = Type_All);
|
||||
|
||||
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