Crossfire Server, Branch 1.12
R12190
|
This is the unit tests file for the bug #1727944: The horn of plenty location: http://sourceforge.net/tracker/index.php?func=detail&aid=1727944&group_id=13833&atid=113833. More...
Go to the source code of this file.
Functions | |
END_TEST Suite * | bug_suite (void) |
static void | local_check_loaded_object (object *op) |
int | main (void) |
void | setup (void) |
START_TEST (test_randommaps) | |
void | teardown (void) |
Variables | |
int | arch_init |
True if doing arch initialization. | |
int | artifact_init |
1 if doing archetypes initialization | |
const char *const | spell_mapping [] |
This is the unit tests file for the bug #1727944: The horn of plenty location: http://sourceforge.net/tracker/index.php?func=detail&aid=1727944&group_id=13833&atid=113833.
I did try different combos to generate an empty horn, so far no success...
Definition in file check_1727944.c.
END_TEST Suite* bug_suite | ( | void | ) |
Definition at line 423 of file check_1727944.c.
References setup(), and teardown().
Referenced by main().
static void local_check_loaded_object | ( | object * | op | ) | [static] |
Definition at line 188 of file check_1727944.c.
References add_string(), ALTAR, AMULET, ARMOUR, BOOTS, BOW, BRACERS, calc_item_power(), can_merge(), CLOAK, CONVERTER, copy_object(), create_archetype(), create_archetype_by_object_name(), CREATOR, FABS, FIREWALL, FLAG_CONTENT_ON_GEN, FLAG_GENERATOR, flag_inv(), FLAG_IS_A_TEMPLATE, FLAG_MONSTER, free_string(), get_archetype_struct(), GIRDLE, GLOVES, HELMET, HORN, insert_ob_in_ob(), IS_WEAPON, llevDebug, llevError, LOG(), MIN_ACTIVE_SPEED, POTION, QUERY_FLAG, RING, ROD, RUNE, SCROLL, set_materialname(), SHIELD, SPELLBOOK, update_ob_speed(), WAND, and WEAPON.
Referenced by START_TEST().
int main | ( | void | ) |
Definition at line 437 of file check_1727944.c.
References bug_suite(), and init().
void setup | ( | void | ) |
Definition at line 38 of file check_1727944.c.
Referenced by alchemy_suite(), anim_suite(), apply_suite(), arch_suite(), attack_suite(), ban_suite(), bug_suite(), build_map_suite(), button_suite(), c_chat_suite(), c_misc_suite(), c_move_suite(), c_new_suite(), c_object_suite(), c_party_suite(), c_range_suite(), c_wiz_suite(), comet_suite(), commands_suite(), daemon_suite(), decor_suite(), disease_suite(), door_suite(), egoitem_suite(), exit_suite(), exp_suite(), expand2x_suite(), floor_suite(), friend_suite(), glue_suite(), gods_suite(), hiscore_suite(), holy_suite(), image_suite(), info_suite(), init_suite(), item_suite(), links_suite(), living_suite(), loader_suite(), logger_suite(), login_suite(), loop_suite(), los_suite(), lowlevel_suite(), main_suite(), map_suite(), maze_gen_suite(), metaserver_suite(), monster_suite(), move_suite(), object_suite(), path_suite(), pets_suite(), player_suite(), plugins_suite(), porting_suite(), random_map_suite(), re_cmp_suite(), readable_suite(), reader_suite(), recipe_suite(), region_suite(), request_suite(), resurrection_suite(), rogue_layout_suite(), room_gen_onion_suite(), room_gen_spiral_suite(), rune_suite(), shop_suite(), shstr_suite(), skill_util_suite(), skills_suite(), snake_suite(), sounds_suite(), special_suite(), spell_attack_suite(), spell_effect_suite(), spell_util_suite(), square_spiral_suite(), standalone_suite(), style_suite(), swamp_suite(), swap_suite(), test_suite(), time_suite(), timers_suite(), treasure_suite(), utils_suite(), wall_suite(), weather_suite(), and win32_suite().
START_TEST | ( | test_randommaps | ) |
Definition at line 347 of file check_1727944.c.
References arch_to_object(), create_archetype(), delete_map(), mapdef::difficulty, find_archetype(), find_treasurelist(), fix_auto_apply(), generate_artifact(), get_empty_map(), GET_MAP_OB, HORN, insert_ob_in_map_at(), local_check_loaded_object(), MAP_PLAYER_UNIQUE, ready_map_name(), save_map(), and SAVE_MODE_OVERLAY.
void teardown | ( | void | ) |
Definition at line 42 of file check_1727944.c.
Referenced by alchemy_suite(), anim_suite(), apply_suite(), arch_suite(), attack_suite(), ban_suite(), bug_suite(), build_map_suite(), button_suite(), c_chat_suite(), c_misc_suite(), c_move_suite(), c_new_suite(), c_object_suite(), c_party_suite(), c_range_suite(), c_wiz_suite(), comet_suite(), commands_suite(), daemon_suite(), decor_suite(), disease_suite(), door_suite(), egoitem_suite(), exit_suite(), exp_suite(), expand2x_suite(), floor_suite(), friend_suite(), glue_suite(), gods_suite(), hiscore_suite(), holy_suite(), image_suite(), info_suite(), init_suite(), item_suite(), links_suite(), living_suite(), loader_suite(), logger_suite(), login_suite(), loop_suite(), los_suite(), lowlevel_suite(), main_suite(), map_suite(), maze_gen_suite(), metaserver_suite(), monster_suite(), move_suite(), object_suite(), path_suite(), pets_suite(), player_suite(), plugins_suite(), porting_suite(), random_map_suite(), re_cmp_suite(), readable_suite(), reader_suite(), recipe_suite(), region_suite(), request_suite(), resurrection_suite(), rogue_layout_suite(), room_gen_onion_suite(), room_gen_spiral_suite(), rune_suite(), shop_suite(), shstr_suite(), skill_util_suite(), skills_suite(), snake_suite(), sounds_suite(), special_suite(), spell_attack_suite(), spell_effect_suite(), spell_util_suite(), square_spiral_suite(), standalone_suite(), style_suite(), swamp_suite(), swap_suite(), test_suite(), time_suite(), timers_suite(), treasure_suite(), utils_suite(), wall_suite(), weather_suite(), and win32_suite().
int arch_init |
True if doing arch initialization.
Definition at line 54 of file arch.c.
Referenced by init_archetypes(), and update_ob_speed().
int artifact_init |
1 if doing archetypes initialization
Definition at line 61 of file treasure.c.
Referenced by init_artifacts().
const char* const spell_mapping[] |