Angband
|
Functions for managing monster melee methods. More...
#include "list-blow-methods.h"
Go to the source code of this file.
Macros | |
#define | RBM(x, c, s, miss, p, m, a, d) RBM_##x, |
Typedefs | |
typedef byte | monster_blow_method_t |
Storage class for monster_blow_method_e. |
Enumerations | |
enum | monster_blow_method_e |
List of blow method constants. More... |
Functions | |
bool | monster_blow_method_cut (monster_blow_method_t method) |
bool | monster_blow_method_stun (monster_blow_method_t method) |
bool | monster_blow_method_miss (monster_blow_method_t method) |
bool | monster_blow_method_physical (monster_blow_method_t method) |
bool | monster_blow_method_is_valid (monster_blow_method_t method) |
Return whether the given method is valid. | |
int | monster_blow_method_message (monster_blow_method_t method) |
const char * | monster_blow_method_action (monster_blow_method_t method) |
const char * | monster_blow_method_description (monster_blow_method_t method) |
monster_blow_method_t | blow_method_name_to_idx (const char *string) |
Functions for managing monster melee methods.
Copyright (c) 1997 Ben Harrison, David Reeve Sward, Keldon Jones. 2013 Ben Semmler
This work is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation, version 2, or
b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.
#define RBM | ( | x, | |
c, | |||
s, | |||
miss, | |||
p, | |||
m, | |||
a, | |||
d | |||
) | RBM_##x, |
typedef byte monster_blow_method_t |
Storage class for monster_blow_method_e.
List of blow method constants.
monster_blow_method_t blow_method_name_to_idx | ( | const char * | string | ) |
Referenced by parse_lore_b(), and parse_monster_blow().
const char* monster_blow_method_action | ( | monster_blow_method_t | method | ) |
Referenced by make_attack_normal().
bool monster_blow_method_cut | ( | monster_blow_method_t | method | ) |
Referenced by make_attack_normal().
const char* monster_blow_method_description | ( | monster_blow_method_t | method | ) |
Referenced by lore_describe_blow_method().
bool monster_blow_method_is_valid | ( | monster_blow_method_t | method | ) |
Return whether the given method is valid.
method | is one of the RBM_ flags. |
Referenced by parse_lore_b(), and parse_monster_blow().
int monster_blow_method_message | ( | monster_blow_method_t | method | ) |
Referenced by make_attack_normal().
bool monster_blow_method_miss | ( | monster_blow_method_t | method | ) |
Referenced by make_attack_normal().
bool monster_blow_method_physical | ( | monster_blow_method_t | method | ) |
Referenced by melee_effect_elemental().
bool monster_blow_method_stun | ( | monster_blow_method_t | method | ) |
Referenced by make_attack_normal().