version 1.145 | | version 1.146 |
---|
| | |
void apply_lighter(object *who, object *lighter); | | void apply_lighter(object *who, object *lighter); |
void scroll_failure(object *op, int failure, int power); | | void scroll_failure(object *op, int failure, int power); |
void apply_changes_to_player(object *pl, object *change); | | void apply_changes_to_player(object *pl, object *change); |
void apply_positioning_system(object *pl, object *gps); | | |
void apply_item_transformer(object *pl, object *transformer); | | void apply_item_transformer(object *pl, object *transformer); |
/* attack.c */ | | /* attack.c */ |
void cancellation(object *op); | | void cancellation(object *op); |
| | |
/* ban.c */ | | /* ban.c */ |
int checkbanned(const char *login, const char *host); | | int checkbanned(const char *login, const char *host); |
/* build_map.c */ | | /* build_map.c */ |
object* get_connection_rune( object* pl, short x, short y ); | | int can_build_over(struct mapdef *map, object *tmp, short x, short y); |
object* get_msg_book( object* pl, short x, short y ); | | |
int adjust_sign_msg( object* pl, short x, short y, object* tmp ); | | |
void remove_marking_runes(struct mapdef *map, short x, short y); | | void remove_marking_runes(struct mapdef *map, short x, short y); |
int find_unused_connected_value(struct mapdef *map); | | int find_unused_connected_value(struct mapdef *map); |
int find_or_create_connection_for_map(object* pl, short x, short y, object* rune); | | int find_or_create_connection_for_map(object* pl, short x, short y, object* rune); |
| | object *get_connection_rune(object *pl, short x, short y); |
| | object *get_msg_book(object *pl, short x, short y); |
object *get_wall(struct mapdef *map, int x, int y); | | object *get_wall(struct mapdef *map, int x, int y); |
void fix_walls(struct mapdef *map, int x, int y); | | void fix_walls(struct mapdef *map, int x, int y); |
void apply_builder_floor(object *pl, object *material, short x, short y); | | void apply_builder_floor(object *pl, object *material, short x, short y); |
| | |
void apply_builder_item(object *pl, object *item, short x, short y); | | void apply_builder_item(object *pl, object *item, short x, short y); |
void apply_builder_remove(object *pl, int dir); | | void apply_builder_remove(object *pl, int dir); |
void apply_map_builder(object *pl, int dir); | | void apply_map_builder(object *pl, int dir); |
| | int adjust_sign_msg(object *pl, short x, short y, object *tmp); |
/* c_chat.c */ | | /* c_chat.c */ |
int command_say(object *op, char *params); | | int command_say(object *op, char *params); |
int command_me(object *op, char *params); | | int command_me(object *op, char *params); |
| | |
int command_search_items(object *op, char *params); | | int command_search_items(object *op, char *params); |
int command_rename_item(object *op, char *params); | | int command_rename_item(object *op, char *params); |
/* c_party.c */ | | /* c_party.c */ |
| | void remove_party(partylist *target_party); |
| | void obsolete_parties(void); |
int confirm_party_password(object *op); | | int confirm_party_password(object *op); |
void receive_party_password(object *op, char k); | | void receive_party_password(object *op, char k); |
void send_party_message(object *op, char *msg); | | void send_party_message(object *op, char *msg); |
int command_gsay(object *op, char *params); | | int command_gsay(object *op, char *params); |
int command_party(object *op, char *params); | | int command_party(object *op, char *params); |
void obsolete_parties(); | | |
/* c_range.c */ | | /* c_range.c */ |
int command_invoke(object *op, char *params); | | int command_invoke(object *op, char *params); |
int command_cast(object *op, char *params); | | int command_cast(object *op, char *params); |
| | |
int op_on_battleground(object *op, int *x, int *y); | | int op_on_battleground(object *op, int *x, int *y); |
void dragon_ability_gain(object *who, int atnr, int level); | | void dragon_ability_gain(object *who, int atnr, int level); |
/* plugins.c */ | | /* plugins.c */ |
| | 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(char *libfile); |
| | void *cfapi_get_hooks(int *type, ...); |
| | int plugins_remove_plugin(char *id); |
| | crossfire_plugin *plugins_find_plugin(const char *id); |
| | void plugins_display_list(object *op); |
| | 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_check_path(int *type, ...); |
| | void *cfapi_system_re_cmp(int *type, ...); |
| | void *cfapi_system_strdup_local(int *type, ...); |
| | void *cfapi_system_directory(int *type, ...); |
| | void* cfapi_system_find_animation(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_get_flags(int* type, ...); |
| | void* cfapi_map_present_arch_by_name(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(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_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_take(int *type, ...); |
| | void *cfapi_object_say(int *type, ...); |
| | void *cfapi_object_speak(int *type, ...); |
| | void *cfapi_player_find(int *type, ...); |
| | void *cfapi_player_message(int *type, ...); |
| | void *cfapi_player_send_inventory(int *type, ...); |
| | void *cfapi_object_teleport(int *type, ...); |
| | void* cfapi_object_pickup(int *type, ...); |
| | void* cfapi_object_move(int* type, ...); |
| | void* cfapi_object_apply_below(int* type, ...); |
| | |
CommArray_s *find_plugin_command(char *cmd, object *op); | | CommArray_s *find_plugin_command(char *cmd, object *op); |
void displayPluginsList(object *op); | | |
int findPlugin(const char *id); | | |
int initPlugins(void); | | int initPlugins(void); |
int initOnePlugin(char *pluginfile); | | |
int removeOnePlugin(char *id); | | |
CFParm *CFWLog(CFParm *PParm); | | |
CFParm *CFWNewInfoMap(CFParm *PParm); | | |
CFParm *CFWSpringTrap(CFParm *PParm); | | |
CFParm *CFWCastSpell(CFParm *PParm); | | |
CFParm *CFWCmdRSkill(CFParm *PParm); | | |
CFParm *CFWBecomeFollower(CFParm *PParm); | | |
CFParm *CFWPickup(CFParm *PParm); | | |
CFParm *CFWGetMapObject(CFParm *PParm); | | |
CFParm *CFWESRVSendItem(CFParm *PParm); | | |
CFParm *CFWFindPlayer(CFParm *PParm); | | |
CFParm *CFWManualApply(CFParm *PParm); | | |
CFParm *CFWCmdDrop(CFParm *PParm); | | |
CFParm *CFWCmdTake(CFParm *PParm); | | |
CFParm *CFWTransferObject(CFParm *PParm); | | |
CFParm *CFWCmdTitle(CFParm *PParm); | | |
CFParm *CFWKillObject(CFParm *PParm); | | |
CFParm *CFWDoForgetSpell(CFParm *PParm); | | |
CFParm *CFWDoLearnSpell(CFParm *PParm); | | |
CFParm *CFWCheckSpellKnown(CFParm *PParm); | | |
CFParm *CFWESRVSendInventory(CFParm *PParm); | | |
CFParm *CFWCreateArtifact(CFParm *PParm); | | |
CFParm *CFWGetArchetype(CFParm *PParm); | | |
CFParm *CFWUpdateSpeed(CFParm *PParm); | | |
CFParm *CFWUpdateObject(CFParm *PParm); | | |
CFParm *CFWFindAnimation(CFParm *PParm); | | |
CFParm *CFWGetArchetypeByObjectName(CFParm *PParm); | | |
CFParm *CFWInsertObjectInMap(CFParm *PParm); | | |
CFParm *CFWReadyMapName(CFParm *PParm); | | |
CFParm *CFWAddExp(CFParm *PParm); | | |
CFParm *CFWDetermineGod(CFParm *PParm); | | |
CFParm *CFWFindGod(CFParm *PParm); | | |
CFParm *CFWDumpObject(CFParm *PParm); | | |
CFParm *CFWLoadObject(CFParm *PParm); | | |
CFParm *CFWRemoveObject(CFParm *PParm); | | |
CFParm *CFWAddString(CFParm *PParm); | | |
CFParm *CFWAddRefcount(CFParm *PParm); | | |
CFParm *CFWFreeString(CFParm *PParm); | | |
CFParm *CFWGetFirstMap(CFParm *PParm); | | |
CFParm *CFWGetFirstPlayer(CFParm *PParm); | | |
CFParm *CFWGetFirstArchetype(CFParm *PParm); | | |
CFParm *CFWQueryCost(CFParm *PParm); | | |
CFParm *CFWQueryMoney(CFParm *PParm); | | |
CFParm *CFWPayForItem(CFParm *PParm); | | |
CFParm *CFWPayForAmount(CFParm *PParm); | | |
CFParm *CFWNewDrawInfo(CFParm *PParm); | | |
CFParm *CFWMovePlayer(CFParm *PParm); | | |
CFParm *CFWMoveObject(CFParm *PParm); | | |
CFParm *CFWSendCustomCommand(CFParm *PParm); | | |
CFParm *CFWCFTimerCreate(CFParm *PParm); | | |
CFParm *CFWCFTimerDestroy(CFParm *PParm); | | |
CFParm *CFWSetAnimation(CFParm *PParm); | | |
CFParm *CFWCommunicate(CFParm *PParm); | | |
CFParm *CFWFindBestObjectMatch(CFParm *PParm); | | |
CFParm *CFWApplyBelow(CFParm *PParm); | | |
CFParm *CFWFreeObject(CFParm *PParm); | | |
CFParm *CFWFixPlayer(CFParm *PParm); | | |
CFParm *CFWFreeMemory(CFParm *PParm); | | |
CFParm *CFWObjectCreateClone(CFParm *PParm); | | |
CFParm *CFWSetVariable(CFParm *PParm); | | |
CFParm *CFWDecreaseObjectNR(CFParm *PParm); | | |
CFParm *CFWTeleportObject(CFParm *PParm); | | |
CFParm *CFWCheckTrigger(CFParm *PParm); | | |
CFParm *CFWOutOfMap(CFParm *PParm); | | |
CFParm *CFWQueryName(CFParm *PParm); | | |
CFParm *CFWQueryBaseName(CFParm *PParm); | | |
CFParm *CFWInsertObInOb(CFParm *PParm); | | |
CFParm *CFWGetSettings(CFParm *PParm); | | |
CFParm *CFWGetMapFlags(CFParm *PParm); | | |
CFParm *CFWReCmp(CFParm *PParm); | | |
CFParm *CFWStrdupLocal(CFParm *PParm); | | |
CFParm *CFWCreatePathname(CFParm *PParm); | | |
CFParm *CFWUpdateObSpeed(CFParm *PParm); | | |
CFParm *CFWPresentArchByName(CFParm *PParm); | | |
CFParm *CFWPresentArchNameInOb(CFParm *PParm); | | |
CFParm *CFWSetDirection(CFParm *PParm); | | |
CFParm *RegisterGlobalEvent(CFParm *PParm); | | |
CFParm *UnregisterGlobalEvent(CFParm *PParm); | | |
void GlobalEvent(CFParm *PParm); | | |
/* resurrection.c */ | | /* resurrection.c */ |
int cast_raise_dead_spell(object *op, object *caster, object *spell, int dir, const char *arg); | | int cast_raise_dead_spell(object *op, object *caster, object *spell, int dir, const char *arg); |
int resurrection_fails(int levelcaster, int leveldead); | | int resurrection_fails(int levelcaster, int leveldead); |
| | |
int pay_for_amount(uint64 to_pay, object *pl); | | int pay_for_amount(uint64 to_pay, object *pl); |
int pay_for_item(object *op, object *pl); | | int pay_for_item(object *op, object *pl); |
int get_payment(object *pl, object *op); | | int get_payment(object *pl, object *op); |
double shop_specialisation_ratio(object *op, mapstruct *map); | | void sell_item(object *op, object *pl); |
| | double shop_specialisation_ratio(object *item, mapstruct *map); |
double shop_greed(mapstruct *map); | | double shop_greed(mapstruct *map); |
int describe_shop(object *op); | | |
double shopkeeper_approval(mapstruct *map, object *player); | | double shopkeeper_approval(mapstruct *map, object *player); |
void sell_item(object *op, object *pl); | | int describe_shop(object *op); |
void shop_listing(object *op); | | void shop_listing(object *op); |
/* skills.c */ | | /* skills.c */ |
int steal(object *op, int dir, object *skill); | | int steal(object *op, int dir, object *skill); |