Freeciv21
Develop your civilization from humble roots to a global empire
capability.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool has_capability (const char *cap, const char *capstr)
 Wrapper for fc_has_capability() for nullptr terminated strings. More...
 
bool has_capabilities (const char *us, const char *them)
 This routine returns true if all the mandatory capabilities in us appear in them. More...
 

Function Documentation

◆ has_capabilities()

bool has_capabilities ( const char *  us,
const char *  them 
)

◆ has_capability()

bool has_capability ( const char *  cap,
const char *  capstr 
)

Wrapper for fc_has_capability() for nullptr terminated strings.

Definition at line 71 of file capability.cpp.

Referenced by compat_load_020400(), handle_player_info(), packet_handlers_get(), rscompat_optional_capabilities(), and sg_load_map().