Lines Matching refs:tunnels_used
66 unsigned int tunnels_used, tunnels_size;
562 world.tunnels_used = world.tunnels_size = 0;
570 if (world.tunnels_used < max_tunnels)
573 for (loop = 0; loop < world.tunnels_used; loop++)
591 if ((world.tunnels_used < max_tunnels)
600 "%d\n", world.tunnels_used);
609 while (loop < world.tunnels_used) {
639 world.tunnels_used);
991 if (world->tunnels_used < world->tunnels_size)
998 if (world->tunnels_used > 0)
1000 world->tunnels_used * sizeof(tunala_item_t));
1024 item = world->tunnels + (world->tunnels_used++);
1051 tunala_world_del_item(world, world->tunnels_used - 1);
1071 if (idx + 1 < world->tunnels_used)
1075 (world->tunnels_used - (idx + 1)) * sizeof(tunala_item_t));
1076 world->tunnels_used--;