X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fexhibit.h;h=fd1d77b7ef94b7015d4871b64a9531f099502ad2;hb=fc00873a180b1b7272d94a32dcc40d0d44ed2b72;hp=f2c521b5f19af2c3f51dfaa745a500f12ff5cf9f;hpb=03085a16aa2fef785083fa3921be83015e08b290;p=laserbrain_demo diff --git a/src/exhibit.h b/src/exhibit.h index f2c521b..fd1d77b 100644 --- a/src/exhibit.h +++ b/src/exhibit.h @@ -8,7 +8,7 @@ #include "audio/stream.h" class Exhibit; -class ExhibitPriv; +class ExhibitSlot; class Scene; enum { @@ -18,11 +18,14 @@ enum { class ExSelection { public: + static ExSelection null; // null selection + Exhibit *ex; void *obj; void *data; Ray selray; Sphere selsphere; + float dist; unsigned int validmask; ExSelection(Exhibit *ex = 0); @@ -55,9 +58,10 @@ public: */ class Exhibit : public Object { private: - ExhibitPriv *priv; + SceneNode *orig_parent; public: + ExhibitSlot *prev_slot; std::vector data; Exhibit();