musicmud-2.1.6/data/
musicmud-2.1.6/data/help/
musicmud-2.1.6/data/policy/
musicmud-2.1.6/data/wild/
musicmud-2.1.6/data/world/
musicmud-2.1.6/doc/
musicmud-2.1.6/src/ident/
musicmud-2.1.6/src/lua/
musicmud-2.1.6/src/lua/include/
musicmud-2.1.6/src/lua/src/lib/
musicmud-2.1.6/src/lua/src/lua/
musicmud-2.1.6/src/lua/src/luac/
#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