keep comment and the struct it applies to together
An code insertion earlier today got between them.
This commit is contained in:
@@ -6,18 +6,6 @@
|
|||||||
#ifndef PERMONST_H
|
#ifndef PERMONST_H
|
||||||
#define PERMONST_H
|
#define PERMONST_H
|
||||||
|
|
||||||
/* This structure covers all attack forms.
|
|
||||||
* aatyp is the gross attack type (eg. claw, bite, breath, ...)
|
|
||||||
* adtyp is the damage type (eg. physical, fire, cold, spell, ...)
|
|
||||||
* damn is the number of hit dice of damage from the attack.
|
|
||||||
* damd is the number of sides on each die.
|
|
||||||
*
|
|
||||||
* Some attacks can do no points of damage. Additionally, some can
|
|
||||||
* have special effects *and* do damage as well. If damn and damd
|
|
||||||
* are set, they may have a special meaning. For example, if set
|
|
||||||
* for a blinding attack, they determine the amount of time blinded.
|
|
||||||
*/
|
|
||||||
|
|
||||||
enum monnums {
|
enum monnums {
|
||||||
#define MONS_ENUM
|
#define MONS_ENUM
|
||||||
#include "monsters.h"
|
#include "monsters.h"
|
||||||
@@ -30,6 +18,18 @@ enum monnums {
|
|||||||
never generated randomly and cannot be polymorphed into */
|
never generated randomly and cannot be polymorphed into */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* This structure covers all attack forms.
|
||||||
|
* aatyp is the gross attack type (eg. claw, bite, breath, ...)
|
||||||
|
* adtyp is the damage type (eg. physical, fire, cold, spell, ...)
|
||||||
|
* damn is the number of hit dice of damage from the attack.
|
||||||
|
* damd is the number of sides on each die.
|
||||||
|
*
|
||||||
|
* Some attacks can do no points of damage. Additionally, some can
|
||||||
|
* have special effects *and* do damage as well. If damn and damd
|
||||||
|
* are set, they may have a special meaning. For example, if set
|
||||||
|
* for a blinding attack, they determine the amount of time blinded.
|
||||||
|
*/
|
||||||
|
|
||||||
struct attack {
|
struct attack {
|
||||||
uchar aatyp;
|
uchar aatyp;
|
||||||
uchar adtyp, damn, damd;
|
uchar adtyp, damn, damd;
|
||||||
|
|||||||
Reference in New Issue
Block a user