Searched refs:test_inventory_screen (Results 1 – 1 of 1) sorted by relevance
400 short mod_value, index, current_inventory_screen, section_count, test_inventory_screen = 0; in scroll_inventory() local417 test_inventory_screen= (current_inventory_screen+index)%mod_value; in scroll_inventory()419 assert(test_inventory_screen>=0 && test_inventory_screen<NUMBER_OF_ITEM_TYPES+1); in scroll_inventory()420 if(test_inventory_screen != NUMBER_OF_ITEM_TYPES) in scroll_inventory()422 calculate_player_item_array(current_player_index, test_inventory_screen, in scroll_inventory()431 current_inventory_screen= test_inventory_screen; in scroll_inventory()436 test_inventory_screen= (current_inventory_screen+index)%mod_value; in scroll_inventory()438 assert(test_inventory_screen>=0 && test_inventory_screen<NUMBER_OF_ITEM_TYPES+1); in scroll_inventory()439 if(test_inventory_screen != NUMBER_OF_ITEM_TYPES) in scroll_inventory()441 calculate_player_item_array(current_player_index, test_inventory_screen, in scroll_inventory()[all …]