#include "config.h"
#include "constant.h"
#include "types.h"
#include "externs.h"
#include <time.h>
#include <sys/types.h>
関数 | |
long | time () |
struct tm * | localtime () |
void | init_seeds (int32u seed) |
void | set_seed (int32u seed) |
void | reset_seed () |
int | check_time () |
int | randint (int maxval) |
int | randnor (int mean, int stand) |
int | bit_pos (int32u *test) |
int | in_bounds (int y, int x) |
void | panel_bounds () |
int | get_panel (int y, int x, int force) |
int | panel_contains (int y, int x) |
int | distance (int y1, int x1, int y2, int x2) |
int | next_to_walls (int y, int x) |
int | next_to_corr (int y, int x) |
int | damroll (int num, int sides) |
int | pdamroll (int8u *array) |
int | los (int fromY, int fromX, int toY, int toX) |
unsigned char | loc_symbol (int y, int x) |
int | test_light (int y, int x) |
void | prt_map () |
int | compact_monsters () |
void | add_food (int num) |
int | popm () |
int | max_hp (int8u *array) |
int | place_monster (int y, int x, int z, int slp) |
void | place_win_monster () |
int | get_mons_num (int level) |
void | alloc_monster (int num, int dis, int slp) |
int | summon_monster (int *y, int *x, int slp) |
int | summon_undead (int *y, int *x) |
static void | compact_objects () |
int | popt () |
void | pusht (int8u x) |
int | magik (int chance) |
int | m_bonus (int base, int max_std, int level) |
変数 | |
static int32u | old_seed |
void add_food | ( | int | num | ) |
void alloc_monster | ( | int | num, |
int | dis, | ||
int | slp | ||
) |
int bit_pos | ( | int32u * | test | ) |
int check_time | ( | ) |
int compact_monsters | ( | ) |
|
static |
int damroll | ( | int | num, |
int | sides | ||
) |
int distance | ( | int | y1, |
int | x1, | ||
int | y2, | ||
int | x2 | ||
) |
int get_mons_num | ( | int | level | ) |
int get_panel | ( | int | y, |
int | x, | ||
int | force | ||
) |
int in_bounds | ( | int | y, |
int | x | ||
) |
void init_seeds | ( | int32u | seed | ) |
unsigned char loc_symbol | ( | int | y, |
int | x | ||
) |
struct tm* localtime | ( | ) |
int los | ( | int | fromY, |
int | fromX, | ||
int | toY, | ||
int | toX | ||
) |
int m_bonus | ( | int | base, |
int | max_std, | ||
int | level | ||
) |
int magik | ( | int | chance | ) |
int max_hp | ( | int8u * | array | ) |
int next_to_corr | ( | int | y, |
int | x | ||
) |
int next_to_walls | ( | int | y, |
int | x | ||
) |
void panel_bounds | ( | ) |
int panel_contains | ( | int | y, |
int | x | ||
) |
int pdamroll | ( | int8u * | array | ) |
int place_monster | ( | int | y, |
int | x, | ||
int | z, | ||
int | slp | ||
) |
void place_win_monster | ( | ) |
int popm | ( | ) |
int popt | ( | ) |
void prt_map | ( | ) |
void pusht | ( | int8u | x | ) |
int randint | ( | int | maxval | ) |
int randnor | ( | int | mean, |
int | stand | ||
) |
void reset_seed | ( | ) |
void set_seed | ( | int32u | seed | ) |
int summon_monster | ( | int * | y, |
int * | x, | ||
int | slp | ||
) |
int summon_undead | ( | int * | y, |
int * | x | ||
) |
int test_light | ( | int | y, |
int | x | ||
) |
long time | ( | ) |
|
static |