1
0
Fork 1
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:
Marc Zinnschlag 2012-03-10 12:43:48 +01:00
parent 5562653578
commit 84c8cd3720
5 changed files with 23 additions and 1 deletions

View file

@ -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

View file

@ -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);

View file

@ -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();

View file

@ -0,0 +1,2 @@
#include "inventorystore.hpp"

View 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