Main Page | Data Structures | File List | Globals

world.h

Go to the documentation of this file.
00001 /* 00002 Copyright 2004 John Tsiombikas <nuclear@siggraph.org> 00003 00004 This file is part of the MUD project by The Lab Software. 00005 00006 MUD is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 MUD is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with MUD; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00023 #ifndef _WORLD_H_ 00024 #define _WORLD_H_ 00025 00026 #include "area.h" 00027 #include "list.h" 00028 00029 int create_world(void); 00030 void destroy_world(void); 00031 00032 struct list_node *get_adj_area_list(area_id aid); 00033 00034 area_id add_new_area(void); 00035 area_id add_area(struct area *area); 00036 struct area *get_area(area_id aid); 00037 00038 int add_area_link(area_id aid, area_id adj); 00039 int del_area_link(area_id aid, area_id adj); 00040 00041 #endif /* _WORLD_H_ */

Generated on Thu Sep 9 00:52:33 2004 for MUD by doxygen 1.3.8