#include <stdio.h>
#include <ctype.h>
#include "config.h"
#include "constant.h"
#include "types.h"
#include "externs.h"
#include <strings.h>
マクロ定義 | |
#define | BLANK_SCR 0 |
#define | EQUIP_SCR 1 |
#define | INVEN_SCR 2 |
#define | WEAR_SCR 3 |
#define | HELP_SCR 4 |
#define | WRONG_SCR 5 |
関数 | |
void | change_speed (int num) |
void | py_bonuses (inven_type *t_ptr, int factor) |
void | calc_bonuses () |
int | show_inven (int r1, int r2, int weight, int col, char *mask) |
char * | describe_use (int i) |
int | show_equip (int weight, int col) |
void | takeoff (int item_val, int posn) |
int | verify (char *prompt, int item) |
static void | inven_screen (int new_scr) |
void | inven_command (char command) |
int | get_item (int *com_val, char *pmt, int i, int j, char *mask, char *message) |
int | no_light () |
static char | map_roguedir (char comval) |
int | get_dir (char *prompt, int *dir) |
int | get_alldir (char *prompt, int *dir) |
void | move_rec (int y1, int x1, int y2, int x2) |
void | light_room (int y, int x) |
void | lite_spot (int y, int x) |
static void | sub1_move_light (int y1, int x1, int y2, int x2) |
static void | sub3_move_light (int y1, int x1, int y2, int x2) |
void | move_light (int y1, int x1, int y2, int x2) |
void | disturb (int s, int l) |
void | search_on () |
void | search_off () |
void | rest () |
void | rest_off () |
int | test_hit (int bth, int level, int pth, int ac, int attack_type) |
void | take_hit (int damage, char *hit_from) |
変数 | |
static int | scr_state |
static int | scr_left |
static int | scr_base |
static int | wear_low |
static int | wear_high |
#define BLANK_SCR 0 |
#define EQUIP_SCR 1 |
#define HELP_SCR 4 |
#define INVEN_SCR 2 |
#define WEAR_SCR 3 |
#define WRONG_SCR 5 |
void calc_bonuses | ( | ) |
void change_speed | ( | int | num | ) |
char* describe_use | ( | int | i | ) |
void disturb | ( | int | s, |
int | l | ||
) |
int get_alldir | ( | char * | prompt, |
int * | dir | ||
) |
int get_dir | ( | char * | prompt, |
int * | dir | ||
) |
int get_item | ( | int * | com_val, |
char * | pmt, | ||
int | i, | ||
int | j, | ||
char * | mask, | ||
char * | message | ||
) |
void inven_command | ( | char | command | ) |
|
static |
void light_room | ( | int | y, |
int | x | ||
) |
void lite_spot | ( | int | y, |
int | x | ||
) |
|
static |
void move_light | ( | int | y1, |
int | x1, | ||
int | y2, | ||
int | x2 | ||
) |
void move_rec | ( | int | y1, |
int | x1, | ||
int | y2, | ||
int | x2 | ||
) |
int no_light | ( | ) |
void py_bonuses | ( | inven_type * | t_ptr, |
int | factor | ||
) |
void rest | ( | ) |
void rest_off | ( | ) |
void search_off | ( | ) |
void search_on | ( | ) |
int show_equip | ( | int | weight, |
int | col | ||
) |
int show_inven | ( | int | r1, |
int | r2, | ||
int | weight, | ||
int | col, | ||
char * | mask | ||
) |
|
static |
|
static |
void take_hit | ( | int | damage, |
char * | hit_from | ||
) |
void takeoff | ( | int | item_val, |
int | posn | ||
) |
int test_hit | ( | int | bth, |
int | level, | ||
int | pth, | ||
int | ac, | ||
int | attack_type | ||
) |
int verify | ( | char * | prompt, |
int | item | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |