Re: [NEWBIE][CODE] magic leaf

From: Mike Breuer (
Date: 01/09/02

> > #define ITEM_MAGIC_FOOD   (1 << 17) /* Food gives extra energy */
> In what file would this go?

structs.h, but as a general comment, I would strongly suggest
familiarizing yourself with the code base before attempting to patch in
any code, especially Mailer(tm) code.  For example, if you don't
understand that you need to use the next available unique bit for the
obj_flags.extra_flags when defining the above constant, you could end up
with unexpected behavior.  Just to be clear, don't use (1 << 17) unless
17 happens to be the next unique bit number in the list of Extra object
flags in structs.h.


   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT