![]() |
#1 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
Unused monster bit flags?
I'm still working with the old Angband 2.9.3 codebase, and saw that some of the monster bit flags seem to be unused (in defines.h)
Code:
#define RF2_STUPID 0x00000001 /* Monster is stupid */ #define RF2_SMART 0x00000002 /* Monster is smart */ #define RF2_XXX1 0x00000004 /* (?) */ #define RF2_XXX2 0x00000008 /* (?) */
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Apr 2007
Posts: 590
![]() |
While one should always verify (grep the source code for them), generally the _XXX flags aren't used meaningfully.
__________________
Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg. Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.) Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011 |
![]() |
![]() |
![]() |
#3 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
Ok, thanks.
Maybe I'll introduce a 7th bitfield for my own flags. I see that the other fields are thematically sorted, and the flags in question would fit to the first field, which is already used up fully though.
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temp Branding Weapon Flags | APWhite | Variants | 15 | February 23, 2010 12:21 |
changes on resistance flags in char screen | bebo | Vanilla | 4 | August 5, 2009 19:59 |
Too darn many flags. :-( | PaulBlay | Development | 9 | April 4, 2009 22:59 |
Monster friend/friends flags | CunningGabe | Vanilla | 5 | February 20, 2009 23:30 |
Something a bit different | Aknight | Variants | 22 | June 25, 2008 21:13 |