Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

tables.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *  Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer,        *
00003  *  Michael Seifert, Hans Henrik Strfeldt, Tom Madsen, and Katja Nyboe.    *
00004  *                                                                         *
00005  *  Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael          *
00006  *  Chastain, Michael Quan, and Mitchell Tse.                              *
00007  *                                                                         *
00008  *  In order to use any part of this Merc Diku Mud, you must comply with   *
00009  *  both the original Diku license in 'license.doc' as well the Merc       *
00010  *  license in 'license.txt'.  In particular, you may not remove either of *
00011  *  these copyright notices.                                               *
00012  *                                                                         *
00013  *  Much time and thought has gone into this software and you are          *
00014  *  benefitting.  We hope that you share your changes too.  What goes      *
00015  *  around, comes around.                                                  *
00016  ***************************************************************************/
00017 
00018 /***************************************************************************
00019  *  ROM 2.4 is copyright 1993-1998 Russ Taylor                             *
00020  *  ROM has been brought to you by the ROM consortium                      *
00021  *      Russ Taylor (rtaylor@hypercube.org)                                *
00022  *      Gabrielle Taylor (gtaylor@hypercube.org)                           *
00023  *      Brian Moore (zump@rom.org)                                         *
00024  *  By using this code, you have agreed to follow the terms of the         *
00025  *  ROM license, in the file Rom24/doc/rom.license                         *
00026  ***************************************************************************/
00027 
00028 /* game tables */
00029 extern  struct  clan_data_1 clan_data[MAX_CLAN];
00030 extern  struct  kingdom_data_1  kingdom_data[MAX_KINGDOM];
00031 extern  const   struct  clan_type   clan_table[MAX_CLAN];
00032 extern  const   struct  dragon_type dragon_table[2];
00033 extern  const   struct  kingdom_type    kingdom_table[MAX_KINGDOM];
00034 extern  const   struct  position_type   position_table[];
00035 extern  const   struct  sex_type    sex_table[];
00036 extern  const   struct  size_type   size_table[];
00037 
00038 /* flag tables */
00039 extern  const   struct  flag_type   act_flags[];
00040 extern  const   struct  flag_type   plr_flags[];
00041 extern  const   struct  flag_type   affect_flags[];
00042 extern  const   struct  flag_type   off_flags[];
00043 extern  const   struct  flag_type   imm_flags[];
00044 extern  const   struct  flag_type   form_flags[];
00045 extern  const   struct  flag_type   part_flags[];
00046 extern  const   struct  flag_type   comm_flags[];
00047 extern  const   struct  flag_type   extra_flags[];
00048 extern  const   struct  flag_type   wear_flags[];
00049 extern  const   struct  flag_type   weapon_flags[];
00050 extern  const   struct  flag_type   container_flags[];
00051 extern  const   struct  flag_type   portal_flags[];
00052 extern  const   struct  flag_type   room_flags[];
00053 extern  const   struct  flag_type   room_flags_extra[];
00054 extern  const   struct  flag_type   exit_flags[];
00055 extern  const   struct  flag_type   mprog_flags[];
00056 extern  const   struct  flag_type   area_flags[];
00057 extern  const   struct  flag_type   sector_flags[];
00058 extern  const   struct  flag_type   door_resets[];
00059 extern  const   struct  flag_type   wear_loc_strings[];
00060 extern  const   struct  flag_type   wear_loc_flags[];
00061 extern  const   struct  flag_type   res_flags[];
00062 extern  const   struct  flag_type   imm_flags[];
00063 extern  const   struct  flag_type   vuln_flags[];
00064 extern  const   struct  flag_type   type_flags[];
00065 extern  const   struct  flag_type   apply_flags[];
00066 extern  const   struct  flag_type   sex_flags[];
00067 extern  const   struct  flag_type   furniture_flags[];
00068 extern  const   struct  flag_type   weapon_class[];
00069 extern  const   struct  flag_type   apply_types[];
00070 extern  const   struct  flag_type   weapon_type2[];
00071 extern  const   struct  flag_type   apply_types[];
00072 extern  const   struct  flag_type   size_flags[];
00073 extern  const   struct  flag_type   position_flags[];
00074 extern  const   struct  flag_type   ac_type[];
00075 extern  const   struct  bit_type    bitvector_type[];
00076 
00077 struct flag_type
00078 {
00079     char *name;
00080     int bit;
00081     bool settable;
00082 };
00083 
00084 
00085 struct clan_type
00086 {
00087     char    *name;
00088     char    *who_name;
00089     sh_int  hall;
00090     bool    independent; /* true for loners */
00091     char    *config;
00092     char    *join_string;
00093     char    *banish_string;
00094 };
00095 
00096 struct kingdom_type
00097 {
00098     char    *name;
00099     char    *who_name;
00100     sh_int  hall;
00101     bool    eh;
00102     char    *config;
00103     char    *join_string;
00104     char    *banish_string;
00105 };
00106 struct clan_data_1
00107 {
00108     int    member_count;
00109     char *  leader;
00110     char *  rank[10];
00111     
00112 };
00113 
00114 struct kingdom_data_1
00115 {
00116     int    member_count;
00117     char *  leader;
00118     char *  rank[10];
00119     float tithe;
00120     int tithe_account;
00121 };
00122 
00123 
00124 struct dragon_type
00125 {
00126     char *name;
00127     char *who_name;
00128     sh_int death;
00129     bool true_dragon;
00130 };
00131 struct position_type
00132 {
00133     char *name;
00134     char *short_name;
00135 };
00136 
00137 struct sex_type
00138 {
00139     char *name;
00140 };
00141 
00142 struct size_type
00143 {
00144     char *name;
00145 };
00146 
00147 struct  bit_type
00148 {
00149     const   struct  flag_type * table;
00150     char *              help;
00151 };

Generated on Thu Jan 13 21:48:14 2005 for Beyond the Shadows by  doxygen 1.4.0