portal.h
nakedmudv3.0/src/items/portal.h · 624 B
From the archive nakedmudv3.0.tar.tgz
Download the archive « Back to the archive contents
#ifndef PORTAL_H #define PORTAL_H //***************************************************************************** // // portal.h // // handles all of the functioning of the portal item type. Item keyword type // is "portal". This will be needed for checking if an item is of type portal // with objIsType() from items/items.h // //***************************************************************************** // // return the key of the room that the portal leads to const char *portalGetDest(OBJ_DATA *obj); // // set the destination of the portal void portalSetDest(OBJ_DATA *obj, const char *dest); #endif // PORTAL_H