#include "config.h"
#include "constant.h"
#include "types.h"
#include "externs.h"
#include <ctype.h>
#include <sys/types.h>
#include <sys/param.h>
#include <strings.h>
マクロ定義 | |
#define | BLANK_LENGTH 24 |
関数 | |
void | place_trap (int y, int x, int subval) |
void | place_rubble (int y, int x) |
void | place_gold (int y, int x) |
int | get_obj_num (int level) |
void | place_object (int y, int x) |
void | alloc_object (int(*alloc_set)(), int typ, int num) |
void | random_object (int y, int x, int num) |
void | cnv_stat (int8u stat, char *out_val) |
void | prt_stat (int stat) |
void | prt_field (char *info, int row, int column) |
static void | prt_lnum (char *header, int32 num, int row, int column) |
static void | prt_num (char *header, int num, int row, int column) |
static void | prt_long (int32 num, int row, int column) |
static void | prt_int (int num, int row, int column) |
int | stat_adj (int stat) |
int | chr_adj () |
int | con_adj () |
char * | title_string () |
void | prt_title () |
void | prt_level () |
void | prt_cmana () |
void | prt_mhp () |
void | prt_chp () |
void | prt_pac () |
void | prt_gold () |
void | prt_depth () |
void | prt_hunger () |
void | prt_blind () |
void | prt_confused () |
void | prt_afraid () |
void | prt_poisoned () |
void | prt_state () |
void | prt_speed () |
void | prt_study () |
void | prt_winner () |
int8u | modify_stat (int stat, int16 amount) |
void | set_use_stat (int stat) |
int | inc_stat (int stat) |
int | dec_stat (int stat) |
int | res_stat (int stat) |
void | bst_stat (int stat, int amount) |
int | tohit_adj () |
int | toac_adj () |
int | todis_adj () |
int | todam_adj () |
void | prt_stat_block () |
void | draw_cave () |
void | put_character () |
void | put_stats () |
char * | likert (int x, int y) |
void | put_misc1 () |
void | put_misc2 () |
void | put_misc3 () |
void | display_char () |
void | get_name () |
void | change_name () |
void | inven_destroy (int item_val) |
void | take_one_item (inven_type *s_ptr, inven_type *i_ptr) |
void | inven_drop (int item_val, int drop_all) |
int | inven_damage (int(*typ)(), int perc) |
int | weight_limit () |
int | inven_check_num (inven_type *t_ptr) |
int | inven_check_weight (inven_type *i_ptr) |
void | check_strength () |
int | inven_carry (inven_type *i_ptr) |
int | spell_chance (int spell) |
void | print_spells (int *spell, int num, int comment, int nonconsec) |
int | get_spell (int *spell, int num, int *sn, int *sc, char *prompt, int first_spell) |
void | calc_spells (int stat) |
void | gain_spells () |
void | calc_mana (int stat) |
static void | gain_level () |
void | prt_experience () |
void | calc_hitpoints () |
void | insert_str (char *object_str, char *mtc_str, char *insert) |
void | insert_lnum (char *object_str, char *mtc_str, int32 number, int show_sign) |
int | enter_wiz_mode () |
int | attack_blows (int weight, int *wtohit) |
int | tot_dam (inven_type *i_ptr, int tdam, int monster) |
int | critical_blow (int weight, int plus, int dam, int attack_type) |
int | mmove (int dir, int *y, int *x) |
int | player_saves () |
int | find_range (int item1, int item2, int *j, int *k) |
void | teleport (int dis) |
変数 | |
static char * | stat_names [] |
static char | blank_string [] = " " |
#define BLANK_LENGTH 24 |
void alloc_object | ( | int (*)() | alloc_set, |
int | typ, | ||
int | num | ||
) |
int attack_blows | ( | int | weight, |
int * | wtohit | ||
) |
void bst_stat | ( | int | stat, |
int | amount | ||
) |
void calc_hitpoints | ( | ) |
void calc_mana | ( | int | stat | ) |
void calc_spells | ( | int | stat | ) |
void change_name | ( | ) |
void check_strength | ( | ) |
int chr_adj | ( | ) |
void cnv_stat | ( | int8u | stat, |
char * | out_val | ||
) |
int con_adj | ( | ) |
int critical_blow | ( | int | weight, |
int | plus, | ||
int | dam, | ||
int | attack_type | ||
) |
int dec_stat | ( | int | stat | ) |
void display_char | ( | ) |
void draw_cave | ( | ) |
int enter_wiz_mode | ( | ) |
int find_range | ( | int | item1, |
int | item2, | ||
int * | j, | ||
int * | k | ||
) |
|
static |
void gain_spells | ( | ) |
void get_name | ( | ) |
int get_obj_num | ( | int | level | ) |
int get_spell | ( | int * | spell, |
int | num, | ||
int * | sn, | ||
int * | sc, | ||
char * | prompt, | ||
int | first_spell | ||
) |
int inc_stat | ( | int | stat | ) |
void insert_lnum | ( | char * | object_str, |
char * | mtc_str, | ||
int32 | number, | ||
int | show_sign | ||
) |
void insert_str | ( | char * | object_str, |
char * | mtc_str, | ||
char * | insert | ||
) |
int inven_carry | ( | inven_type * | i_ptr | ) |
int inven_check_num | ( | inven_type * | t_ptr | ) |
int inven_check_weight | ( | inven_type * | i_ptr | ) |
int inven_damage | ( | int (*)() | typ, |
int | perc | ||
) |
void inven_destroy | ( | int | item_val | ) |
void inven_drop | ( | int | item_val, |
int | drop_all | ||
) |
char* likert | ( | int | x, |
int | y | ||
) |
int mmove | ( | int | dir, |
int * | y, | ||
int * | x | ||
) |
void place_gold | ( | int | y, |
int | x | ||
) |
void place_object | ( | int | y, |
int | x | ||
) |
void place_rubble | ( | int | y, |
int | x | ||
) |
void place_trap | ( | int | y, |
int | x, | ||
int | subval | ||
) |
int player_saves | ( | ) |
void print_spells | ( | int * | spell, |
int | num, | ||
int | comment, | ||
int | nonconsec | ||
) |
void prt_afraid | ( | ) |
void prt_blind | ( | ) |
void prt_chp | ( | ) |
void prt_cmana | ( | ) |
void prt_confused | ( | ) |
void prt_depth | ( | ) |
void prt_experience | ( | ) |
void prt_field | ( | char * | info, |
int | row, | ||
int | column | ||
) |
void prt_gold | ( | ) |
void prt_hunger | ( | ) |
|
static |
void prt_level | ( | ) |
|
static |
|
static |
void prt_mhp | ( | ) |
|
static |
void prt_pac | ( | ) |
void prt_poisoned | ( | ) |
void prt_speed | ( | ) |
void prt_stat | ( | int | stat | ) |
void prt_stat_block | ( | ) |
void prt_state | ( | ) |
void prt_study | ( | ) |
void prt_title | ( | ) |
void prt_winner | ( | ) |
void put_character | ( | ) |
void put_misc1 | ( | ) |
void put_misc2 | ( | ) |
void put_misc3 | ( | ) |
void put_stats | ( | ) |
void random_object | ( | int | y, |
int | x, | ||
int | num | ||
) |
int res_stat | ( | int | stat | ) |
void set_use_stat | ( | int | stat | ) |
int spell_chance | ( | int | spell | ) |
int stat_adj | ( | int | stat | ) |
void take_one_item | ( | inven_type * | s_ptr, |
inven_type * | i_ptr | ||
) |
void teleport | ( | int | dis | ) |
char* title_string | ( | ) |
int toac_adj | ( | ) |
int todam_adj | ( | ) |
int todis_adj | ( | ) |
int tohit_adj | ( | ) |
int tot_dam | ( | inven_type * | i_ptr, |
int | tdam, | ||
int | monster | ||
) |
int weight_limit | ( | ) |
|
static |
|
static |