/dports/games/pioneer/pioneer-20210723/data/modules/SearchRescue/ |
H A D | SearchRescue.lua | 579 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 D | Pirates.lua | 28 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 D | Pi.cpp | 1280 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 D | Combat.lua | 342 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 D | PolicePatrol.lua | 138 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 D | Rondel.lua | 151 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 D | DeliverPackage.lua | 381 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 D | Taxi.lua | 347 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 D | Scoop.lua | 219 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 D | CargoRun.lua | 736 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 D | Assassination.lua | 179 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 D | fortdef.c | 59 shipdef(natid att, natid own, coord x, coord y) in shipdef() function
|
H A D | attsub.c | 616 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 D | defaults.c | 46 struct shipdef shipdefaults[NUM_TYPES + 1] = 60 struct shipdef *myshipdef = &shipdefaults[DEFAULTSHIP];
|
H A D | struct.h | 636 struct shipdef struct
|
H A D | input.c | 380 extern struct shipdef *myshipdef;
|
/dports/games/wolfpack/empire-4.4.1/include/ |
H A D | prototypes.h | 426 extern int shipdef(natid, natid, coord, coord);
|
/dports/games/editss/editss-2.2/ |
H A D | actions.c | 102 char shipdef[MAXSHIPLEN]; in a_psout() local
|