![]() |
#1 |
Rookie
Join Date: Jan 2013
Posts: 2
![]() |
obj-info.c adding new pval_flags for example
Dear All,
I am trying to implement some of Entrobands features into the 3.4 Angband code and cannot find where, OF_MIGHT or any of the others is defined. My compiler is happy with the others but when I add a new one I get an error: 'OF_QUEST' undeclared here (not in a function) I have also tried to add a misc_flags but got the same result. Any help would be appretiated please, David |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
You need to add an entry to src/object/list-object-flags.h. This just looks like a list, but it gets processed during initialisation (by init2.c, or something called by it).
Ask again if you need more detail.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Jan 2013
Posts: 2
![]() |
Many thanks
Dear Nick,
ah, that explains why searching did not work. The processing function adds the OF_ bit to the MIGHT part. ![]() Ah well. I know now. Thank you so much. I was kind of losing it trying to get this. David |
![]() |
![]() |
![]() |
Tags |
angband, development, flags, objects |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding 3 dimensions to a 2D roguelike | xibalba | Idle chatter | 12 | February 22, 2012 12:41 |
Making levels interesting without just adding more loot | EpicMan | Development | 26 | July 6, 2011 21:29 |
Adding a new shop to Angband 3.1.1 | Kyle | Development | 9 | October 30, 2010 20:56 |
Adding Fonts? (X11 version) | danaris | Vanilla | 8 | March 17, 2010 18:12 |
Adding Effects to Angband | PaulBlay | Development | 0 | March 28, 2009 12:08 |