Freeciv-3.1
|
#include "support.h"
Go to the source code of this file.
Functions | |
bool | has_capability (const char *cap, const char *capstr) |
bool | has_capabilities (const char *us, const char *them) |
bool has_capabilities | ( | const char * | us, |
const char * | them | ||
) |
This routine returns TRUE if all the mandatory capabilities in us appear in them.
Definition at line 86 of file capability.c.
Referenced by check_audiofile_capstr(), check_themespec_capabilities(), check_tilespec_capabilities(), download_modpack_list(), download_modpack_recursive(), handle_login_request(), load_install_info_list(), rscompat_check_capabilities(), savegame_load(), sg_load_savefile(), theme_read_toplevel(), and tileset_read_toplevel().
bool has_capability | ( | const char * | cap, |
const char * | capstr | ||
) |
Wrapper for fc_has_capability() for NULL terminated strings.
Definition at line 77 of file capability.c.
Referenced by compat_load_020400(), diplomat_investigate(), handle_city_buy(), handle_city_change(), handle_city_change_specialist(), handle_city_info(), handle_city_make_specialist(), handle_city_make_worker(), handle_city_name_suggestion_info(), handle_city_name_suggestion_req(), handle_city_nationalities(), handle_city_options_req(), handle_city_rally_point(), handle_city_rally_point(), handle_city_refresh(), handle_city_remove(), handle_city_rename(), handle_city_sabotage_list(), handle_city_sell(), handle_city_short_info(), handle_city_worklist(), handle_edit_city(), handle_edit_city_remove(), handle_edit_unit(), handle_edit_unit_remove_by_id(), handle_investigate_started(), handle_ruleset_control(), handle_tile_info(), handle_trade_route_info(), handle_unit_action_answer(), handle_unit_action_query(), handle_unit_actions(), handle_unit_change_activity(), handle_unit_combat_info(), handle_unit_do_action(), handle_unit_get_actions(), handle_unit_orders(), handle_unit_remove(), handle_unit_server_side_agent_set(), handle_unit_short_info(), handle_unit_sscs_set(), handle_worker_task(), handle_worker_task(), packet_handlers_fill_capability(), packet_handlers_fill_initial(), packet_handlers_get(), sg_load_map(), unpackage_short_unit(), and unpackage_unit().