formatting bit

This commit is contained in:
nethack.allison
2006-01-08 16:21:10 +00:00
parent 11e5c2c3c6
commit ce434a8cb7

View 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 *));
@@ -38,18 +38,18 @@
*
* 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