#ifndef POS_H #define POS_H enum pos_t { P_STANDING, P_SITTING, P_LYING, P_SWIMMING, P_FLYING, }; //! set the position of /what/. void setpos(MudObject *what, pos_t, MudObject *on=0, int onn=0); //! return what /who/ is sleeping on MudObject *sleepon(MudObject *who); //! return what /who/ is sitting on MudObject *saton(MudObject *who); //! is /where/ water? bool inwater(MudObject *where); //! is /where/ dry land? bool dryland(MudObject *where); //! fix up /who/'s position so it makes sense for where they are. void rectify_state(MudObject *who); #endif