00001 /* 00002 * ready.h - Information from the 'ready.dat' file. 00003 * 00004 * Copyright (C) 2000-2001 The Exult Team 00005 * 00006 * This program 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 * This program 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 this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00021 #ifndef INCL_READY 00022 #define INCL_READY 1 00023 00024 /* 00025 * Types from 'ready.dat' describing how a shape may be worn: 00026 */ 00027 enum Ready_type { 00028 other = 0x00, // Anything else. 00029 spell = 0x01, // 1-handed spell. 00030 one_handed_weapon = 0x08, 00031 neck_armor = 0x20, 00032 torso_armor = 0x28, 00033 ring = 0x30, 00034 ammunition = 0x40, 00035 head_armor = 0x48, // I.e., helm. 00036 leg_armor = 0x50, // I.e., leggings. 00037 foot_armor = 0x58, // I.e., boots. 00038 // triple_crossbow_bolts? = 0x78, 00039 tongs = 0x90, 00040 two_handed_weapon = 0xa0, 00041 other_spell = 0xa1, // #676, 00042 gloves = 0xa8 00043 }; 00044 00045 // Serpent Isle Ready types 00046 enum Ready_type_SI { 00047 other_si = 0x00, // Anything else. 00048 spell_si = 0x01, // 1-handed spell. 00049 one_handed_si = 0x08, 00050 cloak_si = 0x10, 00051 amulet_si = 0x18, 00052 helm_si = 0x20, 00053 gloves_si = 0x28, 00054 usecode_container_si = 0x30, 00055 ring_si = 0x40, 00056 earrings_si = 0x48, 00057 ammo_si = 0x50, 00058 belt_si = 0x58, 00059 armour_si = 0x60, 00060 boots_si = 0x68, 00061 leggings_si = 0x70, 00062 backpack_si = 0x78, // Diaper as well????? 00063 two_handed_si = 0xa0, 00064 other_spell_si = 0xa1 // #676, 00065 }; 00066 00067 #endif /* INCL_READY */ 00068
1.5.1