Main Page | Data Structures | File List | Globals

area.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 _AREA_H_ 00024 #define _AREA_H_ 00025 00026 typedef int area_id; 00027 00028 struct area { 00029 area_id aid; 00030 char *title; 00031 char *desc; 00032 }; 00033 00034 struct area *create_area(area_id aid); 00035 void destroy_area(struct area *area); 00036 00037 int set_area_title(struct area *area, const char *title); 00038 int set_area_description(struct area *area, const char *desc); 00039 00040 #endif /* _AREA_H_ */

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