X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fexman.h;h=13d9bcc0818e9a8c9bfbd1c20bae547875f665ee;hb=73b213a3546d98310fb9d70abfb4f38d1bd7c682;hp=8b9b65a3b1880cbdd6c78e9d31d53ce7a0775992;hpb=2fd19c29d765f973a757807d4e051e09495b47b4;p=laserbrain_demo diff --git a/src/exman.h b/src/exman.h index 8b9b65a..13d9bcc 100644 --- a/src/exman.h +++ b/src/exman.h @@ -36,6 +36,7 @@ public: class ExhibitManager { private: std::vector items, stashed; + int cur_stashed; std::vector exslots; // TODO kdtree of slots for quick nearest queries @@ -58,6 +59,7 @@ public: ExhibitSlot *nearest_empty_slot(const Vec3 &pos, float max_dist = 10) const; void stash_exhibit(Exhibit *ex); + Exhibit *unstash_exhibit(); void update(float dt = 0.0f); void draw() const;