Searched refs:idex_city_hash (Results 1 – 2 of 2) sorted by relevance
/dports/games/freeciv/freeciv-2.6.6/common/ |
H A D | idex.c | 56 static struct city_hash *idex_city_hash = NULL; variable 64 fc_assert_ret(idex_city_hash == NULL); in idex_init() 67 idex_city_hash = city_hash_new(); in idex_init() 76 city_hash_destroy(idex_city_hash); in idex_free() 77 idex_city_hash = NULL; in idex_free() 91 city_hash_replace_full(idex_city_hash, pcity->id, pcity, NULL, &old); in idex_register_city() 121 city_hash_remove_full(idex_city_hash, pcity->id, NULL, &old); in idex_unregister_city() 157 city_hash_lookup(idex_city_hash, id, &pcity); in idex_lookup_city()
|
/dports/games/freeciv-nox11/freeciv-2.6.6/common/ |
H A D | idex.c | 56 static struct city_hash *idex_city_hash = NULL; variable 64 fc_assert_ret(idex_city_hash == NULL); in idex_init() 67 idex_city_hash = city_hash_new(); in idex_init() 76 city_hash_destroy(idex_city_hash); in idex_free() 77 idex_city_hash = NULL; in idex_free() 91 city_hash_replace_full(idex_city_hash, pcity->id, pcity, NULL, &old); in idex_register_city() 121 city_hash_remove_full(idex_city_hash, pcity->id, NULL, &old); in idex_unregister_city() 157 city_hash_lookup(idex_city_hash, id, &pcity); in idex_lookup_city()
|