Go to the source code of this file.
Functions | |
| int | use_alchemy (object *op) |
| int | transport_can_hold (const object *transport, const object *op, int nrof) |
| int | should_director_abort (object *op, object *victim) |
| void | handle_apply_yield (object *tmp) |
| int | set_object_face_main (object *op) |
| int | apply_container (object *op, object *sack) |
| void | do_learn_spell (object *op, object *spell, int special_prayer) |
| void | do_forget_spell (object *op, const char *spell) |
| int | manual_apply (object *op, object *tmp, int aflag) |
| int | player_apply (object *pl, object *op, int aflag, int quiet) |
| void | player_apply_below (object *pl) |
| int | can_apply_object (object *who, object *op) |
| int | check_weapon_power (const object *who, int improvs) |
| int | apply_special (object *who, object *op, int aflags) |
| int | auto_apply (object *op) |
| void | fix_auto_apply (mapstruct *m) |
| void | scroll_failure (object *op, int failure, int power) |
| void | apply_changes_to_player (object *pl, object *change) |
| void | legacy_apply_container (object *op, object *sack) |
| void | save_throw_object (object *op, uint32 type, object *originator) |
| int | hit_map (object *op, int dir, uint32 type, int full_hit) |
| int | attack_ob (object *op, object *hitter) |
| object * | hit_with_arrow (object *op, object *victim) |
| int | friendly_fire (object *op, object *hitter) |
| int | hit_player (object *op, int dam, object *hitter, uint32 type, int full_hit) |
| void | confuse_living (object *op, object *hitter, int dam) |
| void | blind_living (object *op, object *hitter, int dam) |
| void | paralyze_living (object *op, object *hitter, int dam) |
| int | checkbanned (const char *login, const char *host) |
| void | apply_builder_remove (object *pl, int dir) |
| void | apply_map_builder (object *pl, int dir) |
| int | command_say (object *op, char *params) |
| int | command_me (object *op, char *params) |
| int | command_cointoss (object *op, char *params) |
| int | command_orcknuckle (object *op, char *params) |
| int | command_shout (object *op, char *params) |
| int | command_chat (object *op, char *params) |
| int | command_tell (object *op, char *params) |
| int | command_dmtell (object *op, char *params) |
| int | command_reply (object *op, char *params) |
| int | command_nod (object *op, char *params) |
| int | command_dance (object *op, char *params) |
| int | command_kiss (object *op, char *params) |
| int | command_bounce (object *op, char *params) |
| int | command_smile (object *op, char *params) |
| int | command_cackle (object *op, char *params) |
| int | command_laugh (object *op, char *params) |
| int | command_giggle (object *op, char *params) |
| int | command_shake (object *op, char *params) |
| int | command_puke (object *op, char *params) |
| int | command_growl (object *op, char *params) |
| int | command_scream (object *op, char *params) |
| int | command_sigh (object *op, char *params) |
| int | command_sulk (object *op, char *params) |
| int | command_hug (object *op, char *params) |
| int | command_cry (object *op, char *params) |
| int | command_poke (object *op, char *params) |
| int | command_accuse (object *op, char *params) |
| int | command_grin (object *op, char *params) |
| int | command_bow (object *op, char *params) |
| int | command_clap (object *op, char *params) |
| int | command_blush (object *op, char *params) |
| int | command_burp (object *op, char *params) |
| int | command_chuckle (object *op, char *params) |
| int | command_cough (object *op, char *params) |
| int | command_flip (object *op, char *params) |
| int | command_frown (object *op, char *params) |
| int | command_gasp (object *op, char *params) |
| int | command_glare (object *op, char *params) |
| int | command_groan (object *op, char *params) |
| int | command_hiccup (object *op, char *params) |
| int | command_lick (object *op, char *params) |
| int | command_pout (object *op, char *params) |
| int | command_shiver (object *op, char *params) |
| int | command_shrug (object *op, char *params) |
| int | command_slap (object *op, char *params) |
| int | command_smirk (object *op, char *params) |
| int | command_snap (object *op, char *params) |
| int | command_sneeze (object *op, char *params) |
| int | command_snicker (object *op, char *params) |
| int | command_sniff (object *op, char *params) |
| int | command_snore (object *op, char *params) |
| int | command_spit (object *op, char *params) |
| int | command_strut (object *op, char *params) |
| int | command_thank (object *op, char *params) |
| int | command_twiddle (object *op, char *params) |
| int | command_wave (object *op, char *params) |
| int | command_whistle (object *op, char *params) |
| int | command_wink (object *op, char *params) |
| int | command_yawn (object *op, char *params) |
| int | command_beg (object *op, char *params) |
| int | command_bleed (object *op, char *params) |
| int | command_cringe (object *op, char *params) |
| int | command_think (object *op, char *params) |
| void | map_info (object *op, char *search) |
| int | command_language (object *op, char *params) |
| int | command_body (object *op, char *params) |
| int | command_motd (object *op, char *params) |
| int | command_rules (object *op, char *params) |
| int | command_news (object *op, char *params) |
| void | malloc_info (object *op) |
| void | current_region_info (object *op) |
| void | current_map_info (object *op) |
| int | command_whereabouts (object *op, char *params) |
| void | list_players (object *op, region *reg, partylist *party) |
| int | command_who (object *op, char *params) |
| void | display_who_entry (object *op, player *pl, const char *format) |
| void | get_who_escape_code_value (char *return_val, int size, const char letter, player *pl) |
| int | command_afk (object *op, char *params) |
| int | command_malloc (object *op, char *params) |
| int | command_mapinfo (object *op, char *params) |
| int | command_whereami (object *op, char *params) |
| int | command_maps (object *op, char *params) |
| int | command_strings (object *op, char *params) |
| int | command_time (object *op, char *params) |
| int | command_archs (object *op, char *params) |
| int | command_hiscore (object *op, char *params) |
| int | command_debug (object *op, char *params) |
| int | command_dumpbelow (object *op, char *params) |
| int | command_wizpass (object *op, char *params) |
| int | command_wizcast (object *op, char *params) |
| int | command_dumpallobjects (object *op, char *params) |
| int | command_dumpfriendlyobjects (object *op, char *params) |
| int | command_dumpallarchetypes (object *op, char *params) |
| int | command_ssdumptable (object *op, char *params) |
| int | command_dumpmap (object *op, char *params) |
| int | command_dumpallmaps (object *op, char *params) |
| int | command_printlos (object *op, char *params) |
| int | command_version (object *op, char *params) |
| int | command_output_sync (object *op, char *params) |
| int | command_output_count (object *op, char *params) |
| int | command_listen (object *op, char *params) |
| int | command_statistics (object *pl, char *params) |
| int | command_fix_me (object *op, char *params) |
| int | command_players (object *op, char *params) |
| int | command_applymode (object *op, char *params) |
| int | command_bowmode (object *op, char *params) |
| int | command_petmode (object *op, char *params) |
| int | command_showpets (object *op, char *params) |
| int | command_usekeys (object *op, char *params) |
| int | command_resistances (object *op, char *params) |
| int | command_help (object *op, char *params) |
| int | onoff_value (const char *line) |
| int | command_quit (object *op, char *params) |
| int | command_explore (object *op, char *params) |
| int | command_sound (object *op, char *params) |
| void | receive_player_name (object *op) |
| void | receive_player_password (object *op) |
| int | command_title (object *op, char *params) |
| int | command_save (object *op, char *params) |
| int | command_peaceful (object *op, char *params) |
| int | command_wimpy (object *op, char *params) |
| int | command_brace (object *op, char *params) |
| int | command_kill_pets (object *op, char *params) |
| int | command_passwd (object *pl, char *params) |
| int | do_harvest (object *pl, int dir, object *skill) |
| int | command_east (object *op, char *params) |
| int | command_north (object *op, char *params) |
| int | command_northeast (object *op, char *params) |
| int | command_northwest (object *op, char *params) |
| int | command_south (object *op, char *params) |
| int | command_southeast (object *op, char *params) |
| int | command_southwest (object *op, char *params) |
| int | command_west (object *op, char *params) |
| int | command_stay (object *op, char *params) |
| int | execute_newserver_command (object *pl, char *command) |
| int | command_run (object *op, char *params) |
| int | command_run_stop (object *op, char *params) |
| int | command_fire (object *op, char *params) |
| int | command_fire_stop (object *op, char *params) |
| int | command_uskill (object *pl, char *params) |
| int | command_rskill (object *pl, char *params) |
| int | command_search (object *op, char *params) |
| int | command_disarm (object *op, char *params) |
| int | command_throw (object *op, char *params) |
| int | command_apply (object *op, char *params) |
| int | sack_can_hold (const object *pl, const object *sack, const object *op, uint32 nrof) |
| void | pick_up (object *op, object *alt) |
| int | command_take (object *op, char *params) |
| void | put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof) |
| object * | drop_object (object *op, object *tmp, uint32 nrof) |
| void | drop (object *op, object *tmp) |
| int | command_dropall (object *op, char *params) |
| int | command_drop (object *op, char *params) |
| int | command_empty (object *op, char *params) |
| int | command_examine (object *op, char *params) |
| object * | find_marked_object (object *op) |
| int | command_mark (object *op, char *params) |
| void | examine_monster (object *op, object *tmp) |
| void | examine (object *op, object *tmp) |
| void | inventory (object *op, object *inv) |
| int | command_pickup (object *op, char *params) |
| int | command_search_items (object *op, char *params) |
| int | command_rename_item (object *op, char *params) |
| int | command_lock_item (object *op, char *params) |
| int | command_use (object *op, char *params) |
| partylist * | get_firstparty (void) |
| partylist * | form_party (object *op, const char *params) |
| void | remove_party (partylist *target_party) |
| void | obsolete_parties (void) |
| int | confirm_party_password (object *op) |
| void | receive_party_password (object *op) |
| void | send_party_message (object *op, char *msg) |
| int | command_gsay (object *op, char *params) |
| int | command_party (object *op, char *params) |
| int | command_party_rejoin (object *op, char *params) |
| int | command_invoke (object *op, char *params) |
| int | command_cast (object *op, char *params) |
| int | command_prepare (object *op, char *params) |
| int | command_cast_spell (object *op, char *params, char command) |
| int | legal_range (object *op, int r) |
| void | change_spell (object *op, char k) |
| int | command_rotateshoottype (object *op, char *params) |
| int | command_loadtest (object *op, char *params) |
| void | do_wizard_hide (object *op, int silent_dm) |
| int | command_hide (object *op, char *params) |
| int | command_setgod (object *op, char *params) |
| int | command_banish (object *op, char *params) |
| int | command_kick (object *op, const char *params) |
| int | command_overlay_save (object *op, char *params) |
| int | command_overlay_reset (object *op, char *params) |
| int | command_toggle_shout (object *op, char *params) |
| int | command_shutdown (object *op, char *params) |
| int | command_goto (object *op, char *params) |
| int | command_freeze (object *op, char *params) |
| int | command_arrest (object *op, char *params) |
| int | command_summon (object *op, char *params) |
| int | command_teleport (object *op, char *params) |
| int | command_create (object *op, char *params) |
| int | command_inventory (object *op, char *params) |
| int | command_skills (object *op, char *params) |
| int | command_dump (object *op, char *params) |
| int | command_mon_aggr (object *op, char *params) |
| int | command_possess (object *op, char *params) |
| int | command_patch (object *op, char *params) |
| int | command_remove (object *op, char *params) |
| int | command_free (object *op, char *params) |
| int | command_addexp (object *op, char *params) |
| int | command_speed (object *op, char *params) |
| int | command_stats (object *op, char *params) |
| int | command_abil (object *op, char *params) |
| int | command_reset (object *op, char *params) |
| int | command_nowiz (object *op, char *params) |
| int | do_wizard_dm (object *op, char *params, int silent) |
| int | command_dm (object *op, char *params) |
| int | command_invisible (object *op, char *params) |
| int | command_learn_spell (object *op, char *params) |
| int | command_learn_special_prayer (object *op, char *params) |
| int | command_forget_spell (object *op, char *params) |
| int | command_listplugins (object *op, char *params) |
| int | command_loadplugin (object *op, char *params) |
| int | command_unloadplugin (object *op, char *params) |
| int | command_dmhide (object *op, char *params) |
| void | dm_stack_pop (player *pl) |
| object * | dm_stack_peek (player *pl) |
| void | dm_stack_push (player *pl, tag_t item) |
| object * | get_dm_object (player *pl, char **params, int *from) |
| int | command_stack_pop (object *op, char *params) |
| int | command_stack_push (object *op, char *params) |
| int | command_stack_list (object *op, char *params) |
| int | command_stack_clear (object *op, char *params) |
| int | command_diff (object *op, char *params) |
| int | command_insert_into (object *op, char *params) |
| int | command_style_map_info (object *op, char *params) |
| int | command_follow (object *op, char *params) |
| void | init_commands (void) |
| void | become_daemon (void) |
| int | move_disease (object *disease) |
| int | infect_object (object *victim, object *disease, int force) |
| void | move_symptom (object *symptom) |
| void | check_physically_infect (object *victim, object *hitter) |
| int | cure_disease (object *sufferer, object *caster) |
| void | check_score (object *op, int quiet) |
| void | display_high_score (object *op, int max, const char *match) |
| const object * | find_god (const char *name) |
| const char * | determine_god (object *op) |
| void | pray_at_altar (object *pl, object *altar, object *skill) |
| void | become_follower (object *op, const object *new_god) |
| archetype * | determine_holy_arch (const object *god, const char *type) |
| int | tailor_god_spell (object *spellop, object *caster) |
| void | init (int argc, char **argv) |
| void | free_server (void) |
| racelink * | find_racelink (const char *name) |
| void | emergency_save (int flag) |
| void | delete_character (const char *name) |
| int | verify_player (const char *name, char *password) |
| int | check_name (player *me, const char *name) |
| void | destroy_object (object *op) |
| int | save_player (object *op, int flag) |
| void | check_login (object *op) |
| object * | check_enemy (object *npc, rv_vector *rv) |
| object * | find_nearest_living_creature (object *npc) |
| int | compute_path (object *source, object *target, int default_dir) |
| int | move_monster (object *op) |
| void | monster_check_apply (object *mon, object *item) |
| void | npc_call_help (object *op) |
| void | check_earthwalls (object *op, mapstruct *m, int x, int y) |
| void | check_doors (object *op, mapstruct *m, int x, int y) |
| void | communicate (object *op, const char *txt) |
| void | npc_say (object *npc, const char *cp) |
| object * | find_mon_throw_ob (object *op) |
| int | can_detect_enemy (object *op, object *enemy, rv_vector *rv) |
| int | stand_in_light (object *op) |
| int | can_see_enemy (object *op, object *enemy) |
| int | move_object (object *op, int dir) |
| int | move_ob (object *op, int dir, object *originator) |
| int | transfer_ob (object *op, int x, int y, int randomly, object *originator) |
| int | teleport (object *teleporter, uint8 tele_type, object *user) |
| void | recursive_roll (object *op, int dir, object *pusher) |
| int | push_ob (object *who, int dir, object *pusher) |
| int | move_to (object *op, int x, int y) |
| void | init_ob_methods (void) |
| void | register_all_ob_types (void) |
| object * | get_pet_enemy (object *pet, rv_vector *rv) |
| void | terminate_all_pets (object *owner) |
| void | remove_all_pets (void) |
| void | follow_owner (object *ob, object *owner) |
| void | pet_move (object *ob) |
| void | move_golem (object *op) |
| void | control_golem (object *op, int dir) |
| int | summon_golem (object *op, object *caster, int dir, object *spob) |
| int | summon_object (object *op, object *caster, object *spell_ob, int dir, const char *stringarg) |
| int | should_arena_attack (object *pet, object *owner, object *target) |
| player * | find_player (const char *plname) |
| player * | find_player_partial_name (const char *plname) |
| void | display_motd (const object *op) |
| void | send_rules (const object *op) |
| void | send_news (const object *op) |
| int | playername_ok (const char *cp) |
| void | add_player (socket_struct *ns) |
| object * | get_nearest_player (object *mon) |
| int | path_to_player (object *mon, object *pl, unsigned mindiff) |
| void | give_initial_items (object *pl, treasurelist *items) |
| void | get_name (object *op) |
| void | get_password (object *op) |
| void | play_again (object *op) |
| void | receive_play_again (object *op, char key) |
| void | confirm_password (object *op) |
| void | get_party_password (object *op, partylist *party) |
| int | roll_stat (void) |
| void | roll_stats (object *op) |
| void | roll_again (object *op) |
| void | key_roll_stat (object *op, char key) |
| void | key_change_class (object *op, char key) |
| void | key_confirm_quit (object *op, char key) |
| int | check_pick (object *op) |
| int | fire_bow (object *op, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy) |
| void | fire (object *op, int dir) |
| object * | find_key (object *pl, object *container, object *door) |
| void | move_player_attack (object *op, int dir) |
| int | move_player (object *op, int dir) |
| int | handle_newcs_player (object *op) |
| void | remove_unpaid_objects (object *op, object *env, int free_items) |
| void | do_some_living (object *op) |
| void | kill_player (object *op) |
| void | fix_weight (void) |
| void | fix_luck (void) |
| void | cast_dust (object *op, object *throw_ob, int dir) |
| void | make_visible (object *op) |
| int | is_true_undead (object *op) |
| int | hideability (object *ob) |
| void | do_hidden_move (object *op) |
| int | stand_near_hostile (object *who) |
| int | player_can_view (object *pl, object *op) |
| int | op_on_battleground (object *op, int *x, int *y, archetype **trophy) |
| void | dragon_ability_gain (object *who, int atnr, int level) |
| void | player_unready_range_ob (player *pl, object *ob) |
| int | user_event (object *op, object *activator, object *third, const char *message, int fix) |
| int | execute_event (object *op, int eventcode, object *activator, object *third, const char *message, int fix) |
| int | execute_global_event (int eventcode,...) |
| int | plugins_init_plugin (const char *libfile) |
| void * | cfapi_get_hooks (int *type,...) |
| int | plugins_remove_plugin (const char *id) |
| crossfire_plugin * | plugins_find_plugin (const char *id) |
| void | plugins_display_list (object *op) |
| void * | cfapi_system_find_animation (int *type,...) |
| void * | cfapi_system_find_face (int *type,...) |
| void * | cfapi_system_strdup_local (int *type,...) |
| void * | cfapi_system_register_global_event (int *type,...) |
| void * | cfapi_system_unregister_global_event (int *type,...) |
| void * | cfapi_system_add_string (int *type,...) |
| void * | cfapi_system_remove_string (int *type,...) |
| void * | cfapi_system_find_string (int *type,...) |
| void * | cfapi_system_check_path (int *type,...) |
| void * | cfapi_system_re_cmp (int *type,...) |
| void * | cfapi_system_directory (int *type,...) |
| void * | cfapi_get_time (int *type,...) |
| void * | cfapi_get_season_name (int *type,...) |
| void * | cfapi_get_weekday_name (int *type,...) |
| void * | cfapi_get_month_name (int *type,...) |
| void * | cfapi_get_periodofday_name (int *type,...) |
| void * | cfapi_timer_create (int *type,...) |
| void * | cfapi_timer_destroy (int *type,...) |
| void * | cfapi_log (int *type,...) |
| void * | cfapi_map_get_map (int *type,...) |
| void * | cfapi_map_has_been_loaded (int *type,...) |
| void * | cfapi_map_create_path (int *type,...) |
| void * | cfapi_map_get_map_property (int *type,...) |
| void * | cfapi_map_set_map_property (int *type,...) |
| void * | cfapi_map_out_of_map (int *type,...) |
| void * | cfapi_map_update_position (int *type,...) |
| void * | cfapi_map_delete_map (int *type,...) |
| void * | cfapi_map_message (int *type,...) |
| void * | cfapi_map_get_object_at (int *type,...) |
| void * | cfapi_map_present_arch_by_name (int *type,...) |
| void * | cfapi_map_change_light (int *type,...) |
| void * | cfapi_object_move (int *type,...) |
| void * | cfapi_object_get_key (int *type,...) |
| void * | cfapi_object_set_key (int *type,...) |
| void * | cfapi_object_get_property (int *type,...) |
| void * | cfapi_object_set_property (int *type,...) |
| void * | cfapi_object_apply_below (int *type,...) |
| void * | cfapi_object_apply (int *type,...) |
| void * | cfapi_object_identify (int *type,...) |
| void * | cfapi_object_describe (int *type,...) |
| void * | cfapi_object_drain (int *type,...) |
| void * | cfapi_object_fix (int *type,...) |
| void * | cfapi_object_give_skill (int *type,...) |
| void * | cfapi_object_transmute (int *type,...) |
| void * | cfapi_object_remove (int *type,...) |
| void * | cfapi_object_delete (int *type,...) |
| void * | cfapi_object_clone (int *type,...) |
| void * | cfapi_object_find (int *type,...) |
| void * | cfapi_object_create (int *type,...) |
| void * | cfapi_object_insert (int *type,...) |
| void * | cfapi_object_split (int *type,...) |
| void * | cfapi_object_merge (int *type,...) |
| void * | cfapi_object_distance (int *type,...) |
| void * | cfapi_object_update (int *type,...) |
| void * | cfapi_object_clear (int *type,...) |
| void * | cfapi_object_reset (int *type,...) |
| void * | cfapi_object_check_inventory (int *type,...) |
| void * | cfapi_object_clean_object (int *type,...) |
| void * | cfapi_object_on_same_map (int *type,...) |
| void * | cfapi_object_spring_trap (int *type,...) |
| void * | cfapi_object_check_trigger (int *type,...) |
| void * | cfapi_map_trigger_connected (int *type,...) |
| void * | cfapi_object_query_cost (int *type,...) |
| void * | cfapi_object_query_money (int *type,...) |
| void * | cfapi_object_cast (int *type,...) |
| void * | cfapi_object_learn_spell (int *type,...) |
| void * | cfapi_object_forget_spell (int *type,...) |
| void * | cfapi_object_check_spell (int *type,...) |
| void * | cfapi_object_pay_amount (int *type,...) |
| void * | cfapi_object_pay_item (int *type,...) |
| void * | cfapi_object_transfer (int *type,...) |
| void * | cfapi_object_find_archetype_inside (int *type,...) |
| void * | cfapi_object_drop (int *type,...) |
| void * | cfapi_object_change_abil (int *type,...) |
| void * | cfapi_object_say (int *type,...) |
| void * | cfapi_player_find (int *type,...) |
| void * | cfapi_player_message (int *type,...) |
| void * | cfapi_object_change_exp (int *type,...) |
| void * | cfapi_player_can_pay (int *type,...) |
| void * | cfapi_object_teleport (int *type,...) |
| void * | cfapi_object_pickup (int *type,...) |
| void * | cfapi_archetype_get_property (int *type,...) |
| void * | cfapi_party_get_property (int *type,...) |
| void * | cfapi_region_get_property (int *type,...) |
| void * | cfapi_friendlylist_get_next (int *type,...) |
| void * | cfapi_set_random_map_variable (int *type,...) |
| void * | cfapi_generate_random_map (int *type,...) |
| void * | cfapi_object_user_event (int *type,...) |
| command_array_struct * | find_plugin_command (char *cmd, object *op) |
| int | initPlugins (void) |
| void | cleanupPlugins (void) |
| int | cast_raise_dead_spell (object *op, object *caster, object *spell, int dir, const char *arg) |
| void | dead_player (object *op) |
| int | write_rune (object *op, object *caster, object *spell, int dir, const char *runename) |
| void | spring_trap (object *trap, object *victim) |
| int | dispel_rune (object *op, object *caster, object *spell, object *skill, int dir) |
| int | trap_see (object *op, object *trap) |
| int | trap_show (object *trap, object *where) |
| int | trap_disarm (object *disarmer, object *trap, int risk, object *skill) |
| void | trap_adjust (object *trap, int difficulty) |
| uint64 | query_cost (const object *tmp, object *who, int flag) |
| uint64 | query_money (const object *op) |
| int | pay_for_amount (uint64 to_pay, object *pl) |
| int | pay_for_item (object *op, object *pl) |
| int | can_pay (object *pl) |
| int | get_payment (object *pl, object *op) |
| void | sell_item (object *op, object *pl) |
| double | shopkeeper_approval (const mapstruct *map, const object *player) |
| int | describe_shop (const object *op) |
| int | is_in_shop (object *ob) |
| int | coords_in_shop (mapstruct *map, int x, int y) |
| StringBuffer * | query_cost_string (const object *tmp, object *who, int flag, StringBuffer *buf) |
| int | steal (object *op, int dir, object *skill) |
| int | pick_lock (object *pl, int dir, object *skill) |
| int | hide (object *op, object *skill) |
| int | jump (object *pl, int dir, object *skill) |
| int | skill_ident (object *pl, object *skill) |
| int | use_oratory (object *pl, int dir, object *skill) |
| int | singing (object *pl, int dir, object *skill) |
| int | find_traps (object *pl, object *skill) |
| int | remove_trap (object *op, object *skill) |
| int | pray (object *pl, object *skill) |
| void | meditate (object *pl, object *skill) |
| int | write_on_item (object *pl, const char *params, object *skill) |
| int | skill_throw (object *op, object *part, int dir, const char *params, object *skill) |
| void | init_skills (void) |
| void | link_player_skills (object *op) |
| object * | find_skill_by_name (object *who, const char *name) |
| object * | find_skill_by_number (object *who, int skillno) |
| int | change_skill (object *who, object *new_skill, int flag) |
| void | clear_skill (object *who) |
| int | do_skill (object *op, object *part, object *skill, int dir, const char *string) |
| sint64 | calc_skill_exp (object *who, object *op, object *skill) |
| int | learn_skill (object *pl, object *scroll) |
| void | show_skills (object *op, const char *search) |
| int | use_skill (object *op, const char *string) |
| int | skill_attack (object *tmp, object *pl, int dir, const char *string, object *skill) |
| int | fire_bolt (object *op, object *caster, int dir, object *spob, object *skill) |
| void | explode_bullet (object *op) |
| void | check_bullet (object *op) |
| int | fire_bullet (object *op, object *caster, int dir, object *spob) |
| void | cone_drop (object *op) |
| int | cast_cone (object *op, object *caster, int dir, object *spell) |
| int | create_bomb (object *op, object *caster, int dir, object *spell) |
| int | cast_smite_spell (object *op, object *caster, int dir, object *spell) |
| int | cast_destruction (object *op, object *caster, object *spell_ob) |
| int | cast_curse (object *op, object *caster, object *spell_ob, int dir) |
| int | mood_change (object *op, object *caster, object *spell) |
| int | fire_swarm (object *op, object *caster, object *spell, int dir) |
| int | cast_light (object *op, object *caster, object *spell, int dir) |
| int | cast_cause_disease (object *op, object *caster, object *spell, int dir) |
| void | cast_magic_storm (object *op, object *tmp, int lvl) |
| int | recharge (object *op, object *caster, object *spell_ob) |
| void | polymorph (object *op, object *who, int level) |
| int | cast_polymorph (object *op, object *caster, object *spell_ob, int dir) |
| int | cast_create_missile (object *op, object *caster, object *spell, int dir, const char *stringarg) |
| int | cast_create_food (object *op, object *caster, object *spell_ob, int dir, const char *stringarg) |
| int | probe (object *op, object *caster, object *spell_ob, int dir) |
| int | makes_invisible_to (object *pl, object *mon) |
| int | cast_invisible (object *op, object *caster, object *spell_ob) |
| int | cast_earth_to_dust (object *op, object *caster, object *spell_ob) |
| int | cast_word_of_recall (object *op, object *caster, object *spell_ob) |
| int | cast_wonder (object *op, object *caster, int dir, object *spell_ob) |
| int | perceive_self (object *op) |
| int | cast_create_town_portal (object *op, object *caster, object *spell, int dir) |
| int | magic_wall (object *op, object *caster, int dir, object *spell_ob) |
| int | dimension_door (object *op, object *caster, object *spob, int dir) |
| int | cast_heal (object *op, object *caster, object *spell, int dir) |
| int | cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent) |
| int | cast_bless (object *op, object *caster, object *spell_ob, int dir) |
| int | alchemy (object *op, object *caster, object *spell_ob) |
| int | remove_curse (object *op, object *caster, object *spell) |
| int | cast_item_curse_or_curse (object *op, object *caster, object *spell_ob) |
| int | cast_identify (object *op, object *caster, object *spell) |
| int | cast_detection (object *op, object *caster, object *spell) |
| int | cast_transfer (object *op, object *caster, object *spell, int dir) |
| void | counterspell (object *op, int dir) |
| int | cast_consecrate (object *op, object *caster, object *spell) |
| int | animate_weapon (object *op, object *caster, object *spell, int dir) |
| int | cast_change_map_lightlevel (object *op, object *caster, object *spell) |
| int | create_aura (object *op, object *caster, object *spell) |
| int | write_mark (object *op, object *spell, const char *msg) |
| object * | find_random_spell_in_ob (object *ob, const char *skill) |
| void | set_spell_skill (object *op, object *caster, object *spob, object *dest) |
| void | check_spells (void) |
| void | dump_spells (void) |
| void | spell_effect (object *spob, int x, int y, mapstruct *map, object *originator) |
| int | min_casting_level (const object *caster, const object *spell) |
| int | caster_level (const object *caster, const object *spell) |
| sint16 | SP_level_spellpoint_cost (object *caster, object *spell, int flags) |
| int | SP_level_dam_adjust (const object *caster, const object *spob) |
| int | SP_level_duration_adjust (const object *caster, const object *spob) |
| int | SP_level_range_adjust (const object *caster, const object *spob) |
| object * | check_spell_known (object *op, const char *name) |
| object * | lookup_spell_by_name (object *op, const char *spname) |
| int | reflwall (mapstruct *m, int x, int y, object *sp_op) |
| int | cast_create_obj (object *op, object *new_op, int dir) |
| int | ok_to_put_more (mapstruct *m, sint16 x, sint16 y, object *op, uint32 immune_stop) |
| int | fire_arch_from_position (object *op, object *caster, sint16 x, sint16 y, int dir, object *spell) |
| void | regenerate_rod (object *rod) |
| void | drain_rod_charge (object *rod) |
| void | drain_wand_charge (object *wand) |
| object * | find_target_for_friendly_spell (object *op, int dir) |
| int | spell_find_dir (mapstruct *m, int x, int y, object *exclude) |
| int | summon_hostile_monsters (object *op, int n, const char *monstername) |
| void | shuffle_attack (object *op, int change_face) |
| void | spell_failure (object *op, int failure, int power, object *skill) |
| int | cast_spell (object *op, object *caster, int dir, object *spell_ob, char *stringarg) |
| void | store_spell_expiry (object *spell) |
| void | check_spell_expiry (object *spell) |
| void | read_map_log (void) |
| int | swap_map (mapstruct *map) |
| void | check_active_maps (void) |
| void | swap_below_max (const char *except_level) |
| int | players_on_map (mapstruct *m, int show_all) |
| void | flush_old_maps (void) |
| void | remove_door (object *op) |
| void | remove_locked_door (object *op) |
| object * | stop_item (object *op) |
| void | fix_stopped_item (object *op, mapstruct *map, object *originator) |
| object * | fix_stopped_arrow (object *op) |
| int | free_no_drop (object *op) |
| void | move_firewall (object *op) |
| void | move_player_mover (object *op) |
| int | process_object (object *op) |
| void | legacy_remove_force (object *op) |
| void | legacy_animate_trigger (object *op) |
| void | legacy_move_hole (object *op) |
| void | cftimer_process_timers (void) |
| int | cftimer_create (int id, long delay, object *ob, int mode) |
| int | cftimer_destroy (int id) |
| int | cftimer_find_free_id (void) |
| void | cftimer_init (void) |
| void | set_darkness_map (mapstruct *m) |
| void | tick_the_clock (void) |
| int | similar_direction (int a, int b) |
| void | version (object *op) |
| void | start_info (object *op) |
| char * | crypt_string (char *str, char *salt) |
| int | check_password (char *typed, char *crypted) |
| void | enter_player_savebed (object *op) |
| void | set_map_timeout (mapstruct *oldmap) |
| void | enter_exit (object *op, object *exit_ob) |
| void | process_events (void) |
| void | clean_tmp_files (void) |
| void | cleanup (void) |
| void | leave (player *pl, int draw_exit) |
| int | forbid_play (void) |
| int | server_main (int argc, char **argv) |
| void add_player | ( | socket_struct * | ns | ) |
Change items to gold nuggets. Only works for players.
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. |
| 0 | op isn't a player. | |
| 1 | op is a player. |
Definition at line 2208 of file spell_effect.c.


Generalization of staff_to_snake(). Makes a golem out of the caster's weapon. The golem is based on the archetype specified, modified by the caster's level and the attributes of the weapon. The weapon is inserted in the golem's inventory so that it falls to the ground when the golem dies. This code was very odd - code early on would only let players use the spell, yet the code wass full of player checks. I've presumed that the code that only let players use it was correct, and removed all the other player checks. MSW 2003-01-06
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. | |
| dir | casting direction. |
| 0 | spell failure. | |
| 1 | spell was successful. |
Definition at line 2954 of file spell_effect.c.


| void apply_builder_remove | ( | object * | pl, | |
| int | dir | |||
| ) |
Item remover.
Removes first buildable item, either under or above the floor
| pl | player removing an item. | |
| dir | direction the player is trying to remove. |
Definition at line 907 of file build_map.c.


Handle apply on containers. This is for containers that are applied by a player, whether in inventory or on the ground: eg, sacks, luggages, etc.
Moved to own function and added many features [Tero.Haatanen(at)lut.fi] This version is for client/server mode.
Reminder - there are three states for any container - closed (non applied), applied (not open, but objects that match get tossed into it), and open (applied flag set, and op->container points to the open container)
| op | player. | |
| sack | container the player is opening or closing. |
Definition at line 230 of file apply.c.


| void apply_map_builder | ( | object * | pl, | |
| int | dir | |||
| ) |
Global building function
This is the general map building function. Called when the player 'fires' a builder or remover object.
| pl | player building or removing. | |
| dir | building direction. |
Definition at line 978 of file build_map.c.


Apply an object.
This function doesn't check for unpaid items, but check other restrictions.
Usage example: apply_special (who, op, AP_UNAPPLY | AP_IGNORE_CURSE)
| who | object using op. It can be a monster. | |
| op | object being used. Should be an equipment type item, eg, one which you put on and keep on for a while, and not something like a potion or scroll. | |
| aflags | combination of AP_xxx flags. |
Definition at line 1139 of file apply.c.


| int auto_apply | ( | object * | op | ) |
Map was just loaded, handle op's initialisation.
Generates shop floor's item, and treasures.
| op | object to initialize. |
Definition at line 85 of file standalone.c.


| void become_daemon | ( | void | ) |
This function is called whenever a player has switched to a new god. It handles basically all the stat changes that happen to the player, including the removal of godgiven items (from the former cult).
| op | player switching cults. | |
| new_god | new god to worship. |
Definition at line 489 of file gods.c.


Calculates amount of experience can be gained for successfull use of a skill.
Here we take the view that a player must 'overcome an opponent' in order to gain experience. Examples include foes killed combat, finding/disarming a trap, stealing from somebeing, etc.
The gained experience is based primarily on the difference in levels, exp point value of vanquished foe, the relevent stats of the skill being used and modifications in the skills[] table.
For now, monsters and players will be treated differently. Below I give the algorithm for *PLAYER *experience gain. Monster exp gain is simpler. Monsters just get 10% of the exp of the opponent.
Players get a ratio, eg, opponent lvl / player level. This is then multiplied by various things. If simple exp is true, then this multiplier, include the level difference, is always 1. This revised method prevents some cases where there are big gaps in the amount you get just because you are now equal level vs lower level
| who | player/creature that used the skill. | |
| op | object that was 'defeated'. | |
| skill | used skill. If none, it should just point back to who. |
Definition at line 599 of file skill_util.c.


Checks to see if 'who' can apply object 'op'.
| who | living thing trying to apply op. | |
| op | object applied. |
Definition at line 955 of file apply.c.

| int can_pay | ( | object * | pl | ) |
Checks all unpaid items in op's inventory, adds up all the money they have, and checks that they can actually afford what they want to buy. Prints appropriate messages to the player.
| pl | player trying to bug. |
| 1 | player could buy the items. | |
| 0 | some items can't be bought. |
Definition at line 938 of file shop.c.


Improve statistics of some living object.
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. | |
| dir | casting direction. |
| 0 | spell failed. | |
| 1 | spell was successful. |
Definition at line 1965 of file spell_effect.c.


Let's try to infect something.
| op | who is casting. | |
| caster | what object is casting. | |
| spell | spell object to cast. | |
| dir | cast direction. |
| 0 | no one caught anything. | |
| 1 | at least one living was affected. |
Definition at line 1310 of file spell_attack.c.


Cast some stat-improving spell.
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. | |
| dir | casting direction. | |
| silent | if non zero, don't say when the spell is already is effect. |
| 0 | spell failed. | |
| 1 | spell was successful. |
Definition at line 1825 of file spell_effect.c.


This changes the light level for the entire map.
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. |
| 0 | light not affected. | |
| 1 | light changed. |
Definition at line 3183 of file spell_effect.c.


Casts a cone spell.
| op | person firing the object. | |
| caster | object casting the spell. | |
| dir | direction to fire in. | |
| spell | spell that is being fired. It uses other_arch for the archetype to fire. |
| 0 | couldn't cast. | |
| 1 | successful cast. |
Definition at line 403 of file spell_attack.c.


A spell to make an altar your god's.
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. |
| 0 | no consecration happened. | |
| 1 | an altar waas consecrated. |
Definition at line 2873 of file spell_effect.c.


| int cast_create_food | ( | object * | op, | |
| object * | caster, | |||
| object * | spell_ob, | |||
| int | dir, | |||
| const char * | stringarg | |||
| ) |
Create food. Allows the choice of what sort of food object to make. If stringarg is NULL, it will create food dependent on level --PeterM
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. | |
| dir | casting direction. | |
| stringarg | optional parameter specifying what kind of items to create. |
| 0 | no food created. | |
| food | was created. |
Definition at line 639 of file spell_effect.c.


| int cast_create_missile | ( | object * | op, | |
| object * | caster, | |||
| object * | spell, | |||
| int | dir, | |||
| const char * | stringarg | |||
| ) |
Create a missile (nonmagic - magic +4). Will either create bolts or arrows based on whether a crossbow or bow is equiped. If neither, it defaults to arrows. Sets the plus based on the casters level. It is also settable with the invoke command. If the caster attempts to create missiles with too great a plus, the default is used. The # of arrows created also goes up with level, so if a 30th level mage wants LOTS of arrows, and doesn't care what the plus is he could create nonnmagic arrows, or even -1, etc...
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. | |
| dir | casting direction. | |
| stringarg | optional parameter specifying what kind of items to create. |
| 0 | no missile created. | |
| missiles | were created. |
Definition at line 525 of file spell_effect.c.


Creates object new_op in direction dir or if that is blocked, beneath the player (op). we pass 'caster', but don't use it for anything. This is really just a simple wrapper function .
| op | who is casting. | |
| new_op | object to insert. | |
| dir | direction to insert into. Can be 0. |
Definition at line 517 of file spell_util.c.


This function cast the spell of town portal for op.
The spell operates in two passes. During the first one a place is marked as a destination for the portal. During the second one, 2 portals are created, one in the position the player cast it and one in the destination place. The portal are synchronized and 2 forces are inserted in the player to destruct the portal next time player creates a new portal pair. This spell has a side effect that it allows people to meet each other in a permanent, private, appartements by making a town portal from it to the town or another public place. So, check if the map is unique and if so return an error
Code by Tchize (david.delbecq@usa.net)
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. | |
| dir | casting direction. |
| 0 | spell was insuccessful for some reason. | |
| 1 | spell worked. |
Definition at line 1122 of file spell_effect.c.


Curse an object, reducing its statistics.
| op | who is casting. | |
| caster | what object is casting. | |
| spell_ob | spell object to cast. | |
| dir | cast direction. |
| 0 | curse had no effect. | |
| 1 | something was cursed. |
Definition at line 914 of file spell_attack.c.


Hit all monsters around the caster.
| op | who is casting. | |
| caster | what object is casting. | |
| spell_ob | spell object to cast. |
Definition at line 819 of file spell_attack.c.


Detect magic or invisible items.
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. |
Definition at line 2500 of file spell_effect.c.


Handles op throwing objects of type 'DUST'. This is much simpler in the new spell code - we basically just treat this as any other spell casting object.
| op | object throwing. | |
| throw_ob | what to throw. | |
| dir | direction to throw into. |
Definition at line 3682 of file player.c.

Basically destroys earthwalls in the area.
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. |
| 0 | op isn't a player. | |
| 1 | op is a player. |
Definition at line 882 of file spell_effect.c.


Heals something.
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. | |
| dir | casting direction. |
Definition at line 1679 of file spell_effect.c.


Identifies objects in the players inventory/on the ground.
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. |
| 0 | nothing was identified. | |
| 1 | at least one object was identified. |
Definition at line 2419 of file spell_effect.c.


Makes the player or character invisible. Note the spells to 'stack', but perhaps in odd ways. the duration for all is cumulative. In terms of invis undead/normal invis, it is the last one cast that will determine if you are invisible to undead or normal monsters. For improved invis, if you cast it with a one of the others, you lose the improved part of it, and the above statement about undead/ normal applies.
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. |
| 0 | invisibility was already in action. | |
| 1 | op is now invisible. |
Definition at line 821 of file spell_effect.c.


This alters player's marked item's cursed or blessed status, based on the spell_ob's fields.
| op | player casting the spell. | |
| caster | what object was used to cast the spell. | |
| spell_ob | spell itself. |
Definition at line 2367 of file spell_effect.c.


Illuminates something on a map, or try to blind a living thing.
See the spells documentation file for why this is its own function.
| op | who is casting. | |
| caster | what object is casting. | |
| spell | spell object to cast. | |
| dir | cast direction. |
| 0 | no effect. | |
| 1 | lighting successful. |
Definition at line 1235 of file spell_attack.c.


This is really used mostly for spell fumbles at the like.
| op | what is casting this. | |
| tmp | object to propogate. | |
| lvl | how nasty should the propagation be. |
Definition at line 55 of file spell_effect.c.


Polymorph spell casting.
| op | who is casting the spell. | |
| caster | object used to cast spell. | |
| spell_ob | spell itself. | |
| dir | casting direction. 0 won't have any effect. |
Definition at line 453 of file spell_effect.c.


| int cast_raise_dead_spell | ( | object * | op, | |
| object * | caster, | |||
| object * | spell, | |||
| int | dir, | |||
| const char * | arg | |||
| ) |
This handles the raise dead / resurrection spells. So try to revive a player.
| op | who is doing the resurrecting. | |
| caster | what is casting the spell (op or a scroll/rod). | |
| spell | spell object. | |
| dir | direction the spell is cast. | |
| arg | name of the player to revive. |
| 0 | spell had no effect, or player couldn't revive. | |
| 1 | player revived, or some nasty things happened. |
Definition at line 186 of file resurrection.c.


The priest points to a creature and causes a 'godly curse' to descend.
| op | who is casting. | |
| caster | what object is casting. | |
| dir | cast direction. | |
| spell | spell object to cast. |
| 0 | spell had no effect. | |
| 1 | something was affected by the spell. |
Definition at line 655 of file spell_attack.c.


Main dispatch when someone casts a spell.
Will decrease mana/gr points, check for skill, confusion and such.
Note that this function is really a dispatch routine that calls other functions - it just blindly returns what ever value those functions return. So if your writing a new function that is called from this, it should also return 1 on success, 0 on failure.
if it is a player casting the spell (op->type == PLAYER, op == caster), this function will decrease the mana/grace appropriately. For other objects, the caller should do what it considers appropriate.
| op | creature that is owner of the object that is casting the spell - eg, the player or monster. | |
| caster | actual object (wand, potion) casting the spell. can be same as op. | |
| dir | direction to cast in. Note in some cases, if the spell is self only, dir really doesn't make a difference. | |
| spell_ob | spell object that is being cast. From that, we can determine what to do. * | |
| stringarg | any options that are being used. It can be NULL. Almost certainly, only players will set it. It is basically used as optional parameters to a spell (eg, item to create, information for marking runes, etc. |
Definition at line 1308 of file spell_util.c.

This spell transfers sp from the player to another person. We let the target go above their normal maximum SP.
| op | who is casting. | |
| caster | what is casting. | |
| spell | actual spell object. | |
| dir | casting direction. |
| 0 | no transfer happened. | |
| 1 | transfer happened. |
Definition at line 2726 of file spell_effect.c.


wonder is really just a spell that will likely cast another spell.
| op | who is casting. | |
| caster | what is casting. | |
| dir | casting direction. | |
| spell_ob | actual spell object. |
Definition at line 997 of file spell_effect.c.


Word of recall causes the player to return 'home'. we put a force into the player object, so that there is a time delay effect.
| op | who is casting. | |
| caster | what is casting. | |
| spell_ob | actual spell object. |
| 0 | op isn't a player. | |
| 1 | word of recall initiated. |
Definition at line 935 of file spell_effect.c.


This function returns the effective level the spell is being cast at. Note that I changed the repelled/attuned bonus to 2 from 5. This is because the new code compares casting_level against min_caster_level, so the difference is effectively 4
| caster | person casting the spell. | |
| spell | spell object. |
Definition at line 237 of file spell_util.c.

| void* cfapi_friendlylist_get_next | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_generate_random_map | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for generate_random_map().
| type | unused. |
Definition at line 4511 of file plugins.c.

| void* cfapi_get_hooks | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_get_month_name | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for get_season_name().
| type | will be CFAPI_STRING. Other parameters are int index and char** where to store result string |
Definition at line 981 of file plugins.c.

| void* cfapi_get_periodofday_name | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for get_season_name().
| type | will be CFAPI_STRING. Other parameters are int index and char** where to store result string |
Definition at line 993 of file plugins.c.

| void* cfapi_get_season_name | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for get_season_name().
| type | will be CFAPI_STRING. Other parameters are int index and char** where to store result string |
Definition at line 957 of file plugins.c.

| void* cfapi_get_time | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_get_weekday_name | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for get_season_name().
| type | will be CFAPI_STRING. Other parameters are int index and char** where to store result string |
Definition at line 969 of file plugins.c.

| void* cfapi_log | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_map_change_light | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for change_map_light().
| type | will be CFAPI_INT. |
Definition at line 1512 of file plugins.c.

| void* cfapi_map_create_path | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for create_pathname() and create_overlay_pathname().
| type | will be CFAPI_STRING. |
Definition at line 1170 of file plugins.c.

| void* cfapi_map_delete_map | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_map_get_map | ( | int * | type, | |
| ... | ||||
| ) |
Gets map information.
First parameter is a integer, which should be:
Definition at line 1095 of file plugins.c.

| void* cfapi_map_get_map_property | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_map_get_object_at | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for GET_MAP_OB().
| type | will be CFAPI_POBJECT. |
Definition at line 1451 of file plugins.c.

| void* cfapi_map_has_been_loaded | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for has_been_loaded().
| type | will be CFAPI_PMAP. |
Definition at line 1149 of file plugins.c.

| void* cfapi_map_message | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_map_out_of_map | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for out_of_map().
| type | will be CFAPI_INT. |
Definition at line 1371 of file plugins.c.

| void* cfapi_map_present_arch_by_name | ( | int * | type, | |
| ... | ||||
| ) |
Kinda wrapper for present_arch() (but uses a string, not an archetype*).
| type | will be CFAPI_POBJECT. |
Definition at line 1483 of file plugins.c.

| void* cfapi_map_trigger_connected | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for trigger_connected().
Expected parameters after type:
| [out] | type | Will be CFAPI_NONE. |
Definition at line 3729 of file plugins.c.

| void* cfapi_map_update_position | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for update_position().
| type | CFAPI_NONE. |
Definition at line 1396 of file plugins.c.

| void* cfapi_object_apply | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_apply_below | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_cast | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for query_money().
| type | Will be CFAPI_INT. |
Definition at line 3800 of file plugins.c.

| void* cfapi_object_change_abil | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for change_abil().
Definition at line 4070 of file plugins.c.

| void* cfapi_object_change_exp | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for change_exp().
| type | will be CFAPI_NONE. |
Definition at line 4162 of file plugins.c.

| void* cfapi_object_check_inventory | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_check_spell | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for check_spell_known().
| type | Will be CFAPI_POBJECT. |
Definition at line 3868 of file plugins.c.

| void* cfapi_object_check_trigger | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for check_trigger().
| type | Will be CFAPI_INT. |
Definition at line 3699 of file plugins.c.

| void* cfapi_object_clean_object | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_clear | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for clear_object().
| type | Will be CFAPI_NONE. |
Definition at line 3585 of file plugins.c.

| void* cfapi_object_clone | ( | int * | type, | |
| ... | ||||
| ) |
Clone an object, either through object_create_clone() or copy_object().
| type | will be CFAPI_POBJECT. |
Definition at line 3274 of file plugins.c.

| void* cfapi_object_create | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for get_object(), create_archetype() and create_archetype_by_object_name().
| type | will be CFAPI_POBJECT, or CFAPI_NONE if invalid value asked for. |
Definition at line 3355 of file plugins.c.

| void* cfapi_object_delete | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_describe | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for describe_item().
| type | will be CFAPI_STRING. |
Definition at line 3134 of file plugins.c.

| void* cfapi_object_distance | ( | int * | type, | |
| ... | ||||
| ) |
Wrapper for distance().
| type | will be CFAPI_INT. |
Definition at line 3538 of file plugins.c.

| void* cfapi_object_drain | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_drop | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_find | ( | int * | type, | |
| ... | ||||
| ) |
| void* cfapi_object_find_archetype_inside | ( | int * | type, | |
| ... | ||||
| ) |
Kinda wrapper for present_arch_in_ob().
Definition at line 4004 of file plugins.c.
