]> granicus.if.org Git - nethack/commitdiff
formatting bit
authornethack.allison <nethack.allison>
Sun, 8 Jan 2006 16:21:10 +0000 (16:21 +0000)
committernethack.allison <nethack.allison>
Sun, 8 Jan 2006 16:21:10 +0000 (16:21 +0000)
include/mextra.h

index f358e02827d87089553dfa049f8aaa3985682a6c..964af13b740245f8db54675f883ba3500a2202a8 100644 (file)
@@ -16,9 +16,9 @@
  *         above the mextra struct.
  *      2. Add a pointer to your new struct to the mextra struct in this file.
  *      3. Add a referencing macro at the bottom of this file after the mextra
- *          struct (see MNAME, EGD, EPRI, ESHK, EMIN, or EDOG for examples).
+ *         struct (see MNAME, EGD, EPRI, ESHK, EMIN, or EDOG for examples).
  *      4. Create a newXX(mtmp) function and possibly a free_XX(mtmp) function
- *          in an appropriate new or existing source file and add a prototype
+ *         in an appropriate new or existing source file and add a prototype
  *         for it to include/extern.h.
  *
  *             void FDECL(newXX, (struct monst *));
  *     
  *      5. Consider adding a new makemon flag MM_XX flag to include/hack.h and
  *         a corresponding change to makemon() if you require your structure
- *          to be added at monster creation time. Initialize your struct
+ *         to be added at monster creation time. Initialize your struct
  *         after a successful return from makemon().
  *
  *          src/makemon.c:  if (mmflags & MM_XX) newXX(mtmp);
  *          your new code:  mon = makemon(&mons[mnum], x, y, MM_XX);
  *
  *      6. Adjust size_monst() in src/cmd.c appropriately.
- *       7. Adjust dealloc_mextra() in src/mon.c to clean up
+ *      7. Adjust dealloc_mextra() in src/mon.c to clean up
  *         properly during monst deallocation.
  *      8. Adjust restmonchn() in src/restore.c to deal with your
  *         struct during a restore.
- *       9. Adjust buffer_to_mon() in src/restore.c to properly
+ *      9. Adjust buffer_to_mon() in src/restore.c to properly
  *     10. Adjust savemonchn() in src/save.c to deal with your
  *         struct during a save.
  *     11. Adjust mon_to_buffer() in src/save.c to properly package