Пример #1
0
  void search()
  {
    if (searched)
      return;
    searched = true;

    Node *start_node = new (node_pool.malloc()) Node(domain.get_start_state(),
                                                     0,
                                                     0);
    domain.compute_heuristic(*start_node);
    goal = idastar_search(start_node);
  }
Пример #2
0
void *PickupGrantUpdate::operator new(size_t aSize)
{
	return killpool.malloc();
}
Пример #3
0
void *Pickup::operator new(size_t aSize)
{
	return pool.malloc();
}
Пример #4
0
void *Weapon::operator new(size_t aSize)
{
	return pool.malloc();
}
Пример #5
0
void *Collidable::operator new(size_t aSize)
{
	return pool.malloc();
}
Пример #6
0
void *VarCommand::operator new(size_t aSize)
{
	return varcommandpool.malloc();
}
Пример #7
0
void *Spawner::operator new(size_t aSize)
{
	return pool.malloc();
}
Пример #8
0
void *VarScope::operator new(size_t aSize)
{
	return varscopepool.malloc();
}
Пример #9
0
void *VarString::operator new(size_t aSize)
{
	return varstringpool.malloc();
}
Пример #10
0
void *VarFloat::operator new(size_t aSize)
{
	return varfloatpool.malloc();
}
Пример #11
0
void *VarInteger::operator new(size_t aSize)
{
	return varintegerpool.malloc();
}
Пример #12
0
void* SimpleParticle::operator new(size_t count)
{
	assert(count <= sizeof(SimpleParticle));
	return particlePool.malloc();
}