Crossfire Server, Branch 1.12
R12190
|
The functions in this file are purely mean to generate information in differently formatted output, mainly about monsters. More...
#include <global.h>
Go to the source code of this file.
Functions | |
void | bitstostring (long bits, int num, char *str) |
Writes num ones and zeros to the given string based on the bits variable. | |
void | dump_abilities (void) |
Dump to standard out the abilities of all monsters. | |
void | print_monsters (void) |
As dump_abilities(), but with an alternative way of output. |
The functions in this file are purely mean to generate information in differently formatted output, mainly about monsters.
Definition in file info.c.
void bitstostring | ( | long | bits, |
int | num, | ||
char * | str | ||
) |
Writes num ones and zeros to the given string based on the bits variable.
bits | variable to convert to binary string |
num | number of bits to dump. Values above 32 will be ignored. |
str | string to write to. Must be long enough. |
Definition at line 110 of file info.c.
Referenced by print_monsters().
void dump_abilities | ( | void | ) |
Dump to standard out the abilities of all monsters.
Definition at line 40 of file info.c.
References describe_item(), first_archetype, FLAG_CHANGING, FLAG_MONSTER, bmappair::name, QUERY_FLAG, and VERY_BIG_BUF.
Referenced by init_beforeplay().
void print_monsters | ( | void | ) |
As dump_abilities(), but with an alternative way of output.
Definition at line 71 of file info.c.
References arch_to_object(), bitstostring(), first_archetype, FLAG_MONSTER, free_object(), new_exp(), NROFATTACKS, and QUERY_FLAG.
Referenced by init_beforeplay().