00001 /* 00002 Copyright (C) 1998 Jeffrey S. Freedman 00003 00004 This program is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU General Public License 00006 as published by the Free Software Foundation; either version 2 00007 of the License, or (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 */ 00018 00019 #ifndef FLAGS_H 00020 #define FLAGS_H 00021 00022 00023 namespace Obj_flags 00024 { 00025 enum { // Bit #'s of flags: 00026 invisible = 0, 00027 asleep = 1, 00028 charmed = 2, 00029 cursed = 3, 00030 dead = 4, 00031 in_party = 6, // Guess, appears to be correct 00032 paralyzed = 7, 00033 poisoned = 8, 00034 protection = 9, 00035 on_moving_barge = 10, // ??Guessing. 00036 okay_to_take = 11, // Okay to take?? 00037 might = 12, // Double strength, dext, intel. 00038 no_spell_casting = 13, 00039 cant_die = 14, // Test flag in Monster_info. 00040 dancing = 15, // ??Not sure. 00041 dont_move = 16, // User can't move. In BG, 00042 // completely invisible. 00043 si_on_moving_barge = 17,// SI's version of 10? 00044 is_temporary = 18, // Is temporary 00045 okay_to_land = 21, // Used for flying-carpet. 00046 in_dungeon = 23, // Pretty sure. If set, you won't 00047 // be accused of stealing food. 00048 confused = 25, // ??Guessing. 00049 in_motion = 26, // ??Guessing (cart, boat)?? 00050 met = 28, // Has the npc been met 00051 si_tournament = 29, // SI-Call usecode (eventid=7) 00052 si_zombie = 30, // Used for sick Neyobi. 00053 // Flags > 31 00054 polymorph = 32, // SI. Pretty sure about this. 00055 tattooed = 33, // Guess (SI). 00056 read = 34, // Guess (SI). 00057 petra = 35, // Guess 00058 freeze = 37 // SI. Pretty sure. 00059 }; 00060 } 00061 00062 #endif