air_base.c

dw_fluffos_v1/lib/std/room/inherit/terrain_map/air_base.c · 1.3 KB

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

/*  -*- LPC -*-  */
/*
 * $Locker:  $
 * $Id: air_base.c,v 1.1 2003/06/23 22:46:02 pinkfish Exp $
 * 
*/
/**
* @main
* Base inherit for an air room using the terrain map system.
* <p>
* This file should be inherited by any air room within a terrain mapped
* virtual area.
* <p>
* To inherit from this file, use the following lines:
* <ul>
* <li>#include <terrain_map.h>
* <li>
* <li>inherit TERRAIN_MAP_AIR_BASE
* </ul>
* 
* @index terrain_map_outside
* @see terrain_map_handler
* @see terrain_map_intro
* @see terrain_map_example
* @author Dek
* @started Thurs April 12 2001 Too Damn Early BST
**/

#include <room.h>
#include <login_handler.h>
#include <terrain_map.h>

inherit "/std/room/outside";
inherit TERRAIN_MAP_ROOM_BASE;

void create() {
   set_not_replaceable(1);
   terrain_room::create();
   outside::create();
}

void init() {
   terrain_room::init();
   outside::init();
} /* init() */

/** @ignore yes */
varargs mixed* query_dest_other(string exit) {
   mixed* data;

   data = outside::query_dest_other(exit);
   return terrain_room::query_dest_other(exit, data);
}

/** @ignore yes */
mixed* query_dest_dir(object thing) {
   mixed* data;

   data = outside::query_dest_dir(thing);
   return terrain_room::query_dest_dir(data);
}

/** @ignore yes */
mixed stats() {
   return outside::stats() + terrain_room::stats();
}

Site Stats

Snippets: 1791
Codebases: 571