ScummVM API documentation
AwayMission Struct Reference

Public Attributes

int16 timers [8]
 
int16 mouseX
 
int16 mouseY
 
int16 crewGetupTimers [4]
 
bool disableWalking
 
byte disableInput
 
bool redshirtDead
 
char activeAction
 
byte activeObject
 
byte passiveObject
 
bool rdfStillDoDefaultAction
 
byte crewDownBitset
 
int8 crewDirectionsAfterWalk [4]
 
union {
   struct {
      bool   wasRudeToPrelate
 
      bool   insultedStephen
 
      bool   field2d
 
      bool   beatKlingons
 
      bool   tookKlingonHand
 
      bool   talkedToPrelate
 
      bool   stephenWelcomedToStudy
 
      bool   prelateWelcomedCrew
 
      bool   askedPrelateAboutSightings
 
      byte   field37
 
      bool   mccoyMentionedFlora
 
      byte   numBouldersGone
 
      byte   enteredFrom
 
      bool   repairedHand
 
      bool   healedMiner
 
      bool   curedChub
 
      bool   field3e
 
      bool   knowAboutHypoDytoxin
 
      bool   minerDead
 
      byte   field41
 
      bool   foundMiner
 
      bool   field45
 
      bool   gaveSkullToNauian
 
      bool   warpsDisabled
 
      bool   boulder1Gone
 
      bool   boulder2Gone
 
      bool   boulder3Gone
 
      bool   boulder4Gone
 
      bool   doorOpened
 
      bool   solvedSunPuzzle
 
      byte   itemsTakenFromCase
 
      bool   gotBerries
 
      bool   madeHypoDytoxin
 
      bool   metNauian
 
      bool   gavePointsForDytoxin
 
      bool   lookedAtComputer
 
      byte   field56
 
      bool   foundAlienRoom
 
      int16   missionScore
 
   }   demon
 
   struct {
      int16   missionScore
 
      int16   field2b
 
      int16   field2d
 
      bool   engineerConscious
 
      byte   field35
 
      bool   gotWires
 
      byte   orbitalDecayCounter
 
      bool   bridgeElasiDrewPhasers
 
      bool   talkedToCereth
 
      bool   gotJunkPile
 
      bool   gotTransmogrifier
 
      bool   transporterRepaired
 
      bool   spockExaminedTransporter
 
      bool   usedTransmogrifierOnTransporter
 
      bool   bridgeForceFieldDown
 
      bool   savedPrisoners
 
      bool   haveBomb
 
      bool   brigElasiPhasersOnKill
 
      byte   elasiTargetIndex
 
      byte   guard1Status
 
      byte   guard2Status
 
      byte   field4e
 
      byte   crewmanKilled [4]
 
      byte   bridgeElasi1Status
 
      byte   bridgeElasi2Status
 
      byte   bridgeElasi3Status
 
      byte   bridgeElasi4Status
 
      bool   brigForceFieldDown
 
      byte   field59
 
      byte   field5b
 
      bool   elasiSurrendered
 
      byte   kirkPhaserDrawn
 
      byte   bridgeWinMethod
 
      bool   talkedToBrigCrewman
 
   }   tug
 
   struct {
      bool   alreadyStartedMission
 
      bool   knowAboutVirus
 
      bool   romulansUnconsciousFromLaughingGas
 
      bool   releasedHumanLaughingGas
 
      bool   releasedRomulanLaughingGas
 
      bool   chamberHasCure
 
      bool   freezerOpen
 
      bool   chamberHasDish
 
      byte   bottleInNozzle
 
      bool   cabinetOpen
 
      bool   gasFeedOn
 
      byte   synthesizerBottleIndex
 
      byte   synthesizerContents
 
      byte   canister1
 
      byte   canister2
 
      bool   servicePanelOpen
 
      bool   gasTankUnscrewed
 
      bool   wrenchTaken
 
      bool   tookN2TankFromServicePanel
 
      bool   field3c
 
      bool   grateRemoved
 
      bool   insulationOnGround
 
      bool   visitedRoomWithRomulans
 
      bool   romulansCured
 
      bool   romulansUnconsciousFromVirus
 
      bool   freedMarcusAndCheever
 
      bool   preaxCured
 
      byte   spockInfectionCounter
 
      bool   spockCured
 
      bool   contactedEnterpriseBeforeCure
 
      bool   contactedEnterpriseAfterCure
 
      bool   spockAccessedConsole
 
      bool   mccoyAccessedConsole
 
      bool   gotPolyberylcarbonate
 
      bool   gotTLDH
 
      bool   gotPointsForOpeningGrate
 
      bool   gotPointsForGassingRomulans
 
      bool   gotCure
 
      bool   gotPointsForHydratingPreax
 
      bool   gotPointsForHydratingRomulans
 
      int16   missionScore
 
   }   love
 
   struct {
      byte   muddFirstRoomState
 
      bool   torpedoLoaded
 
      bool   knowAboutTorpedo
 
      bool   discoveredBase3System
 
      bool   translatedAlienLanguage
 
      bool   databaseDestroyed
 
      bool   muddInDatabaseRoom
 
      bool   muddCurrentlyInsane
 
      bool   computerDataErasedOrDestroyed
 
      bool   muddErasedDatabase
 
      bool   discoveredLenseAndDegrimerFunction
 
      int16   torpedoStatus
 
      bool   muddUnavailable
 
      bool   muddVisitedDatabaseRoom
 
      bool   accessedAlienDatabase
 
      bool   tookRepairTool
 
      bool   gotPointsForDownloadingData
 
      bool   contactedEnterpriseFirstTime
 
      bool   viewScreenEnabled
 
      bool   lifeSupportMalfunctioning
 
      byte   numTimesEnteredRoom5
 
      bool   gotMemoryDisk
 
      bool   gotLense
 
      bool   gotDegrimer
 
      bool   putCapsuleInMedicalMachine
 
      bool   muddUnconscious
 
      byte   muddInsanityState
 
      bool   muddInhaledGas
 
      int16   lifeSupportTimer
 
      bool   startedLifeSupportTimer
 
      bool   enteredRoom0ForFirstTime
 
      bool   gotPointsForLoadingTorpedo
 
      bool   gotPointsForPressingRedButton
 
      bool   gotPointsForEnablingViewscreen
 
      bool   enteredRoom1ForFirstTime
 
      bool   repairedLifeSupportGenerator
 
      int16   missionScore
 
   }   mudd
 
   struct {
      bool   diedFromStalactites
 
      byte   vineState
 
      bool   gotRock
 
      bool   gotSnake
 
      bool   tookKnife
 
      bool   field2e
 
      byte   numRocksThrownAtTlaoxac
 
      bool   gotFern
 
      bool   holeBlocked
 
      bool   tlaoxacTestPassed
 
      bool   knockedOutTlaoxac
 
      bool   waterMonsterRetreated
 
      bool   showedSnakeToTlaoxac
 
      int16   missionScore
 
   }   feather
 
   struct {
      int16   missionScore
 
      int16   field2b
 
      bool   entityDefeated
 
      bool   doorOpen
 
      bool   scannedLock
 
      byte   doorCodeBehaviour
 
      bool   globSplitInTwo
 
      bool   globDefeated
 
      byte   globEnergyLevels [3]
 
      bool   enteredTrial3FirstTime
 
      byte   klingonShootIndex
 
      byte   shotKlingons
 
      int16   shotKlingonState
 
      bool   neuralInterfaceActive
 
      int16   holeContents [3]
 
      bool   enteredGlobRoom
 
      bool   forceFieldDown
 
      bool   uhuraAnalyzedCode
 
      int16   missionEndMethod
 
      bool   gotPointsForGettingRod
 
      bool   gotPointsForCoatingRodWithIron
 
      bool   gotPointsForActivatingInterface
 
      bool   gotPointsForScanningGlob
 
      bool   gotPointsForBeamingOut
 
   }   trial
 
   struct {
      byte   field31
 
      byte   field32
 
      bool   field33
 
      bool   doorLaserFiredOnce
 
      bool   gotPointsForAccessingTerminal
 
      bool   scannedKeycardLock
 
      byte   laserSetting
 
      byte   laserPattern
 
      byte   gatheredClues
 
      byte   scannedAndUsedComputers
 
      bool   wireConnected1
 
      bool   wireConnected2
 
      bool   openedOuterDoor
 
      bool   openedInnerDoor
 
      bool   unlockedIDCardDoor
 
      int8   moldState
 
      byte   boxState
 
      bool   enteredRoom0FirstTime
 
      bool   scottyInformedKirkAboutVirus
 
      bool   enteredRoom2FirstTime
 
      bool   enteredRoom3FirstTime
 
      bool   enteredRoom4FirstTime
 
      bool   enteredRoom5FirstTime
 
      bool   gotPointsForScanningStatue
 
      bool   gotPointsForScanningRoom4
 
      bool   gotPointsForScanningRoom5
 
      bool   gotPointsForScanningRightComputer
 
      bool   gotPointsForScanningLeftComputer
 
      bool   gotPointsForUsingRightComputer
 
      bool   gotPointsForUsingLeftComputer
 
      bool   discoveredComputersOutOfSync
 
      bool   enteredRoom1FirstTime
 
      bool   playedMusicUponEnteringRoom5FirstTime
 
      int16   missionScore
 
   }   sins
 
   struct {
      bool   usedMedkitOnBrittany
 
      bool   talkedToBrittany
 
      bool   brittanyDead
 
      bool   lookedAtBrittany
 
      bool   enteredRoom0FirstTime
 
      int16   missionScore
 
      bool   bridgeCrewmanDead
 
      bool   scannedCaptainsChair
 
      bool   scannedComputerBank
 
      bool   showedRepublicMapFirstTime
 
      bool   impulseEnginesOn
 
      byte   beamState
 
      bool   enterpriseLeftForDistressCall
 
      bool   openedPanel
 
      bool   clearedPanelDebris
 
      bool   removedPanelDebris
 
      bool   oilInHypo
 
      bool   loosenedDebrisWithOil
 
      byte   poweredSystem
 
      byte   tricordersPluggedIntoComputer
 
      byte   captainsLogIndex
 
      bool   elasiShieldsDown
 
      bool   torpedoLoaded
 
      bool   firedTorpedo
 
      bool   elasiShipDecloaked
 
      bool   countdownStarted
 
      bool   toldElasiToBeamOver
 
      bool   scannedMainComputer
 
      bool   elasiHailedRepublic
 
      bool   tookRecordDeckFromAuxilaryControl
 
      int16   counterUntilElasiBoardWithShieldsDown
 
      int16   counterUntilElasiAttack
 
      int16   counterUntilElasiNagToDisableShields
 
      int16   counterUntilElasiDestroyShip
 
      int16   counterUntilElasiBoardWithInvitation
 
      bool   putSupportBeamInSickbayHallway
 
      bool   clearedDebris
 
      bool   lookedAtTurbolift2Door
 
      bool   kirkShouldSuggestReestablishingPower
 
      bool   tookHypoFromSickbay
 
      bool   tookDrillFromSickbay
 
      bool   clearedDebrisInRoom5
 
      bool   havePowerPack
 
      bool   enteredRoom5FirstTime
 
      bool   askedSpockAboutFire
 
      byte   junctionCablesConnected
 
      bool   tookCableFromTransporterRoomHallway
 
      bool   tookCableFromSickbayHallway
 
      bool   tookMolecularSaw
 
      bool   readEngineeringJournal
 
      bool   tookEngineeringJournal
 
      bool   engineeringCabinetOpen
 
      bool   setTransporterCoordinates
 
      bool   examinedTorpedoControl
 
      bool   powerPackPluggedIntoTransporter
 
      bool   field68
 
      bool   getPointsForHealingBrittany
 
      bool   readAllLogs
 
      bool   field6b
 
      bool   field6c
 
   }   veng
 
}; 
 

The documentation for this struct was generated from the following file: