Home
last modified time | relevance | path

Searched refs:shipdef (Results 1 – 18 of 18) sorted by relevance

/dports/games/pioneer/pioneer-20210723/data/modules/SearchRescue/
H A DSearchRescue.lua579 for i,shipdef in pairs(shipdefs) do
583 for i,shipdef in pairs(shipdefs) do
588 for i,shipdef in pairs(shipdefs) do
594 for i,shipdef in pairs(shipdefs) do
595 if shipdef.maxCrew < 2 or shipdef.minCrew < 2 then shipdefs[i] = nil end
598 for i,shipdef in pairs(shipdefs) do
604 for i,shipdef in pairs(shipdefs) do
651 crew_num = rand:Integer(shipdef.minCrew,shipdef.maxCrew)
655 if shipdef.maxCrew == 2 then
670 crew_num = rand:Integer(shipdef.minCrew,shipdef.maxCrew)
[all …]
/dports/games/pioneer/pioneer-20210723/data/modules/
H A DPirates.lua28 local shipdef = shipdefs[Engine.rand:Integer(1,#shipdefs)]
29 local default_drive = Equipment.hyperspace['hyperdrive_'..tostring(shipdef.hyperdriveClass)]
37 local max_laser_size = shipdef.capacity - default_drive.capabilities.mass
44 local ship = Space.SpawnShip(shipdef.id, 8, 12)
/dports/games/pioneer/pioneer-20210723/src/
H A DPi.cpp1280 const ShipType *shipdef = &(iter.second);
1281 SceneGraph::Model *model = Pi::FindModel(shipdef->modelName, false);
1283 double hullmass = shipdef->hullMass;
1284 double capacity = shipdef->capacity;
1301 double acc1 = shipdef->linThrust[Thruster::THRUSTER_FORWARD] / (9.81 * simass);
1302 double acc2 = shipdef->linThrust[Thruster::THRUSTER_REVERSE] / (9.81 * simass);
1303 double acc3 = shipdef->linThrust[Thruster::THRUSTER_UP] / (9.81 * simass);
1304 double acc4 = shipdef->linThrust[Thruster::THRUSTER_RIGHT] / (9.81 * simass);
1305 double acca = shipdef->angThrust / angInertia;
1306 double exvel = shipdef->effectiveExhaustVelocity;
[all …]
/dports/games/pioneer/pioneer-20210723/data/modules/Combat/
H A DCombat.lua342 local shipdef = shipdefs[Engine.rand:Integer(1, #shipdefs)]
343 local default_drive = Equipment.hyperspace["hyperdrive_" .. tostring(shipdef.hyperdriveClass)]
345 local max_laser_size = shipdef.capacity - default_drive.capabilities.mass
356 …ship = Space.SpawnShipOrbit(shipdef.id, player.frameBody, 1.2 * planet_radius, 3.5 * planet_radius)
358 …ship = Space.SpawnShipLanded(shipdef.id, player.frameBody, math.rad(Engine.rand:Number(360)), math…
433 local shipdef = shipdefs[Engine.rand:Integer(1, #shipdefs)]
435 local ship = Space.SpawnShipNear(shipdef.id, Game.player, 50, 100)
437 ship:AddEquip(Equipment.hyperspace["hyperdrive_" .. tostring(shipdef.hyperdriveClass)])
/dports/games/pioneer/pioneer-20210723/data/modules/PolicePatrol/
H A DPolicePatrol.lua138 local shipdef = ShipDef[system.faction.policeShip]
141 ship = Space.SpawnShipNear(shipdef.id, player, 50, 100)
/dports/games/pioneer/pioneer-20210723/data/modules/Rondel/
H A DRondel.lua151 local shipdef = ShipDef[system.faction.policeShip]
153 ship = Space.SpawnShipNear(shipdef.id, player, 50, 100)
/dports/games/pioneer/pioneer-20210723/data/modules/DeliverPackage/
H A DDeliverPackage.lua381 local shipdef = shipdefs[Engine.rand:Integer(1,#shipdefs)]
382 local default_drive = Equipment.hyperspace['hyperdrive_'..tostring(shipdef.hyperdriveClass)]
384 local max_laser_size = shipdef.capacity - default_drive.capabilities.mass
391 ship = Space.SpawnShipNear(shipdef.id, Game.player, 50, 100)
/dports/games/pioneer/pioneer-20210723/data/modules/Taxi/
H A DTaxi.lua347 local shipdef = shipdefs[Engine.rand:Integer(1,#shipdefs)]
348 local default_drive = eq.hyperspace['hyperdrive_'..tostring(shipdef.hyperdriveClass)]
350 local max_laser_size = shipdef.capacity - default_drive.capabilities.mass
357 ship = Space.SpawnShipNear(shipdef.id, Game.player, 50, 100)
/dports/games/pioneer/pioneer-20210723/data/modules/Scoop/
H A DScoop.lua219 local shipdef = ShipDef[Game.system.faction.policeShip]
222 ship = Space.SpawnShipDocked(shipdef.id, station)
260 local shipdef = shipdefs[Engine.rand:Integer(1, #shipdefs)]
272 local ship = Space.SpawnShipOrbit(shipdef.id, Space.GetBody(star:GetSystemBody().index), min, max)
275 ship:AddEquip(Equipment.hyperspace["hyperdrive_" .. shipdef.hyperdriveClass])
/dports/games/pioneer/pioneer-20210723/data/modules/CargoRun/
H A DCargoRun.lua736 local shipdef = shipdefs[Engine.rand:Integer(1,#shipdefs)]
737 local default_drive = Equipment.hyperspace['hyperdrive_'..tostring(shipdef.hyperdriveClass)]
739 local max_laser_size = shipdef.capacity - default_drive.capabilities.mass
746 pirate = Space.SpawnShipNear(shipdef.id, Game.player, 50, 100)
761 local shipdef = ShipDef[Game.system.faction.policeShip]
762 local escort = Space.SpawnShipNear(shipdef.id, Game.player, 50, 100)
/dports/games/pioneer/pioneer-20210723/data/modules/Assassination/
H A DAssassination.lua179 local shipdef = shipdefs[Engine.rand:Integer(1,#shipdefs)]
180 local shipid = shipdef.id
181 local shipname = shipdef.name
/dports/games/wolfpack/empire-4.4.1/src/lib/subs/
H A Dfortdef.c59 shipdef(natid att, natid own, coord x, coord y) in shipdef() function
H A Dattsub.c616 if (!(dam = shipdef(player->cnum, def->own, def->x, def->y))) in att_approach()
/dports/games/netrek-client-cow/netrek-client-cow-3.3.2/
H A Ddefaults.c46 struct shipdef shipdefaults[NUM_TYPES + 1] =
60 struct shipdef *myshipdef = &shipdefaults[DEFAULTSHIP];
H A Dstruct.h636 struct shipdef struct
H A Dinput.c380 extern struct shipdef *myshipdef;
/dports/games/wolfpack/empire-4.4.1/include/
H A Dprototypes.h426 extern int shipdef(natid, natid, coord, coord);
/dports/games/editss/editss-2.2/
H A Dactions.c102 char shipdef[MAXSHIPLEN]; in a_psout() local