Crossfire Server, Trunk
|
Go to the source code of this file.
Macros | |
#define | GET_HOOK(x, y, z) |
#define GET_HOOK | ( | x, | |
y, | |||
z | |||
) |
Definition at line 138 of file plugin_common.cpp.
sstring cf_add_string | ( | const char * | str | ) |
Wrapper for add_string(). This will add 'str' to the hash table. If there's no entry for this string, a copy will be allocated, and a pointer to that is returned.
str | string to share. |
Definition at line 1167 of file plugin_common.cpp.
References CFAPI_SSTRING, cfapiSystem_add_string, sstring, make_face_from_files::str, and is_valid_types_gen::type.
Referenced by addReply(), compilePython(), Crossfire_Object_Say(), initapplyobject(), initdropobject(), initpickupobject(), npcSay(), Player_QuestGetState(), Player_QuestSetState(), Player_QuestStart(), Player_QuestWasCompleted(), setPlayerMessage(), and start_animation().
Get clone of archetype.
arch | archetype, mustn't be NULL. |
Definition at line 1767 of file plugin_common.cpp.
References archininventory::arch, CFAPI_ARCH_PROP_CLONE, CFAPI_POBJECT, cfapiArchetype_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Archetype_GetClone().
archetype* cf_archetype_get_first | ( | void | ) |
Get first archetype.
Definition at line 1686 of file plugin_common.cpp.
References CFAPI_ARCH_PROP_NEXT, CFAPI_PARCH, cfapiArchetype_get_property, is_valid_types_gen::type, and autojail::value.
Get head of archetype.
arch | archetype, mustn't be NULL. |
Definition at line 1751 of file plugin_common.cpp.
References archininventory::arch, CFAPI_ARCH_PROP_HEAD, CFAPI_PARCH, cfapiArchetype_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Archetype_GetHead().
Get next part of archetype.
arch | archetype, mustn't be NULL. |
Definition at line 1735 of file plugin_common.cpp.
References archininventory::arch, CFAPI_ARCH_PROP_MORE, CFAPI_PARCH, cfapiArchetype_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Archetype_GetMore().
Get archetype's name.
arch | archetype, mustn't be NULL. |
Definition at line 1702 of file plugin_common.cpp.
References archininventory::arch, CFAPI_ARCH_PROP_NAME, CFAPI_SSTRING, cfapiArchetype_get_property, give::name, sstring, and is_valid_types_gen::type.
Referenced by Crossfire_Archetype_GetName(), and Crossfire_Archetype_GetNewObject().
Get next archetype in linked list.
arch | archetype for which we want the next. Can be NULL, in which case it is equivalent to calling cf_archetype_get_first(). |
Definition at line 1719 of file plugin_common.cpp.
References archininventory::arch, CFAPI_ARCH_PROP_NEXT, CFAPI_PARCH, cfapiArchetype_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Archetype_GetNext().
void cf_cost_string_from_value | ( | uint64_t | cost, |
int | largest_coin, | ||
char * | buffer, | ||
int | length | ||
) |
Wrapper for cost_string_from_value modified to take a char* and length instead of a StringBuffer.
Definition at line 994 of file plugin_common.cpp.
References CFAPI_NONE, cfapiCost_string_from_value, diamondslots::cost, and is_valid_types_gen::type.
Referenced by costStringFromValue().
object* cf_create_object | ( | void | ) |
Wrapper for object_new(). Grabs an object from the list of unused objects, makes sure it is initialised, and returns it.
If there are no free objects, expand_objects() is called to get more.
Definition at line 1081 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_create, is_valid_types_gen::type, and autojail::value.
Referenced by createCFObject().
object* cf_create_object_by_name | ( | const char * | name | ) |
Wrapper for create_archetype() and create_archetype_by_object_name().
Definition at line 1093 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_create, give::name, is_valid_types_gen::type, and autojail::value.
Referenced by createCFObjectByName(), Crossfire_Archetype_GetNewObject(), Crossfire_Object_CreateInside(), eventListener(), and Map_CreateObject().
int cf_find_animation | ( | const char * | name | ) |
Wrapper for find_animation().
Definition at line 1498 of file plugin_common.cpp.
References animate::anim, CFAPI_INT, cfapiSystem_find_animation, give::name, and is_valid_types_gen::type.
Referenced by findAnimation().
int cf_find_face | ( | const char * | name, |
int | error | ||
) |
Wrapper for find_face().
Definition at line 1510 of file plugin_common.cpp.
References animate::anim, CFAPI_INT, cfapiSystem_find_face, report::error(), give::name, and is_valid_types_gen::type.
Referenced by findFace().
sstring cf_find_string | ( | const char * | str | ) |
Definition at line 1189 of file plugin_common.cpp.
References CFAPI_SSTRING, cfapiSystem_find_string, sstring, make_face_from_files::str, and is_valid_types_gen::type.
Referenced by find_by_name().
void cf_fix_object | ( | object * | op | ) |
Wrapper for fix_object(). Updates all abilities given by applied objects in the inventory of the given object.
This functions starts from base values (archetype or player object) and then adjusts them according to what the player/monster has equipped.
Note that a player always has stats reset to their initial value.
July 95 - inserted stuff to handle new skills/exp system - b.t. spell system split, grace points now added to system –peterm
November 2006: max armor speed is always taken into account, no exception.
op | object to reset. |
Definition at line 1156 of file plugin_common.cpp.
References cfapiObject_fix, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_Fix().
void cf_free_string | ( | sstring | str | ) |
Wrapper for free_string(). This will reduce the refcount, and if it has reached 0, str will be freed.
str | string to release, which *must *have been returned from a previous add_string(). |
Definition at line 1182 of file plugin_common.cpp.
References cfapiSystem_remove_string, make_face_from_files::str, and is_valid_types_gen::type.
Referenced by closePlugin(), compilePython(), Player_QuestGetState(), Player_QuestSetState(), Player_QuestStart(), Player_QuestWasCompleted(), runapplyobject(), rundropobject(), runpickupobject(), setPlayerMessage(), and start_animation().
object* cf_friendlylist_get_first | ( | void | ) |
Get first object on friendly list.
Definition at line 2020 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiFriendlylist_get_next, is_valid_types_gen::type, and autojail::value.
Get next object on friendly list.
ob | object we want the next of. If NULL then equivalent of cf_friendlylist_get_first(). |
Definition at line 2036 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiFriendlylist_get_next, guildjoin::ob, is_valid_types_gen::type, and autojail::value.
const char* cf_get_directory | ( | int | id | ) |
Gets a directory Crossfire uses.
id | what directory to return:
|
Definition at line 1130 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_directory, and is_valid_types_gen::type.
Referenced by getConfigDirectory(), getDataDirectory(), getLocalDirectory(), getMapDirectory(), getPlayerDirectory(), getTempDirectory(), getUniqueDirectory(), and postInitPlugin().
mapstruct* cf_get_empty_map | ( | int | sizex, |
int | sizey | ||
) |
Wrapper for get_empty_map().
Definition at line 948 of file plugin_common.cpp.
References CFAPI_PMAP, cfapiMap_get_map, and is_valid_types_gen::type.
Referenced by createMap().
char* cf_get_maps_directory | ( | const char * | name, |
char * | buf, | ||
int | size | ||
) |
Wrapper for create_pathname(). Get the full path to a map file. This simply means prepending the correct map directory to the given path.
name | path of the map. |
buf | buffer that will contain the full path. |
size | buffer's length. |
Definition at line 1069 of file plugin_common.cpp.
References buf, CFAPI_STRING, cfapiMap_create_path, give::name, and is_valid_types_gen::type.
Referenced by eventListener(), getEventFiles(), postInitPlugin(), and python_command_function().
const char* cf_get_month_name | ( | int | index | ) |
Definition at line 1565 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_get_month_name, npc_dialog::index, rotate-tower::result, and is_valid_types_gen::type.
Referenced by getMonthName().
const char* cf_get_periodofday_name | ( | int | index | ) |
Definition at line 1583 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_get_periodofday_name, npc_dialog::index, rotate-tower::result, and is_valid_types_gen::type.
Referenced by getPeriodofdayName().
const char* cf_get_season_name | ( | int | index | ) |
Definition at line 1556 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_get_season_name, npc_dialog::index, rotate-tower::result, and is_valid_types_gen::type.
Referenced by getSeasonName().
void cf_get_time | ( | timeofday_t * | tod | ) |
Definition at line 1549 of file plugin_common.cpp.
References CFAPI_NONE, cfapiSystem_get_time, and is_valid_types_gen::type.
Referenced by get_newspaper_content(), getTime(), and store_time().
const char* cf_get_weekday_name | ( | int | index | ) |
Definition at line 1574 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_get_weekday_name, npc_dialog::index, rotate-tower::result, and is_valid_types_gen::type.
Referenced by getWeekdayName().
Wrapper for identify(). Identifies an item. Supposed to fix face-values as well here, but later. Note - this may merge op with other object, so this function returns either the merged object or the original if no merge happened.
op | item to identify. Can be already identified without ill effects. |
object | The identify object - this may vary from op if the object was merged. |
op |
Definition at line 812 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_identify, give::op, rotate-tower::result, and is_valid_types_gen::type.
int cf_init_plugin | ( | f_plug_api | getHooks | ) |
Definition at line 146 of file plugin_common.cpp.
References cfapiArchetype_get_property, cfapiCost_string_from_value, cfapiFriendlylist_get_next, cfapiGenerate_random_map, cfapiMap_change_light, cfapiMap_create_path, cfapiMap_find_by_archetype_name, cfapiMap_get_map, cfapiMap_get_object_at, cfapiMap_get_property, cfapiMap_has_been_loaded, cfapiMap_message, cfapiMap_set_property, cfapiMap_trigger_connected, cfapiObject_activate_rune, cfapiObject_apply, cfapiObject_apply_below, cfapiObject_cast, cfapiObject_change_abil, cfapiObject_change_exp, cfapiObject_check_spell, cfapiObject_check_trigger, cfapiObject_clear, cfapiObject_clone, cfapiObject_create, cfapiObject_delete, cfapiObject_describe, cfapiObject_distance, cfapiObject_drain, cfapiObject_drop, cfapiObject_find_archetype_inside, cfapiObject_find_by_arch_name, cfapiObject_find_by_name, cfapiObject_fix, cfapiObject_forget_spell, cfapiObject_get_key, cfapiObject_get_property, cfapiObject_give_skill, cfapiObject_identify, cfapiObject_insert, cfapiObject_learn_spell, cfapiObject_merge, cfapiObject_move, cfapiObject_out_of_map, cfapiObject_pay_amount, cfapiObject_pay_item, cfapiObject_perm_exp, cfapiObject_pickup, cfapiObject_query_money, cfapiObject_remove, cfapiObject_remove_depletion, cfapiObject_reset, cfapiObject_say, cfapiObject_set_key, cfapiObject_set_property, cfapiObject_split, cfapiObject_teleport, cfapiObject_transfer, cfapiObject_transmute, cfapiObject_update, cfapiObject_user_event, cfapiParty_get_property, cfapiPlayer_can_pay, cfapiPlayer_find, cfapiPlayer_knowledge, cfapiPlayer_message, cfapiPlayer_quest, cfapiRegion_get_property, cfapiSet_random_map_variable, cfapiSystem_add_string, cfapiSystem_directory, cfapiSystem_find_animation, cfapiSystem_find_face, cfapiSystem_find_string, cfapiSystem_get_archetype_vector, cfapiSystem_get_map_vector, cfapiSystem_get_month_name, cfapiSystem_get_object_vector, cfapiSystem_get_party_vector, cfapiSystem_get_periodofday_name, cfapiSystem_get_region_vector, cfapiSystem_get_season_name, cfapiSystem_get_time, cfapiSystem_get_weekday_name, cfapiSystem_log, cfapiSystem_re_cmp, cfapiSystem_register_command, cfapiSystem_register_global_event, cfapiSystem_remove_string, cfapiSystem_strdup_local, cfapiSystem_timer_create, cfapiSystem_timer_destroy, cfapiSystem_unregister_command, cfapiSystem_unregister_global_event, GET_HOOK, and Moving_Fog::z.
Referenced by initPlugin().
void cf_log | ( | LogLevel | logLevel, |
const char * | format, | ||
... | |||
) |
Wrapper for LOG().
Definition at line 1522 of file plugin_common.cpp.
References buf, CFAPI_NONE, cfapiSystem_log, and is_valid_types_gen::type.
Referenced by animate_one(), cfpython_globalEventListener(), check_tables(), closePlugin(), compilePython(), Crossfire_Object_Say(), do_kills(), do_script(), do_sql(), ensure_map_in_memory(), eventListener(), get_newspaper_content(), globalEventListener(), initghosted(), initPlugin(), initsay(), initteleport(), inittrigger(), initvisible(), initwizard(), log_message(), Map_TriggerConnected(), npcSay(), parse_animation_block(), postInitPlugin(), runcamera(), runfire(), runmovement(), runsay(), runstop(), runtrigger(), runturn(), and start_animation().
void cf_log_plain | ( | LogLevel | logLevel, |
const char * | message | ||
) |
Wrapper for LOG() that uses directly a buffer, without format
Definition at line 1542 of file plugin_common.cpp.
References CFAPI_NONE, cfapiSystem_log, diamondslots::message, and is_valid_types_gen::type.
Referenced by Crossfire_Object_CastAbility(), and log_python_error().
int cf_map_change_light | ( | mapstruct * | m, |
int | change | ||
) |
Wrapper for change_map_light().
Definition at line 1420 of file plugin_common.cpp.
References CFAPI_INT, cfapiMap_change_light, m, is_valid_types_gen::type, and autojail::value.
Referenced by Map_ChangeLight().
Kinda wrapper for map_find_by_archetype_name().
Definition at line 1371 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiMap_find_by_archetype_name, disinfect::map, make_face_from_files::str, is_valid_types_gen::type, and autojail::value.
Referenced by Map_Check().
int cf_map_get_darkness | ( | mapstruct * | map | ) |
Definition at line 1396 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_DARKNESS, and disinfect::map.
Referenced by Map_GetDarkness().
int cf_map_get_difficulty | ( | mapstruct * | map | ) |
Definition at line 1380 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_DIFFICULTY, and disinfect::map.
Referenced by Map_GetDifficulty().
int cf_map_get_enter_x | ( | mapstruct * | map | ) |
Definition at line 1408 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_ENTER_X, and disinfect::map.
Referenced by Map_GetEnterX().
int cf_map_get_enter_y | ( | mapstruct * | map | ) |
Definition at line 1412 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_ENTER_Y, and disinfect::map.
Referenced by Map_GetEnterY().
mapstruct* cf_map_get_first | ( | void | ) |
Gives access to first_map.
Definition at line 975 of file plugin_common.cpp.
References cf_map_get_map_property(), and CFAPI_MAP_PROP_NEXT.
int cf_map_get_flags | ( | mapstruct * | oldmap, |
mapstruct ** | newmap, | ||
int16_t | x, | ||
int16_t | y, | ||
int16_t * | nx, | ||
int16_t * | ny | ||
) |
Wrapper for get_map_flags(). This rolls up wall, blocks_magic, blocks_view, etc, all into one function that just returns a P_.. value (see map.h) it will also do map translation for tiled maps, returning new values into newmap, nx, and ny. Any and all of those values can be null, in which case if a new map is needed (returned by a P_NEW_MAP value, another call to get_map_from_coord is needed. The case of not passing values is if we're just checking for the existence of something on those spaces, but don't expect to insert/remove anything from those spaces.
oldmap | map for which we want information. |
newmap | if not NULL, will contain the actual map checked if not oldmap. |
x | |
y | coordinates to check |
nx | |
ny | if not NULL, will contain the actual coordinates checked. |
Definition at line 1461 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_MAP_PROP_FLAGS, cfapiMap_get_property, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Map_Check().
int cf_map_get_height | ( | mapstruct * | map | ) |
Definition at line 1404 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_HEIGHT, and disinfect::map.
Referenced by find_by_name(), and Map_GetHeight().
int cf_map_get_int_property | ( | mapstruct * | map, |
int | property | ||
) |
Definition at line 254 of file plugin_common.cpp.
References CFAPI_INT, cfapiMap_get_property, disinfect::map, is_valid_types_gen::type, and autojail::value.
Referenced by cf_map_get_darkness(), cf_map_get_difficulty(), cf_map_get_enter_x(), cf_map_get_enter_y(), cf_map_get_height(), cf_map_get_players(), cf_map_get_reset_time(), cf_map_get_reset_timeout(), cf_map_get_width(), ensure_map_in_memory(), and Map_GetUnique().
mapstruct* cf_map_get_map | ( | const char * | name, |
int | flags | ||
) |
Wrapper for ready_map_name(). Makes sure the given map is loaded and swapped in.
name | path name of the map. |
flags |
|
Definition at line 935 of file plugin_common.cpp.
References CFAPI_PMAP, cfapiMap_get_map, flags, give::name, and is_valid_types_gen::type.
Referenced by ensure_map_in_memory(), readyMap(), and runteleport().
Definition at line 279 of file plugin_common.cpp.
References CFAPI_PMAP, cfapiMap_get_property, disinfect::map, is_valid_types_gen::type, and autojail::value.
Referenced by cf_map_get_first(), and Map_Next().
Wrapper for GET_MAP_OB(). Gets the bottom object on a map. Not multitile aware.
Definition at line 655 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiMap_get_object_at, m, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Map_GetFirstObjectAt().
int cf_map_get_players | ( | mapstruct * | map | ) |
Definition at line 1392 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_PLAYERS, and disinfect::map.
Referenced by Map_GetPlayers().
Definition at line 288 of file plugin_common.cpp.
References CFAPI_PREGION, cfapiMap_get_property, disinfect::map, is_valid_types_gen::type, and autojail::value.
Referenced by eventListener(), and Map_GetRegion().
int cf_map_get_reset_time | ( | mapstruct * | map | ) |
Definition at line 1384 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_RESET_TIME, and disinfect::map.
Referenced by Map_GetResetTime().
int cf_map_get_reset_timeout | ( | mapstruct * | map | ) |
Definition at line 1388 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_RESET_TIMEOUT, and disinfect::map.
Referenced by Map_GetResetTimeout().
Definition at line 270 of file plugin_common.cpp.
References CFAPI_SSTRING, cfapiMap_get_property, disinfect::map, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Map_GetMessage(), Map_GetName(), Map_GetPath(), Map_GetTempName(), Map_TriggerConnected(), and runtrigger().
int cf_map_get_width | ( | mapstruct * | map | ) |
Definition at line 1400 of file plugin_common.cpp.
References cf_map_get_int_property(), CFAPI_MAP_PROP_WIDTH, and disinfect::map.
Referenced by find_by_name(), and Map_GetWidth().
mapstruct* cf_map_has_been_loaded | ( | const char * | name | ) |
Wrapper for has_been_loaded(). Checks whether map has been loaded.
name | path of the map to search. Can be NULL. |
Definition at line 961 of file plugin_common.cpp.
References CFAPI_PMAP, cfapiMap_has_been_loaded, give::name, and is_valid_types_gen::type.
Referenced by getMapHasBeenLoaded().
Wrapper for object_insert_in_map_at().
Definition at line 1329 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_insert, give::op, is_valid_types_gen::type, autojail::value, python_pickup::where, diamondslots::x, and diamondslots::y.
Referenced by Map_CreateObject(), and Map_Insert().
Will insert op in the map where around the spot x, y. Combination of object_find_free_spot and object_insert_in_map_at.
where | map to insert into. |
op | what to insert. |
x | |
y | where to insert op. |
Definition at line 1351 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_insert, give::op, is_valid_types_gen::type, autojail::value, python_pickup::where, diamondslots::x, and diamondslots::y.
Referenced by Map_InsertAround().
Wrapper for object_insert_in_map().
Definition at line 1315 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_insert, m, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by runghosted().
void cf_map_message | ( | mapstruct * | m, |
const char * | msg, | ||
int | color | ||
) |
Partial wrapper for ext_info_map().
Definition at line 667 of file plugin_common.cpp.
References cfapiMap_message, smoking_pipe::color, m, navar-midane_pickup::msg, and is_valid_types_gen::type.
Referenced by Map_Message(), and runmessage().
void cf_map_set_int_property | ( | mapstruct * | map, |
int | propcode, | ||
int | value | ||
) |
Definition at line 298 of file plugin_common.cpp.
References CFAPI_INT, cfapiMap_set_property, disinfect::map, is_valid_types_gen::type, and autojail::value.
void cf_map_set_string_property | ( | mapstruct * | map, |
int | propcode, | ||
const char * | value | ||
) |
Definition at line 305 of file plugin_common.cpp.
References CFAPI_STRING, cfapiMap_set_property, disinfect::map, is_valid_types_gen::type, and autojail::value.
Referenced by Map_SetPath().
void cf_map_trigger_connected | ( | objectlink * | ol, |
object * | cause, | ||
int | state | ||
) |
Wrapper for trigger_connected().
Definition at line 1028 of file plugin_common.cpp.
References CFAPI_NONE, cfapiMap_trigger_connected, dragon::state, and is_valid_types_gen::type.
Referenced by Map_TriggerConnected(), and runtrigger().
Wrapper for apply_manual(). Main apply handler.
Checks for unpaid items before applying.
op | object causing tmp to be applied. |
tmp | object being applied. |
aflag | special (always apply/unapply) flags. Nothing is done with them in this function - they are passed to apply_special(). |
Definition at line 542 of file plugin_common.cpp.
References cfapiObject_apply, give::op, Ice::tmp, and is_valid_types_gen::type.
Referenced by Crossfire_Object_Apply(), and runapplyobject().
void cf_object_apply_below | ( | object * | pl | ) |
Wrapper for apply_by_living_below(). Attempt to apply the object 'below' the player. If the player has an open container, we use that for below, otherwise we use the ground.
pl | player. |
Definition at line 553 of file plugin_common.cpp.
References cfapiObject_apply_below, altar_valkyrie::pl, and is_valid_types_gen::type.
Referenced by runapply().
int cf_object_cast_spell | ( | object * | op, |
object * | caster, | ||
int | dir, | ||
object * | spell_ob, | ||
char * | stringarg | ||
) |
Wrapper for cast_spell().
Definition at line 744 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_cast, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_Cast(), and Crossfire_Object_CastAbility().
Wrapper for change_abil().
Definition at line 1671 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_change_abil, give::op, Ice::tmp, and is_valid_types_gen::type.
Referenced by Crossfire_Object_ChangeAbil().
void cf_object_change_exp | ( | object * | op, |
int64_t | exp, | ||
const char * | skill_name, | ||
int | flag | ||
) |
Wrapper for change_exp().
Definition at line 504 of file plugin_common.cpp.
References CFAPI_NONE, cfapiObject_change_exp, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_AddExp().
object* cf_object_change_map | ( | object * | op, |
mapstruct * | m, | ||
object * | originator, | ||
int | flag, | ||
int | x, | ||
int | y | ||
) |
Wrapper for object_insert_in_map_at().
Definition at line 642 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_transfer, m, give::op, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Object_SetMap().
Wrapper for check_spell_known(). Checks to see if player knows the spell. If the name is the same as an existing spell, we presume they know it.
op | object we're looking into. |
name | spell name. Doesn't need to be a shared string. |
Definition at line 778 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_check_spell, give::name, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_KnowSpell().
Wrapper for check_trigger().
Definition at line 1016 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_check_trigger, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_CheckTrigger().
Clone an object.
op | what to clone. |
clonetype |
|
Definition at line 683 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_clone, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_Clone(), and runghosted().
Definition at line 1043 of file plugin_common.cpp.
References board::author, cfapiObject_drop, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_Drop(), and rundropobject().
Wrapper for object_find_by_arch_name(). Find object in inventory by archetype name.
who | where to search. |
name | what to search. |
Definition at line 592 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_find_by_arch_name, give::name, rotate-tower::result, is_valid_types_gen::type, and autojail::who.
Referenced by Crossfire_Object_CheckArchInventory().
Wrapper for object_find_by_name(). Finds an object in inventory name.
who | the object to search |
name | name to search for |
Definition at line 605 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_find_by_name, give::name, rotate-tower::result, is_valid_types_gen::type, and autojail::who.
Referenced by runapplyobject(), and rundropobject().
Wrapper for do_forget_spell(), except takes an object, not a string.
Definition at line 768 of file plugin_common.cpp.
References cfapiObject_forget_spell, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_ForgetSpell().
void cf_object_free_drop_inventory | ( | object * | ob | ) |
Wrapper for object_free_drop_inventory(). Frees everything allocated by an object, removes it from the list of used objects, and puts it on the list of free objects. The IS_FREED() flag is set in the object. The object must have been removed by object_remove() first for this function to succeed.
Inventory will be dropped on the ground if in a map, else freed too.
ob | object to free. Will become invalid when function returns. |
Definition at line 571 of file plugin_common.cpp.
References cfapiObject_delete, guildjoin::ob, and is_valid_types_gen::type.
Referenced by Crossfire_Object_Remove(), and runghosted().
Definition at line 416 of file plugin_common.cpp.
References CFAPI_PARCH, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetArchetype(), and Object_GetOtherArchetype().
double cf_object_get_double_property | ( | object * | op, |
int | propcode | ||
) |
Definition at line 432 of file plugin_common.cpp.
References CFAPI_DOUBLE, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetExpMul().
int cf_object_get_flag | ( | object * | ob, |
int | flag | ||
) |
Definition at line 1277 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_FLAGS, cfapiObject_get_property, guildjoin::ob, and is_valid_types_gen::type.
Referenced by cf_object_insert_in_ob(), Crossfire_Object_InsertInto(), Crossfire_Object_Remove(), Object_GetFlagProperty(), and Object_GetPickable().
float cf_object_get_float_property | ( | object * | op, |
int | propcode | ||
) |
Definition at line 408 of file plugin_common.cpp.
References CFAPI_FLOAT, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetFloatProperty().
int64_t cf_object_get_int64_property | ( | object * | op, |
int | propcode | ||
) |
Definition at line 381 of file plugin_common.cpp.
References CFAPI_SINT64, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetExp(), and Object_GetTotalExp().
int cf_object_get_int_property | ( | object * | op, |
int | propcode | ||
) |
Definition at line 335 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetIntProperty(), Object_GetMaterial(), Player_GetBedX(), and Player_GetBedY().
const char* cf_object_get_key | ( | object * | op, |
const char * | keyname | ||
) |
Gets value for specified key, equivalent of object_get_value().
op | object for which we search a key. |
keyname | key to look for. Not required to be a shared string. |
Definition at line 1637 of file plugin_common.cpp.
References CFAPI_SSTRING, cfapiObject_get_key, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_ReadKey().
long cf_object_get_long_property | ( | object * | op, |
long | propcode | ||
) |
Definition at line 342 of file plugin_common.cpp.
References CFAPI_LONG, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetValue().
Definition at line 373 of file plugin_common.cpp.
References CFAPI_PMAP, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetMap().
Definition at line 357 of file plugin_common.cpp.
References CFAPI_MOVETYPE, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetMoveAllow(), Object_GetMoveBlock(), Object_GetMoveOff(), Object_GetMoveOn(), Object_GetMoveSlow(), and Object_GetMoveType().
Definition at line 1218 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_MESSAGE, CFAPI_SSTRING, cfapiObject_get_property, guildjoin::ob, sstring, is_valid_types_gen::type, and autojail::value.
int cf_object_get_nrof | ( | object * | ob | ) |
Definition at line 1270 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_NROF, cfapiObject_get_property, guildjoin::ob, and is_valid_types_gen::type.
Definition at line 365 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by add_death(), Object_GetObjectProperty(), and Player_GetObjectProperty().
Definition at line 424 of file plugin_common.cpp.
References CFAPI_PPARTY, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by cf_player_get_party().
int16_t cf_object_get_resistance | ( | object * | op, |
int | rtype | ||
) |
Definition at line 313 of file plugin_common.cpp.
References CFAPI_INT16, CFAPI_OBJECT_PROP_RESIST, cfapiObject_get_property, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_GetResist().
Definition at line 440 of file plugin_common.cpp.
References CFAPI_SSTRING, cfapiObject_get_property, give::op, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetMaterial(), and Object_GetSStringProperty().
char* cf_object_get_string_property | ( | object * | op, |
int | propcode, | ||
char * | buf, | ||
int | size | ||
) |
Definition at line 448 of file plugin_common.cpp.
References buf, CFAPI_STRING, cfapiObject_get_property, give::op, and is_valid_types_gen::type.
Referenced by Player_GetBedMap().
int cf_object_get_weight | ( | object * | ob | ) |
Definition at line 1241 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_OBJECT_PROP_WEIGHT, cfapiObject_get_property, guildjoin::ob, and is_valid_types_gen::type.
int cf_object_get_weight_limit | ( | object * | ob | ) |
Definition at line 1249 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_OBJECT_PROP_WEIGHT_LIMIT, cfapiObject_get_property, guildjoin::ob, and is_valid_types_gen::type.
Wrapper for object_insert_in_ob().
Definition at line 1298 of file plugin_common.cpp.
References cf_object_get_flag(), CFAPI_POBJECT, cfapiObject_insert, cfapiObject_remove, FLAG_REMOVED, give::op, is_valid_types_gen::type, autojail::value, and python_pickup::where.
Referenced by Crossfire_Object_InsertInto().
Definition at line 1056 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_insert, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_CreateInside(), and eventListener().
Wrapper for do_learn_spell().
Definition at line 756 of file plugin_common.cpp.
References CFAPI_NONE, cfapiObject_learn_spell, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_LearnSpell().
Definition at line 531 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_move, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_Move(), and runmovement().
int cf_object_move_to | ( | object * | op, |
int | x, | ||
int | y | ||
) |
Wrapper for move_to(). Move an object one square toward a specified destination on the same map. The move takes into account blocked squares for op, and things like that. No check is done to know if the object has enough speed to move.
op | object to move |
x | |
y | destination coordinates |
Definition at line 630 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_transfer, give::op, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Crossfire_Object_MoveTo(), and runmoveto().
int cf_object_out_of_map | ( | object * | op, |
int | x, | ||
int | y | ||
) |
Definition at line 1035 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_out_of_map, give::op, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Crossfire_Object_GetOutOfMap().
int cf_object_pay_amount | ( | object * | pl, |
uint64_t | to_pay | ||
) |
Wrapper for pay_for_amount().
Definition at line 732 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_pay_amount, altar_valkyrie::pl, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_PayAmount().
Wrapper for pay_for_item().
Definition at line 720 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_pay_item, give::op, altar_valkyrie::pl, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_Pay().
int64_t cf_object_perm_exp | ( | object * | op | ) |
Wrapper for PERM_EXP macro.
Definition at line 515 of file plugin_common.cpp.
References CFAPI_SINT64, cfapiObject_perm_exp, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_PermExp().
Definition at line 1434 of file plugin_common.cpp.
References CFAPI_NONE, cfapiObject_pickup, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Object_Take(), runpickup(), and runpickupobject().
Kinda wrapper for arch_present_in_ob().
Definition at line 579 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_find_archetype_inside, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_CheckInventory().
int cf_object_query_money | ( | const object * | op | ) |
Wrapper for query_money().
Definition at line 983 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_query_money, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetMoney().
void cf_object_remove | ( | object * | op | ) |
Wrapper for object_remove(). This function removes the object op from the linked list of objects which it is currently tied to. When this function is done, the object will have no environment. If the object previously had an environment, the x and y coordinates will be updated to the previous environment.
Will inform the client of the removal if needed.
op | object to remove. Must not be removed yet, else abort() is called. |
Definition at line 562 of file plugin_common.cpp.
References cfapiObject_remove, give::op, and is_valid_types_gen::type.
Referenced by animate(), Crossfire_Object_InsertInto(), Crossfire_Object_Remove(), runghosted(), and start_animation().
int cf_object_remove_depletion | ( | object * | op, |
int | level | ||
) |
Wrapper for remove_depletion(). Remove depletion from op, if present, and warn player of such restorations.
op | who to remove depletion from. |
level | maximum depletion level to remove, if -1 no maximum. |
Definition at line 798 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_remove_depletion, give::op, rotate-tower::result, and is_valid_types_gen::type.
Referenced by Crossfire_Object_RemoveDepletion().
void cf_object_say | ( | object * | op, |
const char * | msg | ||
) |
Definition at line 1049 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_say, navar-midane_pickup::msg, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_Say(), and runsay().
int cf_object_set_animation | ( | object * | op, |
const char * | animation | ||
) |
Set the object's animation.
op | who to change the animation for. |
animation | animation's name to set. |
Definition at line 486 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_OBJECT_PROP_ANIMATION, cfapiObject_set_property, give::op, and is_valid_types_gen::type.
Referenced by Object_SetAnim().
int cf_object_set_face | ( | object * | op, |
const char * | face | ||
) |
Set the object's face.
op | who to change the face for. |
face | face to set. |
Definition at line 474 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_OBJECT_PROP_FACE, cfapiObject_set_property, give::op, and is_valid_types_gen::type.
Referenced by Object_SetFace().
void cf_object_set_flag | ( | object * | ob, |
int | flag, | ||
int | value | ||
) |
Definition at line 1288 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_FLAGS, cfapiObject_set_property, guildjoin::ob, is_valid_types_gen::type, and autojail::value.
Referenced by animate_one(), Object_SetFlagProperty(), and Object_SetPickable().
void cf_object_set_float_property | ( | object * | op, |
int | propcode, | ||
float | value | ||
) |
Definition at line 396 of file plugin_common.cpp.
References CFAPI_FLOAT, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_SetFloatProperty().
void cf_object_set_int64_property | ( | object * | op, |
int | propcode, | ||
int64_t | value | ||
) |
Definition at line 402 of file plugin_common.cpp.
References CFAPI_SINT64, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_SetExp().
void cf_object_set_int_property | ( | object * | op, |
int | propcode, | ||
int | value | ||
) |
Definition at line 329 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_SetIntProperty(), Player_SetBedX(), and Player_SetBedY().
int cf_object_set_key | ( | object * | op, |
const char * | keyname, | ||
const char * | value, | ||
int | add_key | ||
) |
Sets a value for specified key, equivalent to object_set_value().
op | object which will contain the key/value |
keyname | key |
value | value |
add_key | if 0, key is only updated if it exists, else it's updated or added. |
Definition at line 1659 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_set_key, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_WriteKey().
void cf_object_set_long_property | ( | object * | op, |
int | propcode, | ||
long | value | ||
) |
Definition at line 390 of file plugin_common.cpp.
References CFAPI_LONG, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_SetValue().
Definition at line 350 of file plugin_common.cpp.
References CFAPI_MOVETYPE, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_SetMoveAllow(), Object_SetMoveBlock(), Object_SetMoveOff(), Object_SetMoveOn(), Object_SetMoveSlow(), and Object_SetMoveType().
int cf_object_set_nrof | ( | object * | ob, |
int | nrof | ||
) |
Definition at line 1260 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_NROF, cfapiObject_set_property, guildjoin::ob, and is_valid_types_gen::type.
Referenced by Object_SetQuantity().
Definition at line 493 of file plugin_common.cpp.
References CFAPI_POBJECT, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Object_SetEnemy(), and Object_SetOwner().
void cf_object_set_resistance | ( | object * | op, |
int | rtype, | ||
int16_t | value | ||
) |
Definition at line 321 of file plugin_common.cpp.
References CFAPI_INT16, CFAPI_OBJECT_PROP_RESIST, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_SetResist().
void cf_object_set_string_property | ( | object * | op, |
int | propcode, | ||
const char * | value | ||
) |
Definition at line 456 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_ANIMATION, CFAPI_OBJECT_PROP_FACE, CFAPI_STRING, cfapiObject_set_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by eventListener(), get_newspaper_content(), Object_SetName(), Object_SetNamePl(), Object_SetStringProperty(), and Player_SetBedMap().
void cf_object_set_weight | ( | object * | ob, |
int | weight | ||
) |
Definition at line 1227 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_OBJECT_PROP_WEIGHT, cfapiObject_set_property, guildjoin::ob, and is_valid_types_gen::type.
void cf_object_set_weight_limit | ( | object * | ob, |
int | weight_limit | ||
) |
Definition at line 1234 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_OBJECT_PROP_WEIGHT_LIMIT, cfapiObject_set_property, guildjoin::ob, and is_valid_types_gen::type.
Wrapper for object_split().
Definition at line 697 of file plugin_common.cpp.
References CFAPI_NONE, CFAPI_POBJECT, cfapiObject_split, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_Split().
Definition at line 1360 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_teleport, disinfect::map, give::op, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Crossfire_Object_Teleport(), and runteleport().
Wrapper for transfer_ob(). Move an object (even linked objects) to another spot on the same map.
Does nothing if there is no free spot.
op | what to move. |
x | |
y | new coordinates. |
randomly | if true, use object_find_free_spot() to find the destination, otherwise use object_find_first_free_spot(). |
originator | what is causing op to move. |
1 | op was destroyed. |
0 | op was moved. |
Definition at line 618 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_transfer, give::op, is_valid_types_gen::type, autojail::value, diamondslots::x, and diamondslots::y.
Referenced by Crossfire_Object_Reposition().
void cf_object_update | ( | object * | op, |
int | flags | ||
) |
Definition at line 1428 of file plugin_common.cpp.
References cfapiObject_update, flags, give::op, and is_valid_types_gen::type.
Referenced by animate_one().
int cf_object_user_event | ( | object * | op, |
object * | activator, | ||
object * | third, | ||
const char * | message, | ||
int | fix | ||
) |
Definition at line 262 of file plugin_common.cpp.
References diamondslots::activator, CFAPI_INT, cfapiObject_user_event, diamondslots::message, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Object_Event().
partylist* cf_party_get_first | ( | void | ) |
Get first party.
Definition at line 1783 of file plugin_common.cpp.
References CFAPI_PARTY_PROP_NEXT, CFAPI_PPARTY, cfapiParty_get_property, is_valid_types_gen::type, and autojail::value.
Get first player in party.
party | party, mustn't be NULL. |
Definition at line 1846 of file plugin_common.cpp.
References CFAPI_PARTY_PROP_PLAYER, CFAPI_PPLAYER, cfapiParty_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Party_GetPlayers().
const char* cf_party_get_name | ( | partylist * | party | ) |
party | party, mustn't be NULL. |
Definition at line 1798 of file plugin_common.cpp.
References CFAPI_PARTY_PROP_NAME, CFAPI_SSTRING, cfapiParty_get_property, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Party_GetName().
Get next party in party list.
party | party, can be NULL in which case behaves like cf_party_get_first(). |
Definition at line 1814 of file plugin_common.cpp.
References CFAPI_PARTY_PROP_NEXT, CFAPI_PPARTY, cfapiParty_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Party_GetNext().
Get next player in party.
party | party, mustn't be NULL. |
op | player we want the next of. Can be NULL, in this case behaves like cf_party_get_first_player(). |
Definition at line 1864 of file plugin_common.cpp.
References CFAPI_PARTY_PROP_PLAYER, CFAPI_PPLAYER, cfapiParty_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Party_GetPlayers().
const char* cf_party_get_password | ( | partylist * | party | ) |
Get party's password.
party | party, mustn't be NULL. |
Definition at line 1830 of file plugin_common.cpp.
References CFAPI_PARTY_PROP_PASSWORD, CFAPI_SSTRING, cfapiParty_get_property, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Party_GetPassword().
int cf_player_arrest | ( | object * | who | ) |
Wrapper for player_arrest(). Put a player into jail, taking into account cursed exits and player's region.
who | player to put in jail |
0 | player was moved to jail. |
-1 | no jail found. |
-2 | couldn't move to jail (map loading error, or already at jail's position). |
-3 | op isn't a player. |
Definition at line 924 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_move, is_valid_types_gen::type, autojail::value, and autojail::who.
Referenced by Crossfire_Object_Arrest().
int cf_player_can_pay | ( | object * | pl | ) |
Wrapper for can_pay().
Definition at line 886 of file plugin_common.cpp.
References CFAPI_INT, cfapiPlayer_can_pay, altar_valkyrie::pl, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Player_CanPay().
player* cf_player_find | ( | const char * | plname | ) |
Wrapper for find_player_partial_name().
Definition at line 825 of file plugin_common.cpp.
References CFAPI_PPLAYER, cfapiPlayer_find, is_valid_types_gen::type, and autojail::value.
Referenced by findPlayer().
Definition at line 848 of file plugin_common.cpp.
References CFAPI_PLAYER_PROP_IP, CFAPI_SSTRING, cfapiObject_get_property, give::op, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Player_GetIP().
Definition at line 857 of file plugin_common.cpp.
References CFAPI_PLAYER_PROP_MARKED_ITEM, CFAPI_POBJECT, cfapiObject_get_property, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Player_GetMarkedItem().
Definition at line 872 of file plugin_common.cpp.
References cf_object_get_partylist_property(), CFAPI_PLAYER_PROP_PARTY, and give::op.
Referenced by Player_GetParty().
char* cf_player_get_title | ( | object * | op, |
char * | title, | ||
int | size | ||
) |
Definition at line 834 of file plugin_common.cpp.
References CFAPI_PLAYER_PROP_TITLE, CFAPI_STRING, cfapiObject_get_property, give::op, and is_valid_types_gen::type.
Referenced by Player_GetTitle().
void cf_player_knowledge_give | ( | object * | op, |
const char * | knowledge | ||
) |
Wrapper for knowledge_give();
op | who to give knowledge to. |
knowledge | knowledge to give, internal value. |
Definition at line 913 of file plugin_common.cpp.
References CFAPI_NONE, cfapiPlayer_knowledge, giveknowledge::knowledge, give::op, and is_valid_types_gen::type.
Referenced by Player_GiveKnowledge().
int cf_player_knowledge_has | ( | object * | op, |
const char * | knowledge | ||
) |
Wrapper for knowledge_player_has().
op | who to check knowledge for. |
knowledge | what to check for. |
Definition at line 900 of file plugin_common.cpp.
References CFAPI_INT, cfapiPlayer_knowledge, giveknowledge::knowledge, give::op, is_valid_types_gen::type, and autojail::value.
Referenced by Player_KnowledgeKnown().
void cf_player_message | ( | object * | op, |
const char * | txt, | ||
int | flags | ||
) |
Definition at line 787 of file plugin_common.cpp.
References CFAPI_NONE, cfapiPlayer_message, flags, give::op, and is_valid_types_gen::type.
Referenced by Crossfire_Player_Message(), and runnotice().
int cf_player_move | ( | player * | pl, |
int | dir | ||
) |
Definition at line 524 of file plugin_common.cpp.
References CFAPI_INT, cfapiObject_move, altar_valkyrie::pl, and is_valid_types_gen::type.
Referenced by runghosted(), and runmovement().
Definition at line 866 of file plugin_common.cpp.
References CFAPI_PLAYER_PROP_MARKED_ITEM, cfapiObject_set_property, guildjoin::ob, give::op, and is_valid_types_gen::type.
Referenced by Player_SetMarkedItem().
Definition at line 876 of file plugin_common.cpp.
References CFAPI_PLAYER_PROP_PARTY, cfapiObject_set_property, give::op, and is_valid_types_gen::type.
Referenced by Player_SetParty().
void cf_player_set_title | ( | object * | op, |
const char * | title | ||
) |
Definition at line 842 of file plugin_common.cpp.
References CFAPI_PLAYER_PROP_TITLE, cfapiObject_set_property, give::op, and is_valid_types_gen::type.
Referenced by Player_SetTitle().
char* cf_query_name | ( | object * | ob, |
char * | name, | ||
int | size | ||
) |
Definition at line 1201 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_NAME, CFAPI_STRING, cfapiObject_get_property, give::name, guildjoin::ob, and is_valid_types_gen::type.
Referenced by Crossfire_Object_QueryName(), and Object_GetName().
Definition at line 1209 of file plugin_common.cpp.
References CFAPI_OBJECT_PROP_NAME_PLURAL, CFAPI_SSTRING, cfapiObject_get_property, guildjoin::ob, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Object_GetNamePl().
Wrapper for quest_get_player_state(). Get the quest state for a player.
pl | player. |
quest_code | internal quest code. |
Definition at line 2051 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_PLAYER_QUEST_GET_STATE, cfapiPlayer_quest, altar_valkyrie::pl, and is_valid_types_gen::type.
Referenced by Player_QuestGetState().
Wrapper for quest_set_player_state(); Set the state of a quest for a player.
pl | player to set the state for. |
quest_code | quest internal code. |
state | new state for the quest, must be greater than 0 else forced to 100 and a warning is emitted. |
Definition at line 2075 of file plugin_common.cpp.
References CFAPI_NONE, CFAPI_PLAYER_QUEST_SET_STATE, cfapiPlayer_quest, altar_valkyrie::pl, dragon::state, and is_valid_types_gen::type.
Referenced by Player_QuestSetState().
Wrapper for quest_start(). Start a quest for a player. Will notify the player.
pl | player. |
quest_code | internal quest code. |
state | initial quest state, must be greater than 0 else forced to 100 and warning emitted. |
Definition at line 2064 of file plugin_common.cpp.
References CFAPI_NONE, CFAPI_PLAYER_QUEST_START, cfapiPlayer_quest, altar_valkyrie::pl, dragon::state, and is_valid_types_gen::type.
Referenced by Player_QuestStart().
Wrapper for quest_was_completed(). Check if a quest was completed once for a player, without taking account the current state.
pl | who to check for. |
quest_code | quest internal code. |
Definition at line 2086 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_PLAYER_QUEST_WAS_COMPLETED, cfapiPlayer_quest, altar_valkyrie::pl, and is_valid_types_gen::type.
Referenced by Player_QuestWasCompleted().
mapstruct* cf_random_map_generate | ( | const char * | OutFileName, |
RMParms * | RP, | ||
char ** | use_layout, | ||
sstring | reset_group | ||
) |
Wrapper for generate_random_map(). Main random map routine. Generates a random map based on specified parameters.
OutFileName | the path the map should have. |
RP | parameters for generation. |
use_layout | if not NULL, this should be a suitable layout. |
reset_group | if not NULL, the reset group this map will be part of, else the path will be used. |
Definition at line 1485 of file plugin_common.cpp.
References CFAPI_PMAP, cfapiGenerate_random_map, disinfect::map, and is_valid_types_gen::type.
int cf_random_map_set_variable | ( | RMParms * | rp, |
const char * | buf | ||
) |
Wrapper for set_random_map_variable().
Definition at line 1473 of file plugin_common.cpp.
References buf, CFAPI_INT, cfapiSet_random_map_variable, and is_valid_types_gen::type.
const char* cf_re_cmp | ( | const char * | str, |
const char * | regexp | ||
) |
Wrapper for re_cmp(). re-cmp - get regular expression match.
str | string that will be matched against the regexp. |
regexp | regular expression. |
Definition at line 1143 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_re_cmp, rotate-tower::result, make_face_from_files::str, and is_valid_types_gen::type.
Referenced by matchString().
region* cf_region_get_first | ( | void | ) |
Get first region in region list.
Definition at line 1878 of file plugin_common.cpp.
References CFAPI_PREGION, CFAPI_REGION_PROP_NEXT, cfapiRegion_get_property, is_valid_types_gen::type, and autojail::value.
const char* cf_region_get_jail_path | ( | region * | reg | ) |
Get jail path of region.
reg | region. Mustn't be NULL. |
Definition at line 2004 of file plugin_common.cpp.
References CFAPI_REGION_PROP_JAIL_PATH, CFAPI_SSTRING, cfapiRegion_get_property, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetJailPath().
int cf_region_get_jail_x | ( | region * | reg | ) |
Get region's jail x coordinate.
reg | region. Mustn't be NULL. |
Definition at line 1974 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_REGION_PROP_JAIL_X, cfapiRegion_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetJailX().
int cf_region_get_jail_y | ( | region * | reg | ) |
Get region's jail y coordinate.
reg | region. Mustn't be NULL. |
Definition at line 1989 of file plugin_common.cpp.
References CFAPI_INT, CFAPI_REGION_PROP_JAIL_Y, cfapiRegion_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetJailY().
const char* cf_region_get_longname | ( | region * | reg | ) |
Get longname of region.
reg | region. Mustn't be NULL. |
Definition at line 1942 of file plugin_common.cpp.
References CFAPI_REGION_PROP_LONGNAME, CFAPI_SSTRING, cfapiRegion_get_property, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetLongname().
const char* cf_region_get_message | ( | region * | reg | ) |
Get message of region.
reg | region. Mustn't be NULL. |
Definition at line 1958 of file plugin_common.cpp.
References CFAPI_REGION_PROP_MESSAGE, CFAPI_SSTRING, cfapiRegion_get_property, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetMessage().
const char* cf_region_get_name | ( | region * | reg | ) |
Get name of region.
reg | region. Mustn't be NULL. |
Definition at line 1894 of file plugin_common.cpp.
References CFAPI_REGION_PROP_NAME, CFAPI_SSTRING, cfapiRegion_get_property, sstring, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetName().
Get next region in region list.
reg | region. Can be NULL in which case equivalent of cf_region_get_first(). |
Definition at line 1910 of file plugin_common.cpp.
References CFAPI_PREGION, CFAPI_REGION_PROP_NEXT, cfapiRegion_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetNext().
Get parent of region.
reg | region. Mustn't be NULL. |
Definition at line 1926 of file plugin_common.cpp.
References CFAPI_PREGION, CFAPI_REGION_PROP_PARENT, cfapiRegion_get_property, is_valid_types_gen::type, and autojail::value.
Referenced by Crossfire_Region_GetParent().
Wrapper for spring_trap().
Definition at line 1005 of file plugin_common.cpp.
References cfapiObject_activate_rune, is_valid_types_gen::type, and sword_of_souls::victim.
Referenced by Crossfire_Object_ActivateRune().
char* cf_strdup_local | ( | const char * | str | ) |
Wrapper for strdup_local().
Definition at line 1446 of file plugin_common.cpp.
References CFAPI_STRING, cfapiSystem_strdup_local, make_face_from_files::str, and is_valid_types_gen::type.
Referenced by initnotice(), initsay(), initteleport(), and start_animation().
void cf_system_get_archetype_vector | ( | int | property, |
std::vector< archetype * > * | list | ||
) |
Definition at line 2128 of file plugin_common.cpp.
References CFAPI_ARCHETYPE_VECTOR, cfapiSystem_get_archetype_vector, guildoracle::list, and is_valid_types_gen::type.
Referenced by getArchetypes().
void cf_system_get_map_vector | ( | int | property, |
std::vector< mapstruct * > * | list | ||
) |
Definition at line 2122 of file plugin_common.cpp.
References CFAPI_MAP_VECTOR, cfapiSystem_get_map_vector, guildoracle::list, and is_valid_types_gen::type.
Referenced by getMaps().
void cf_system_get_object_vector | ( | int | property, |
std::vector< object * > * | list | ||
) |
Definition at line 2116 of file plugin_common.cpp.
References CFAPI_OBJECT_VECTOR, cfapiSystem_get_object_vector, guildoracle::list, and is_valid_types_gen::type.
Referenced by getFriendlyList(), and getPlayers().
void cf_system_get_party_vector | ( | int | property, |
std::vector< partylist * > * | list | ||
) |
Definition at line 2134 of file plugin_common.cpp.
References CFAPI_PARTY_VECTOR, cfapiSystem_get_party_vector, guildoracle::list, and is_valid_types_gen::type.
Referenced by getParties().
void cf_system_get_region_vector | ( | int | property, |
std::vector< region * > * | list | ||
) |
Definition at line 2140 of file plugin_common.cpp.
References CFAPI_REGION_VECTOR, cfapiSystem_get_region_vector, guildoracle::list, and is_valid_types_gen::type.
Referenced by getRegions().
command_registration cf_system_register_command | ( | const char * | name, |
command_function | func, | ||
uint8_t | command_type, | ||
float | time | ||
) |
Definition at line 2095 of file plugin_common.cpp.
References CFAPI_SINT64, cfapiSystem_register_command, give::name, and is_valid_types_gen::type.
command_registration cf_system_register_command_extra | ( | const char * | name, |
const char * | extra, | ||
command_function_extra | func, | ||
uint8_t | command_type, | ||
float | time | ||
) |
Definition at line 2103 of file plugin_common.cpp.
References CFAPI_SINT64, cfapiSystem_register_command, give::name, and is_valid_types_gen::type.
Referenced by registerCommand().
void cf_system_register_global_event | ( | int | event, |
const char * | name, | ||
f_plug_event | hook | ||
) |
Definition at line 1102 of file plugin_common.cpp.
References CFAPI_NONE, cfapiSystem_register_global_event, animate::event, give::name, and is_valid_types_gen::type.
Referenced by postInitPlugin(), and registerGEvent().
void cf_system_unregister_command | ( | command_registration | command | ) |
Definition at line 2111 of file plugin_common.cpp.
References cfapiSystem_unregister_command, devourers::command, and is_valid_types_gen::type.
Referenced by closePlugin().
void cf_system_unregister_global_event | ( | int | event, |
const char * | name | ||
) |
Definition at line 1109 of file plugin_common.cpp.
References CFAPI_NONE, cfapiSystem_unregister_global_event, animate::event, give::name, and is_valid_types_gen::type.
Referenced by unregisterGEvent().
int cf_timer_create | ( | object * | ob, |
long | delay, | ||
int | mode | ||
) |
Creates a timer, equivalent of calling cftimer_create().
ob | object that will get called. Should handle EVENT_TIMER. |
delay | delay, seconds or ticks. |
mode | timer mode, TIMER_MODE_SECONDS or TIMER_MODE_CYCLES |
Definition at line 1604 of file plugin_common.cpp.
References CFAPI_INT, cfapiSystem_timer_create, guildjoin::ob, and is_valid_types_gen::type.
Referenced by Crossfire_Object_CreateTimer().
int cf_timer_destroy | ( | int | id | ) |
Destroys specified timer, equivalent of calling cftimer_destroy().
id | timer to destroy |
Definition at line 1620 of file plugin_common.cpp.
References CFAPI_INT, cfapiSystem_timer_destroy, and is_valid_types_gen::type.
Referenced by destroyTimer().
|
static |
Definition at line 112 of file plugin_common.cpp.
Referenced by cf_archetype_get_clone(), cf_archetype_get_first(), cf_archetype_get_head(), cf_archetype_get_more(), cf_archetype_get_name(), cf_archetype_get_next(), and cf_init_plugin().
|
static |
Definition at line 125 of file plugin_common.cpp.
Referenced by cf_cost_string_from_value(), and cf_init_plugin().
|
static |
Definition at line 116 of file plugin_common.cpp.
Referenced by cf_friendlylist_get_first(), cf_friendlylist_get_next(), and cf_init_plugin().
|
static |
Definition at line 118 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_random_map_generate().
|
static |
Definition at line 102 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_map_change_light().
|
static |
Definition at line 100 of file plugin_common.cpp.
Referenced by cf_get_maps_directory(), and cf_init_plugin().
|
static |
Definition at line 99 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_map_find_by_archetype_name().
|
static |
Definition at line 96 of file plugin_common.cpp.
Referenced by cf_get_empty_map(), cf_init_plugin(), and cf_map_get_map().
|
static |
Definition at line 98 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_map_get_object_at().
|
static |
Definition at line 94 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_map_get_flags(), cf_map_get_int_property(), cf_map_get_map_property(), cf_map_get_region_property(), and cf_map_get_sstring_property().
|
static |
Definition at line 101 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_map_has_been_loaded().
|
static |
Definition at line 97 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_map_message().
|
static |
Definition at line 95 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_map_set_int_property(), and cf_map_set_string_property().
|
static |
Definition at line 103 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_map_trigger_connected().
|
static |
Definition at line 77 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_spring_trap().
|
static |
Definition at line 59 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_apply().
|
static |
Definition at line 111 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_apply_below().
|
static |
Definition at line 80 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_cast_spell().
|
static |
Definition at line 92 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_change_abil().
|
static |
Definition at line 119 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_change_exp().
|
static |
Definition at line 83 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_check_for_spell().
|
static |
Definition at line 78 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_check_trigger().
|
static |
Definition at line 75 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 68 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_clone().
|
static |
Definition at line 69 of file plugin_common.cpp.
Referenced by cf_create_object(), cf_create_object_by_name(), and cf_init_plugin().
|
static |
Definition at line 67 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_free_drop_inventory().
|
static |
Definition at line 61 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 73 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 62 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 91 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_drop().
|
static |
Definition at line 87 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_present_archname_inside().
|
static |
Definition at line 88 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_find_by_arch_name().
|
static |
Definition at line 89 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_find_by_name().
|
static |
Definition at line 63 of file plugin_common.cpp.
Referenced by cf_fix_object(), and cf_init_plugin().
|
static |
Definition at line 82 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_forget_spell().
|
static |
Definition at line 108 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_get_key().
|
static |
Definition at line 57 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_object_get_archetype_property(), cf_object_get_double_property(), cf_object_get_flag(), cf_object_get_float_property(), cf_object_get_int64_property(), cf_object_get_int_property(), cf_object_get_long_property(), cf_object_get_map_property(), cf_object_get_movetype_property(), cf_object_get_msg(), cf_object_get_nrof(), cf_object_get_object_property(), cf_object_get_partylist_property(), cf_object_get_resistance(), cf_object_get_sstring_property(), cf_object_get_string_property(), cf_object_get_weight(), cf_object_get_weight_limit(), cf_player_get_ip(), cf_player_get_marked_item(), cf_player_get_title(), cf_query_name(), and cf_query_name_pl().
|
static |
Definition at line 64 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 60 of file plugin_common.cpp.
Referenced by cf_identify(), and cf_init_plugin().
|
static |
Definition at line 70 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_map_insert_object(), cf_map_insert_object_around(), cf_map_insert_object_there(), cf_object_insert_in_ob(), and cf_object_insert_object().
|
static |
Definition at line 81 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_learn_spell().
|
static |
Definition at line 72 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 110 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_object_move(), cf_player_arrest(), and cf_player_move().
|
static |
Definition at line 90 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_out_of_map().
|
static |
Definition at line 84 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_pay_amount().
|
static |
Definition at line 85 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_pay_item().
|
static |
Definition at line 129 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_perm_exp().
|
static |
Definition at line 107 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_pickup().
|
static |
Definition at line 79 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_query_money().
|
static |
Definition at line 66 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_object_insert_in_ob(), and cf_object_remove().
|
static |
Definition at line 127 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_remove_depletion().
|
static |
Definition at line 76 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 93 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_say().
|
static |
Definition at line 109 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_set_key().
|
static |
Definition at line 58 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_object_set_animation(), cf_object_set_face(), cf_object_set_flag(), cf_object_set_float_property(), cf_object_set_int64_property(), cf_object_set_int_property(), cf_object_set_long_property(), cf_object_set_movetype_property(), cf_object_set_nrof(), cf_object_set_object_property(), cf_object_set_resistance(), cf_object_set_string_property(), cf_object_set_weight(), cf_object_set_weight_limit(), cf_player_set_marked_item(), cf_player_set_party(), and cf_player_set_title().
|
static |
Definition at line 71 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_split().
|
static |
Definition at line 106 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_teleport().
|
static |
Definition at line 86 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_object_change_map(), cf_object_move_to(), and cf_object_transfer().
|
static |
Definition at line 65 of file plugin_common.cpp.
Referenced by cf_init_plugin().
|
static |
Definition at line 74 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_update().
|
static |
Definition at line 124 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_object_user_event().
|
static |
Definition at line 113 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_party_get_first(), cf_party_get_first_player(), cf_party_get_name(), cf_party_get_next(), cf_party_get_next_player(), and cf_party_get_password().
|
static |
Definition at line 115 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_player_can_pay().
|
static |
Definition at line 104 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_player_find().
|
static |
Definition at line 128 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_player_knowledge_give(), and cf_player_knowledge_has().
|
static |
Definition at line 105 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_player_message().
|
static |
Definition at line 126 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_quest_get_player_state(), cf_quest_set_player_state(), cf_quest_start(), and cf_quest_was_completed().
|
static |
Definition at line 114 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_region_get_first(), cf_region_get_jail_path(), cf_region_get_jail_x(), cf_region_get_jail_y(), cf_region_get_longname(), cf_region_get_message(), cf_region_get_name(), cf_region_get_next(), and cf_region_get_parent().
|
static |
Definition at line 117 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_random_map_set_variable().
|
static |
Definition at line 42 of file plugin_common.cpp.
Referenced by cf_add_string(), and cf_init_plugin().
|
static |
Definition at line 54 of file plugin_common.cpp.
Referenced by cf_get_directory(), and cf_init_plugin().
|
static |
Definition at line 48 of file plugin_common.cpp.
Referenced by cf_find_animation(), and cf_init_plugin().
|
static |
Definition at line 49 of file plugin_common.cpp.
Referenced by cf_find_face(), and cf_init_plugin().
|
static |
Definition at line 43 of file plugin_common.cpp.
Referenced by cf_find_string(), and cf_init_plugin().
|
static |
Definition at line 134 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_get_archetype_vector().
|
static |
Definition at line 133 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_get_map_vector().
|
static |
Definition at line 120 of file plugin_common.cpp.
Referenced by cf_get_month_name(), and cf_init_plugin().
|
static |
Definition at line 132 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_get_object_vector().
|
static |
Definition at line 136 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_get_party_vector().
|
static |
Definition at line 123 of file plugin_common.cpp.
Referenced by cf_get_periodofday_name(), and cf_init_plugin().
|
static |
Definition at line 135 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_get_region_vector().
|
static |
Definition at line 121 of file plugin_common.cpp.
Referenced by cf_get_season_name(), and cf_init_plugin().
|
static |
Definition at line 51 of file plugin_common.cpp.
Referenced by cf_get_time(), and cf_init_plugin().
|
static |
Definition at line 122 of file plugin_common.cpp.
Referenced by cf_get_weekday_name(), and cf_init_plugin().
|
static |
Definition at line 50 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_log(), and cf_log_plain().
|
static |
Definition at line 55 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_re_cmp().
|
static |
Definition at line 130 of file plugin_common.cpp.
Referenced by cf_init_plugin(), cf_system_register_command(), and cf_system_register_command_extra().
|
static |
Definition at line 44 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_register_global_event().
|
static |
Definition at line 45 of file plugin_common.cpp.
Referenced by cf_free_string(), and cf_init_plugin().
|
static |
Definition at line 47 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_strdup_local().
|
static |
Definition at line 52 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_timer_create().
|
static |
Definition at line 53 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_timer_destroy().
|
static |
Definition at line 131 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_unregister_command().
|
static |
Definition at line 46 of file plugin_common.cpp.
Referenced by cf_init_plugin(), and cf_system_unregister_global_event().