/dports/games/uqm/uqm-0.8.0/src/uqm/ |
H A D | globdata.c | 292 GLOBAL_SIS (ElementAmounts[COMMON]) = 0; in InitGameStructures() 298 GLOBAL_SIS (ElementAmounts[NOBLE]) = 0; in InitGameStructures() 306 GLOBAL_SIS (ElementAmounts[EXOTIC]) = 0; in InitGameStructures() 310 GLOBAL_SIS (DriveSlots[5]) = in InitGameStructures() 314 GLOBAL_SIS (JetSlots[0]) = in InitGameStructures() 319 GLOBAL_SIS (ModuleSlots[2]) = CREW_POD; in InitGameStructures() 322 GLOBAL_SIS (ModuleSlots[1]) = FUEL_TANK; in InitGameStructures() 335 GLOBAL_SIS (ResUnits) = 0; in InitGameStructures() 347 GLOBAL_SIS (NumLanders) = 1; in InitGameStructures() 349 utf8StringCopy (GLOBAL_SIS (ShipName), sizeof (GLOBAL_SIS (ShipName)), in InitGameStructures() [all …]
|
H A D | outfit.c | 109 for (GLOBAL_SIS (FuelOnBoard) = FUEL_RESERVE; in RedistributeFuel() 114 if (GLOBAL_SIS (FuelOnBoard) < FuelVolume) in RedistributeFuel() 135 GLOBAL_SIS (FuelOnBoard) = FuelVolume; in RedistributeFuel() 160 for (i = 0; i < GLOBAL_SIS (NumLanders); ++i) in DisplayLanders() 250 if (GLOBAL_SIS (ResUnits) < in DoInstallModule() 315 ++GLOBAL_SIS (NumLanders); in DoInstallModule() 318 --GLOBAL_SIS (NumLanders); in DoInstallModule() 322 GLOBAL_SIS (DriveSlots[pMS->delta_item]) = in DoInstallModule() 327 GLOBAL_SIS (JetSlots[pMS->delta_item]) = in DoInstallModule() 703 GLOBAL_SIS (FuelOnBoard) = in DoOutfit() [all …]
|
H A D | sis.c | 469 t.pStr = GLOBAL_SIS (CommanderName); in DrawCaptainsName() 500 t.pStr = GLOBAL_SIS (ShipName); in DrawFlagshipName() 738 i = GLOBAL_SIS (NumLanders); in DrawLanders() 993 GLOBAL_SIS (CrewEnlisted) = 0; in DeltaSISGauges_crewDelta() 1045 GLOBAL_SIS (FuelOnBoard) = 0; in DeltaSISGauges_fuelDelta() 1092 GLOBAL_SIS (ResUnits) = 0; in DeltaSISGauges_resunitDelta() 1172 return GLOBAL_SIS (CrewEnlisted); in GetCrewCount() 1274 return GLOBAL_SIS (TotalElementMass); in GetElementMass() 1379 return GLOBAL_SIS (FuelOnBoard); in GetFuelTotal() 1547 || GLOBAL_SIS (FuelOnBoard) == 0; in DrawAutoPilotMessage() [all …]
|
H A D | uqmdebug.c | 284 GLOBAL_SIS (JetSlots[i]) = TURNING_JETS; in equipShip() 305 GLOBAL_SIS (ModuleSlots[i++]) = CREW_POD; in equipShip() 306 GLOBAL_SIS (ModuleSlots[i++]) = CREW_POD; in equipShip() 307 GLOBAL_SIS (ModuleSlots[i++]) = CREW_POD; in equipShip() 308 GLOBAL_SIS (ModuleSlots[i++]) = CREW_POD; in equipShip() 309 GLOBAL_SIS (ModuleSlots[i++]) = CREW_POD; in equipShip() 321 GLOBAL_SIS (NumLanders) = MAX_LANDERS; in equipShip() 328 GLOBAL_SIS (ModuleSlots[i++]) = CREW_POD; in equipShip() 338 GLOBAL_SIS (FuelOnBoard) = FUEL_RESERVE; in equipShip() 339 GLOBAL_SIS (CrewEnlisted) = 0; in equipShip() [all …]
|
H A D | hyper.c | 73 GLOBAL_SIS (log_x) -= new_dx; in MoveSIS() 74 if (GLOBAL_SIS (log_x) < 0) in MoveSIS() 76 new_dx += (SIZE)GLOBAL_SIS (log_x); in MoveSIS() 77 GLOBAL_SIS (log_x) = 0; in MoveSIS() 82 GLOBAL_SIS (log_x) = MAX_X_LOGICAL; in MoveSIS() 86 GLOBAL_SIS (log_y) -= new_dy; in MoveSIS() 87 if (GLOBAL_SIS (log_y) < 0) in MoveSIS() 89 new_dy += (SIZE)GLOBAL_SIS (log_y); in MoveSIS() 90 GLOBAL_SIS (log_y) = 0; in MoveSIS() 403 log_x = GLOBAL_SIS (log_x) in ElementToUniverse() [all …]
|
H A D | commglue.c | 44 pStr = GLOBAL_SIS (CommanderName); in NPCPhrase_cb() 49 pStr = GLOBAL_SIS (ShipName); in NPCPhrase_cb() 69 strcat (buf, GLOBAL_SIS (CommanderName)); in NPCPhrase_cb() 255 strcat (buf, GLOBAL_SIS (CommanderName)); in GetAllianceName() 332 GLOBAL_SIS(CrewEnlisted) = (COUNT)~0; in setSegue() 342 if (GLOBAL_SIS(CrewEnlisted) == (COUNT)~0 && in getSegue()
|
H A D | shipyard.c | 959 if (GLOBAL_SIS (ResUnits) >= (DWORD)ShipCost[Index] in DMS_TryAddEscortShip() 1303 which_piece = GLOBAL_SIS (ModuleSlots[num_frames]); in DrawBluePrint() 1321 num_frames = GLOBAL_SIS (CrewEnlisted); in DrawBluePrint() 1322 GLOBAL_SIS (CrewEnlisted) = 0; in DrawBluePrint() 1331 ++GLOBAL_SIS (CrewEnlisted); in DrawBluePrint() 1337 num_frames = GLOBAL_SIS (TotalElementMass); in DrawBluePrint() 1338 GLOBAL_SIS (TotalElementMass) = 0; in DrawBluePrint() 1348 GLOBAL_SIS (TotalElementMass) += m; in DrawBluePrint() 1354 if (GLOBAL_SIS (FuelOnBoard) > FUEL_RESERVE) in DrawBluePrint() 1360 GLOBAL_SIS (FuelOnBoard) = FUEL_RESERVE; in DrawBluePrint() [all …]
|
H A D | pickship.c | 193 t.pStr = GLOBAL_SIS (CommanderName); in DoPickBattleShip() 195 crew_level = GLOBAL_SIS (CrewEnlisted); in DoPickBattleShip() 347 GLOBAL_SIS (CrewEnlisted) = (COUNT)~0; in GetEncounterStarShip() 351 if (GLOBAL_SIS (FuelOnBoard) > RUN_AWAY_FUEL_COST) in GetEncounterStarShip() 352 GLOBAL_SIS (FuelOnBoard) -= RUN_AWAY_FUEL_COST; in GetEncounterStarShip() 354 GLOBAL_SIS (FuelOnBoard) = 0; in GetEncounterStarShip() 438 t.pStr = GLOBAL_SIS (ShipName); in DrawArmadaPickShip()
|
H A D | starbase.c | 113 || GLOBAL_SIS (ModuleSlots[ in DrawShipPiece() 124 && GLOBAL_SIS (ModuleSlots[ in DrawShipPiece() 247 which_piece = GLOBAL_SIS (ModuleSlots[++which_slot]); in DrawShipPiece() 472 if (GLOBAL_SIS (CrewEnlisted) == (COUNT)~0 in VisitStarBase() 494 if (GLOBAL_SIS (CrewEnlisted) == (COUNT)~0) in VisitStarBase()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/chmmr/ |
H A D | chmmrc.c | 143 GLOBAL_SIS (ResUnits) = 1000000L; in ExitConversation() 144 GLOBAL_SIS (NumLanders) = 0; in ExitConversation() 170 GLOBAL_SIS (FuelOnBoard) = FUEL_RESERVE; in ExitConversation() 171 GLOBAL_SIS (CrewEnlisted) = 0; in ExitConversation() 172 GLOBAL_SIS (TotalElementMass) = 0; in ExitConversation() 175 GLOBAL_SIS (ElementAmounts[i]) = 0; in ExitConversation() 208 GLOBAL_SIS (ModuleSlots[i]) = GLOBAL_SIS (ModuleSlots[m]); in ExitConversation() 222 GLOBAL_SIS (JetSlots[i]) = TURNING_JETS; in ExitConversation() 223 GLOBAL_SIS (ModuleSlots[0]) = BOMB_MODULE_4; in ExitConversation() 596 GLOBAL_SIS (CommanderName), in Intro() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/comandr/ |
H A D | comandr.c | 148 GLOBAL_SIS (CommanderName), in ByeBye() 229 ++GLOBAL_SIS (NumLanders); in NoRadioactives() 238 ++GLOBAL_SIS (NumLanders); in NoRadioactives() 291 ++GLOBAL_SIS (NumLanders); in AskAfterRadios() 300 ++GLOBAL_SIS (NumLanders); in AskAfterRadios() 385 ++GLOBAL_SIS (NumLanders); in TellMoonBase() 394 ++GLOBAL_SIS (NumLanders); in TellMoonBase() 426 if (GLOBAL_SIS (NumLanders) == 0 in TellMoonBase() 541 GLOBAL_SIS (CommanderName), in RevealSelf() 543 GLOBAL_SIS (ShipName), in RevealSelf() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/melnorm/ |
H A D | melnorm.c | 496 worth = GLOBAL_SIS (NumLanders) in ShipWorth() 572 + GLOBAL_SIS (ModuleSlots[1]) + GLOBAL_SIS (ModuleSlots[4]) in getStripRandomSeed() 573 + GLOBAL_SIS (ModuleSlots[7]) + GLOBAL_SIS (ModuleSlots[10]); in getStripRandomSeed() 595 GLOBAL_SIS (NumLanders) = 0; in StripShip() 602 GLOBAL_SIS (TotalBioMass) = 0; in StripShip() 603 GLOBAL_SIS (TotalElementMass) = 0; in StripShip() 1228 GLOBAL_SIS (TotalBioMass) = 0; in DoSell() 1232 --GLOBAL_SIS (TotalBioMass); in DoSell() 1269 if (GLOBAL_SIS (TotalBioMass)) in DoSell() 1324 if (GLOBAL_SIS (FuelOnBoard) > 0 in NatureOfConversation() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/starbas/ |
H A D | starbas.c | 687 if (GLOBAL_SIS (NumLanders) == 0) in AnalyzeCondition() 692 if (GLOBAL_SIS (ResUnits) >= 3000) in AnalyzeCondition() 714 && GLOBAL_SIS (NumLanders) >= 3 in AnalyzeCondition() 742 if (GLOBAL_SIS (ResUnits) >= 3000) in AnalyzeCondition() 763 if (GLOBAL_SIS (NumLanders) < 3) in AnalyzeCondition() 956 GLOBAL_SIS (ShipName), in TellStarBase() 971 GLOBAL_SIS (ShipName), in TellStarBase() 1722 if (GLOBAL_SIS (TotalElementMass)) in NormalStarbase() 1769 GLOBAL_SIS (ElementAmounts[i]) = 0; in SellMinerals() 1775 --GLOBAL_SIS (ElementAmounts[i]); in SellMinerals() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/druuge/ |
H A D | druugec.c | 241 if (GLOBAL_SIS (CrewEnlisted) < SHIP_CREW_COST) in Buy() 257 if (GLOBAL_SIS (CrewEnlisted) < ARTIFACT_CREW_COST) in Buy() 271 if (GLOBAL_SIS (CrewEnlisted) < ARTIFACT_CREW_COST) in Buy() 284 if (GLOBAL_SIS (CrewEnlisted) < ARTIFACT_CREW_COST) in Buy() 298 if (GLOBAL_SIS (CrewEnlisted) < FUEL_CREW_COST) in Buy() 446 if (GLOBAL_SIS (ModuleSlots[slot]) == FUEL_TANK in DoTransaction() 447 || GLOBAL_SIS (ModuleSlots[slot]) == HIGHEFF_FUELSYS) in DoTransaction() 451 volume = GLOBAL_SIS (ModuleSlots[slot]) == FUEL_TANK in DoTransaction() 456 capacity -= GLOBAL_SIS (FuelOnBoard); in DoTransaction() 828 which_module = GLOBAL_SIS (ModuleSlots[NumVisits]); in Intro()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/planets/ |
H A D | cargo.c | 64 GetStorageBayCapacity () - GLOBAL_SIS (TotalElementMass)); in ShowRemainingCapacity() 113 snprintf (buf, sizeof buf, "%u", GLOBAL_SIS (TotalBioMass)); in DrawElementAmount() 125 snprintf (buf, sizeof buf, "%u", GLOBAL_SIS (ElementAmounts[element])); in DrawElementAmount() 295 if (GLOBAL_SIS (ElementAmounts[pMS->CurState])) in DoDiscardCargo() 297 --GLOBAL_SIS (ElementAmounts[pMS->CurState]); in DoDiscardCargo() 300 --GLOBAL_SIS (TotalElementMass); in DoDiscardCargo()
|
H A D | devices.c | 359 GLOBAL_SIS (CrewEnlisted) = (COUNT)~0; in InvokeDevice() 447 && GLOBAL_SIS (FuelOnBoard) >= PORTAL_FUEL_COST) in InvokeDevice() 452 GLOBAL_SIS (FuelOnBoard) -= PORTAL_FUEL_COST; in InvokeDevice() 677 if (GLOBAL_SIS (CrewEnlisted) != (COUNT)~0 in DevicesMenu() 684 && GLOBAL_SIS (CrewEnlisted) != (COUNT)~0) in DevicesMenu()
|
H A D | solarsys.c | 346 if (GLOBAL_SIS (DriveSlots[i]) == FUSION_THRUSTER) in initSolarSysSISCharacteristics() 355 if (GLOBAL_SIS (JetSlots[i]) == TURNING_JETS) in initSolarSysSISCharacteristics() 1210 DrawSISTitle (GLOBAL_SIS (PlanetName)); in DrawInnerSystem() 1282 START_ENCOUNTER)) || GLOBAL_SIS (CrewEnlisted) == (COUNT)~0 in EnterPlanetOrbit() 1301 && GLOBAL_SIS (CrewEnlisted) != (COUNT)~0) in EnterPlanetOrbit() 1721 universe.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in ExploreSolarSys() 1722 universe.y = LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in ExploreSolarSys() 1730 GLOBAL_SIS (log_x) = UNIVERSE_TO_LOGX (CurStarDescPtr->star_pt.x); in ExploreSolarSys() 1839 utf8StringCopy (buf, bufsize, GLOBAL_SIS (PlanetName)); in GetPlanetOrMoonName() 1905 || GLOBAL_SIS (CrewEnlisted) == (COUNT)~0) in DoSolarSysMenu() [all …]
|
H A D | pstarmap.c | 168 pt.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in DrawAutoPilot() 169 pt.y = LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in DrawAutoPilot() 345 && (diameter = (long)GLOBAL_SIS (FuelOnBoard) << 1)) in DrawStarMap() 353 r.corner.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in DrawStarMap() 354 r.corner.y = LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in DrawStarMap() 780 pt.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in UpdateFuelRequirement() 781 pt.y = LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in UpdateFuelRequirement() 1230 universe.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in DoMoveCursor() 1231 universe.y = LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in DoMoveCursor() 1586 universe.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in StarMap() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/planets/generate/ |
H A D | genpet.c | 227 GLOBAL_SIS (log_x) = EncounterPtr->log_x; in ZapToUrquanEncounter() 228 GLOBAL_SIS (log_y) = EncounterPtr->log_y; in ZapToUrquanEncounter() 245 if (GLOBAL_SIS (FuelOnBoard) < 5 * FUEL_TANK_SCALE) in ZapToUrquanEncounter() 248 - (SIZE)GLOBAL_SIS (FuelOnBoard); in ZapToUrquanEncounter()
|
H A D | gendefault.c | 109 utf8StringCopy (GLOBAL_SIS (PlanetName), sizeof (GLOBAL_SIS (PlanetName)), in GenerateDefault_generateName()
|
H A D | genspa.c | 98 utf8StringCopy (GLOBAL_SIS (PlanetName), in GenerateSpathi_generateMoons() 99 sizeof (GLOBAL_SIS (PlanetName)), in GenerateSpathi_generateMoons()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/ships/sis_ship/ |
H A D | sis_ship.c | 243 || (GLOBAL_SIS (FuelOnBoard) == 0 in sis_hyper_preprocess() 260 universe.x = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)); in sis_hyper_preprocess() 261 universe.y = LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in sis_hyper_preprocess() 308 if ((GLOBAL_SIS (FuelOnBoard) in sis_hyper_preprocess() 965 InitModuleSlots (&new_sis_desc, GLOBAL_SIS (ModuleSlots)); in init_sis() 966 InitWeaponSlots (&new_sis_desc, GLOBAL_SIS (ModuleSlots)); in init_sis() 967 InitDriveSlots (&new_sis_desc, GLOBAL_SIS (DriveSlots)); in init_sis() 968 InitJetSlots (&new_sis_desc, GLOBAL_SIS (JetSlots)); in init_sis() 978 new_sis_desc.ship_info.crew_level = GLOBAL_SIS (CrewEnlisted) + 1; in init_sis() 994 GLOBAL_SIS (CrewEnlisted) = pRaceDesc->ship_info.crew_level; in uninit_sis() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/yehat/ |
H A D | yehatc.c | 382 GLOBAL_SIS (CommanderName), in YehatHome() 386 GLOBAL_SIS (ShipName), in YehatHome() 508 GLOBAL_SIS (CommanderName), in YehatSpace() 510 GLOBAL_SIS (ShipName), in YehatSpace()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/umgah/ |
H A D | umgahc.c | 371 GLOBAL_SIS (CommanderName), in Zombies() 373 GLOBAL_SIS (ShipName), in Zombies() 466 GLOBAL_SIS (TotalBioMass) += 1000 / BIO_CREDIT_VALUE; in UmgahReward() 474 GLOBAL_SIS (TotalBioMass) += 1000 / BIO_CREDIT_VALUE; in UmgahReward()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/comm/slyland/ |
H A D | slyland.c | 384 dx = LOGX_TO_UNIVERSE (GLOBAL_SIS (log_x)) - 333; in CombatIsInevitable() 385 dy = 9812 - LOGY_TO_UNIVERSE (GLOBAL_SIS (log_y)); in CombatIsInevitable()
|