Lines Matching refs:tunnels_used
54 unsigned int tunnels_used, tunnels_size;
515 world.tunnels_used = world.tunnels_size = 0;
523 if(world.tunnels_used < max_tunnels)
526 for(loop = 0; loop < world.tunnels_used; loop++)
545 if((world.tunnels_used < max_tunnels) && (selector_get_listener(
554 "%d\n", world.tunnels_used);
561 while(loop < world.tunnels_used) {
588 world.tunnels_used);
930 if(world->tunnels_used < world->tunnels_size)
937 if(world->tunnels_used > 0)
939 world->tunnels_used * sizeof(tunala_item_t));
962 item = world->tunnels + (world->tunnels_used++);
986 tunala_world_del_item(world, world->tunnels_used - 1);
1006 if(idx + 1 < world->tunnels_used)
1010 (world->tunnels_used - (idx + 1)) *
1012 world->tunnels_used--;