Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <config.h>
#include "unit_factory.h"
#include "unit.h"
#include "nebula.h"
#include "missile.h"
#include "enhancement.h"
#include "planet.h"
#include "asteroid.h"
#include "building.h"
#include "terrain.h"
#include "cont_terrain.h"
Go to the source code of this file.
Functions | |
std::string | getMasterPartListUnitName () |
void | KillDuplicateUnits (ObjSerial likeSerial) |
std::string getMasterPartListUnitName | ( | ) |
Definition at line 33 of file unit_factory.cpp.
References VegaConfig::getVariable(), and vs_config.
void KillDuplicateUnits | ( | ObjSerial | likeSerial) |
Definition at line 39 of file unit_factory.cpp.
References _Universe, Universe::activeStarSystem(), UnitCollection::createIterator(), StarSystem::getUnitList(), Unit::Kill(), Network, and SERVER.
Referenced by UnitFactory::createAsteroid(), UnitFactory::createMissile(), UnitFactory::createNebula(), and UnitFactory::createUnit().