version 1.72 | | version 1.73 |
---|
| | |
int command_listplugins(object *op, char *params); | | int command_listplugins(object *op, char *params); |
int command_loadplugin(object *op, char *params); | | int command_loadplugin(object *op, char *params); |
int command_unloadplugin(object *op, char *params); | | int command_unloadplugin(object *op, char *params); |
int command_unloadplugin(object *op, char *params); | | |
/* commands.c */ | | /* commands.c */ |
void init_commands(void); | | void init_commands(void); |
CommFunc find_oldsocket_command(char *cmd); | | CommFunc find_oldsocket_command(char *cmd); |
| | |
int write_note(object *pl, object *item, char *msg); | | int write_note(object *pl, object *item, char *msg); |
int write_scroll(object *pl, object *scroll); | | int write_scroll(object *pl, object *scroll); |
int remove_trap(object *op, int dir); | | int remove_trap(object *op, int dir); |
int skill_throw(object *op, int dir, char *params); | | int skill_throw(object *op, object *part, int dir, char *params); |
object *find_throw_ob(object *op, char *request); | | object *find_throw_ob(object *op, char *request); |
object *make_throw_ob(object *orig); | | object *make_throw_ob(object *orig); |
void do_throw(object *op, object *toss_item, int dir); | | int do_throw(object *op, object *part, object *toss_item, int dir); |
/* skill_util.c */ | | /* skill_util.c */ |
void find_skill_exp_name(object *pl, object *exp, int index); | | void find_skill_exp_name(object *pl, object *exp, int index); |
int do_skill(object *op, int dir, char *string); | | int do_skill(object *op, object *part, int dir, char *string); |
int calc_skill_exp(object *who, object *op); | | int calc_skill_exp(object *who, object *op); |
float calc_stat_mult(object *who, int sk); | | float calc_stat_mult(object *who, int sk); |
int get_weighted_skill_stat_sum(object *who, int sk); | | int get_weighted_skill_stat_sum(object *who, int sk); |
| | |
int get_weighted_skill_stats(object *op); | | int get_weighted_skill_stats(object *op); |
object *get_skill_from_inventory(object *op, const char *skname); | | object *get_skill_from_inventory(object *op, const char *skname); |
/* spell_effect.c */ | | /* spell_effect.c */ |
| | void spell_failure(object *op, int failure, int power); |
void prayer_failure(object *op, int failure, int power); | | void prayer_failure(object *op, int failure, int power); |
void cast_mana_storm(object *op, int lvl); | | void cast_mana_storm(object *op, int lvl); |
void cast_magic_storm(object *op, object *tmp, int lvl); | | void cast_magic_storm(object *op, object *tmp, int lvl); |
| | |
void set_darkness_map(mapstruct *m); | | void set_darkness_map(mapstruct *m); |
void dawn_to_dusk(timeofday_t *tod); | | void dawn_to_dusk(timeofday_t *tod); |
void tick_the_clock(void); | | void tick_the_clock(void); |
void init_weather(void); | | |
void perform_weather(void); | | |
void write_skymap(void); | | void write_skymap(void); |
void write_pressuremap(void); | | void write_pressuremap(void); |
void read_pressuremap(void); | | void read_pressuremap(void); |
| | |
void write_windspeedmap(void); | | void write_windspeedmap(void); |
void read_windspeedmap(void); | | void read_windspeedmap(void); |
void init_wind(void); | | void init_wind(void); |
void read_gulfstreammap(void); | | |
void write_gulfstreammap(void); | | void write_gulfstreammap(void); |
| | void read_gulfstreammap(void); |
void init_gulfstreammap(void); | | void init_gulfstreammap(void); |
void write_humidmap(void); | | void write_humidmap(void); |
void read_humidmap(void); | | void read_humidmap(void); |
| | |
void write_rainfallmap(void); | | void write_rainfallmap(void); |
void read_rainfallmap(void); | | void read_rainfallmap(void); |
void init_rainfall(void); | | void init_rainfall(void); |
| | void init_weather(void); |
| | void perform_weather(void); |
| | void weather_effect(char *filename); |
| | object *avoid_weather(int *av, mapstruct *m, int x, int y, int *gs); |
| | void let_it_snow(mapstruct *m, int wx, int wy, char *filename); |
| | void singing_in_the_rain(mapstruct *m, int wx, int wy, char *filename); |
| | void plant_a_garden(mapstruct *m, int wx, int wy, char *filename); |
| | int worldmap_to_weathermap(int x, int y, int *wx, int *wy, char *filename); |
| | char *weathermap_to_worldmap_corner(int wx, int wy, int *x, int *y, int dir); |
| | int polar_distance(int x, int y, int equator); |
void update_humid(void); | | void update_humid(void); |
| | int humid_tile(int x, int y); |
void temperature_calc(int x, int y, timeofday_t *tod); | | void temperature_calc(int x, int y, timeofday_t *tod); |
| | int real_temperature(int x, int y); |
| | int real_world_temperature(int x, int y, mapstruct *m); |
void smooth_pressure(void); | | void smooth_pressure(void); |
void perform_pressure(void); | | void perform_pressure(void); |
void smooth_wind(void); | | |
int polar_distance(int x, int y, int equator); | | |
int humid_tile(int x, int y); | | |
int similar_direction(int a, int b); | | int similar_direction(int a, int b); |
char *weathermap_to_worldmap_corner(int wx, int wy, int *x, int *y, int dir); | | void smooth_wind(void); |
void plot_gulfstream(void); | | void plot_gulfstream(void); |
int worldmap_to_weathermap(int x, int y, int *wx, int *wy, char *filename); | | |
int real_temperature(int x, int y); | | |
void compute_sky(void); | | void compute_sky(void); |
void weather_effect(char *filename); | | |
object *avoid_weather(int *av, mapstruct *m, int x, int y, int *gs); | | |
void let_it_snow(mapstruct *m, int wx, int wy, char *filename); | | |
void singing_in_the_rain(mapstruct *m, int wx, int wy, char *filename); | | |
void plant_a_garden(mapstruct *m, int wx, int wy, char *filename); | | |
void process_rain(void); | | void process_rain(void); |