29#import <Foundation/Foundation.h>
42#define ALLOW_CUSTOM_VIEWS_WHILE_PAUSED 1
43#define SCRIPT_TIMER_INTERVAL 10.0
45#ifndef OO_VARIABLE_TORUS_SPEED
46#define OO_VARIABLE_TORUS_SPEED 1
49#define GUI_ROW_INIT(GUI)
50#define GUI_FIRST_ROW(GROUP) ((GUI_DEFAULT_ROWS - GUI_ROW_##GROUP##OPTIONS_END_OF_LIST) / 2)
52#define GUI_ROW(GROUP,ITEM) (GUI_FIRST_ROW(GROUP) - 4 + GUI_ROW_##GROUP##OPTIONS_##ITEM)
54#define CUSTOM_VIEW_MAX_ZOOM_IN 1.5
55#define CUSTOM_VIEW_MAX_ZOOM_OUT 25
57#define ENTRY(label, value) label,
61 #include "OOGUIScreenID.tbl"
64#define GALACTIC_HYPERSPACE_ENTRY(label, value) GALACTIC_HYPERSPACE_##label = value,
68 #include "OOGalacticHyperspaceBehaviour.tbl"
74#undef GALACTIC_HYPERSPACE_ENTRY
99#define CHART_WIDTH_AT_MAX_ZOOM 64.0
100#define CHART_HEIGHT_AT_MAX_ZOOM 64.0
102#define CHART_MAX_ZOOM (256.0/CHART_WIDTH_AT_MAX_ZOOM)
104#define CHART_SCROLL_AT_X 25.0
105#define CHART_SCROLL_AT_Y 31.0
106#define CHART_CLIP_BORDER 10.0
107#define CHART_SCREEN_VERTICAL_CENTRE (10*MAIN_GUI_ROW_HEIGHT)
108#define CHART_SCREEN_VERTICAL_CENTRE_COMPACT (7*MAIN_GUI_ROW_HEIGHT)
109#define CHART_ZOOM_SPEED_FACTOR 1.05
111#define CHART_ZOOM_SHOW_LABELS 2.0
114#if OOLITE_MAC_OS_X && OOLITE_64_BIT
115#define OO_RESOLUTION_OPTION 0
117#define OO_RESOLUTION_OPTION 1
121#define CUSTOMEQUIP_EQUIPKEY @"equipmentKey"
122#define CUSTOMEQUIP_EQUIPNAME @"equipmentName"
123#define CUSTOMEQUIP_KEYACTIVATE @"keyActivate"
124#define CUSTOMEQUIP_KEYMODE @"keyMode"
125#define CUSTOMEQUIP_BUTTONACTIVATE @"buttonActivate"
126#define CUSTOMEQUIP_BUTTONMODE @"buttonMode"
127#define KEYCONFIG_CUSTOMEQUIP @"CustomEquipActivation"
139 GUI_ROW_OPTIONS_SPACER3,
140 GUI_ROW_OPTIONS_QUIT,
172#if GUI_FIRST_ROW() < 0
173# error Too many items in OPTIONS list!
182#if OOLITE_SPEECH_SYNTH
186 GUI_ROW_GAMEOPTIONS_SPEECH_LANGUAGE,
187 GUI_ROW_GAMEOPTIONS_SPEECH_GENDER,
191#if OO_RESOLUTION_OPTION
203 GUI_ROW_GAMEOPTIONS_GAMMA,
215#if GUI_FIRST_ROW() < 0
216# error Too many items in GAMEOPTIONS list!
295#define ECM_ENERGY_DRAIN_FACTOR 20.0f
296#define ECM_DURATION 2.5f
298#define ROLL_DAMPING_FACTOR 1.0f
299#define PITCH_DAMPING_FACTOR 1.0f
300#define YAW_DAMPING_FACTOR 1.0f
302#define PLAYER_MAX_WEAPON_TEMP 256.0f
303#ifdef OO_DUMP_PLANETINFO
305#define PLAYER_MAX_FUEL 7000
307#define PLAYER_MAX_FUEL 70
309#define PLAYER_MAX_MISSILES 16
310#define PLAYER_STARTING_MAX_MISSILES 4
311#define PLAYER_STARTING_MISSILES 3
312#define PLAYER_DIAL_MAX_ALTITUDE 40000.0
313#define PLAYER_SUPER_ALTITUDE2 10000000000.0
315#define PLAYER_MAX_TRUMBLES 24
317#define PLAYER_TARGET_MEMORY_SIZE 16
319#if OO_VARIABLE_TORUS_SPEED
320#define HYPERSPEED_FACTOR [PLAYER hyperspeedFactor]
321#define MIN_HYPERSPEED_FACTOR 32.0
322#define MAX_HYPERSPEED_FACTOR 1024.0
324#define HYPERSPEED_FACTOR 32.0
327#define PLAYER_SHIP_DESC @"cobra3-player"
329#define ESCAPE_SEQUENCE_TIME 10.0
331#define FORWARD_FACING_STRING DESC(@"forward-facing-string")
332#define AFT_FACING_STRING DESC(@"aft-facing-string")
333#define PORT_FACING_STRING DESC(@"port-facing-string")
334#define STARBOARD_FACING_STRING DESC(@"starboard-facing-string")
336#define KEY_REPEAT_INTERVAL 0.20
338#define PLAYER_SHIP_CLOCK_START (2084004 * 86400.0)
340#define PLAYER_SHIP_SUBENTITY_TRADE_IN_VALUE 3
342#define CONTRACTS_GOOD_KEY @"contracts_fulfilled"
343#define CONTRACTS_BAD_KEY @"contracts_expired"
344#define CONTRACTS_UNKNOWN_KEY @"contracts_unknown"
345#define PASSAGE_GOOD_KEY @"passage_fulfilled"
346#define PASSAGE_BAD_KEY @"passage_expired"
347#define PASSAGE_UNKNOWN_KEY @"passage_unknown"
348#define PARCEL_GOOD_KEY @"parcels_fulfilled"
349#define PARCEL_BAD_KEY @"parcels_expired"
350#define PARCEL_UNKNOWN_KEY @"parcels_unknown"
353#define SCANNER_ZOOM_RATE_UP 2.0
354#define SCANNER_ZOOM_RATE_DOWN -8.0
355#define SCANNER_ECM_FUZZINESS 1.25
357#define PLAYER_INTERNAL_DAMAGE_FACTOR 31
359#define PLAYER_DOCKING_AI_NAME @"oolite-player-AI.plist"
361#define MANIFEST_SCREEN_ROW_BACK 1
362#define MANIFEST_SCREEN_ROW_NEXT ([[PLAYER hud] isHidden]?27:20)
364#define MISSION_DEST_LEGACY @"__oolite_legacy_destinations"
538#if OO_VARIABLE_TORUS_SPEED
679#if OO_FOV_INFLIGHT_CONTROL_ENABLED
680 NSArray *n_key_inc_field_of_view;
681 NSArray *n_key_dec_field_of_view;
780 unsigned int voice_no;
815#if OO_FOV_INFLIGHT_CONTROL_ENABLED
821- (void) deferredInit;
823- (BOOL) setUpAndConfirmOK:(BOOL)stopOnError;
824- (BOOL) setUpAndConfirmOK:(BOOL)stopOnError saveGame:(BOOL)loadingGame;
825- (void) completeSetUp;
826- (void) completeSetUpAndSetTarget:(BOOL)setTarget;
827- (void) startUpComplete;
829- (NSString *) commanderName;
830- (void) setCommanderName:(NSString *)value;
831- (NSString *) lastsaveName;
832- (void) setLastsaveName:(NSString *)value;
836- (void) warnAboutHostiles;
838- (void) unloadCargoPods;
839- (void) loadCargoPods;
848- (
int) random_factor;
849- (void) setRandom_factor:(
int)rf;
851- (NSPoint) galaxy_coordinates;
852- (void) setGalaxyCoordinates:(NSPoint)newPosition;
853- (void) setCustomChartCentre:(NSPoint)coords;
854- (NSPoint) cursor_coordinates;
855- (NSPoint) chart_centre_coordinates;
856- (NSPoint) custom_chart_centre_coordinates;
859- (void) setCustomChartZoom:(
OOScalar)zoom;
860- (NSPoint) adjusted_chart_centre;
863- (NSString *) jumpCause;
864- (void) setJumpCause:(NSString *)value;
874- (void) setInfoSystemID: (
OOSystemID) sid moveChart:(BOOL) moveChart;
875- (void) nextInfoSystem;
876- (void) previousInfoSystem;
877- (void) homeInfoSystem;
878- (void) targetInfoSystem;
879- (BOOL) infoSystemOnRoute;
882- (NSDictionary *) commanderDataDictionary;
883- (BOOL)setCommanderDataFromDictionary:(NSDictionary *) dict;
885- (void) addEquipmentWithScriptToCustomKeyArray:(NSString *)equipmentKey;
886- (void) validateCustomEquipActivationArray;
888- (void) doBookkeeping:(
double) delta_t;
889- (BOOL) isValidTarget:(
Entity*)target;
891- (void) setMassLockable:(BOOL)newValue;
892- (BOOL) massLockable;
894- (BOOL) atHyperspeed;
896- (float) occlusionLevel;
897- (void) setOcclusionLevel:(
float)level;
899- (void) setDockedAtMainStation;
904- (void) performDockingRequest:(
StationEntity *)stationForDocking;
905- (void) requestDockingClearance:(
StationEntity *)stationForDocking;
906- (void) cancelDockingRequest:(
StationEntity *)stationForDocking;
907- (BOOL) engageAutopilotToStation:(
StationEntity *)stationForDocking;
908- (void) disengageAutopilot;
910- (void) resetAutopilotAI;
916- (BOOL) switchHudTo:(NSString *)hudFileName;
919- (float) dialCustomFloat:(NSString *)dialKey;
920- (NSString *) dialCustomString:(NSString *)dialKey;
921- (
OOColor *) dialCustomColor:(NSString *)dialKey;
922- (void) setDialCustom:(
id)value forKey:(NSString *)key;
925- (NSArray *) multiFunctionDisplayList;
926- (NSString *) multiFunctionText:(NSUInteger) index;
927- (void) setMultiFunctionText:(NSString *)text forKey:(NSString *)key;
928- (BOOL) setMultiFunctionDisplay:(NSUInteger) index toKey:(NSString *)key;
929- (void) cycleNextMultiFunctionDisplay:(NSUInteger) index;
930- (void) cyclePreviousMultiFunctionDisplay:(NSUInteger) index;
931- (void) selectNextMultiFunctionDisplay;
932- (void) selectPreviousMultiFunctionDisplay;
933- (NSUInteger) activeMFD;
935- (void) setShowDemoShips:(BOOL) value;
936- (BOOL) showDemoShips;
938- (GLfloat) forwardShieldLevel;
939- (GLfloat) aftShieldLevel;
942- (void) setForwardShieldLevel:(GLfloat)level;
943- (void) setAftShieldLevel:(GLfloat)level;
945- (float) forwardShieldRechargeRate;
946- (float) aftShieldRechargeRate;
948- (void) setMaxForwardShieldLevel:(
float)new;
949- (void) setMaxAftShieldLevel:(
float)new;
950- (void) setForwardShieldRechargeRate:(
float)new;
951- (void) setAftShieldRechargeRate:(
float)new;
954- (NSDictionary *) keyConfig;
955- (BOOL) isMouseControlOn;
958- (GLfloat) dialPitch;
960- (GLfloat) dialSpeed;
961- (GLfloat) dialHyperSpeed;
963- (void) currentWeaponStats;
965- (GLfloat) dialForwardShield;
966- (GLfloat) dialAftShield;
968- (GLfloat) dialEnergy;
969- (GLfloat) dialMaxEnergy;
972- (GLfloat) dialHyperRange;
974- (GLfloat) dialAltitude;
976- (unsigned) countMissiles;
981- (float) fuelLeakRate;
982- (void) setFuelLeakRate:(
float)value;
984#if OO_VARIABLE_TORUS_SPEED
985- (GLfloat) hyperspeedFactor;
987- (BOOL) injectorsEngaged;
988- (BOOL) hyperspeedEngaged;
990- (NSMutableArray *) customEquipmentActivation;
994- (double) clockTimeAdjusted;
995- (BOOL) clockAdjusting;
996- (void) addToAdjustTime:(
double) seconds ;
998- (double) escapePodRescueTime;
999- (void) setEscapePodRescueTime:(
double) seconds;
1001- (NSString *) dial_clock;
1002- (NSString *) dial_clock_adjusted;
1003- (NSString *) dial_fpsinfo;
1004- (NSString *) dial_objinfo;
1006- (NSMutableArray *) commLog;
1008- (
Entity *) compassTarget;
1009- (void) setCompassTarget:(
Entity *)value;
1010- (void) validateCompassTarget;
1012- (NSString *) compassTargetLabel;
1016- (void) setPrevCompassMode;
1017- (void) setNextCompassMode;
1019- (NSUInteger) activeMissile;
1020- (void) setActiveMissile:(NSUInteger)value;
1021- (NSUInteger) dialMaxMissiles;
1022- (BOOL) dialIdentEngaged;
1023- (void) setDialIdentEngaged:(BOOL)newValue;
1024- (NSString *) specialCargo;
1025- (NSString *) dialTargetName;
1026- (
ShipEntity *) missileForPylon:(NSUInteger)value;
1027- (void) safeAllMissiles;
1028- (void) selectNextMissile;
1029- (void) tidyMissilePylons;
1030- (BOOL) removeFromPylon:(NSUInteger) pylon;
1031- (BOOL) assignToActivePylon:(NSString *)identifierKey;
1033- (void) clearAlertFlags;
1035- (void) setAlertFlag:(
int)flag to:(BOOL)value;
1040- (BOOL) mountMissileWithRole:(NSString *)role;
1047- (BOOL) activateCloakingDevice;
1048- (void) deactivateCloakingDevice;
1050- (double) scannerFuzziness;
1052- (BOOL) weaponsOnline;
1053- (void) setWeaponsOnline:(BOOL)newValue;
1055- (BOOL) fireMainWeapon;
1059- (NSArray *) currentLaserOffset;
1061- (void) rotateCargo;
1063- (BOOL) hasSufficientFuelForJump;
1065- (BOOL) witchJumpChecklist:(BOOL)isGalacticJump;
1066- (void) enterGalacticWitchspace;
1067- (void) setJumpType:(BOOL)isGalacticJump;
1069- (BOOL) takeInternalDamage;
1071- (BOOL) endScenario:(NSString *)key;
1073- (NSMutableArray *) roleWeights;
1074- (void) addRoleForAggression:(
ShipEntity *)victim;
1075- (void) addRoleForMining;
1076- (void) addRoleToPlayer:(NSString *)role;
1077- (void) addRoleToPlayer:(NSString *)role inSlot:(NSUInteger)slot;
1078- (void) clearRoleFromPlayer:(BOOL)includingLongRange;
1079- (void) clearRolesFromPlayer:(
float)chance;
1080- (NSUInteger) maxPlayerRoles;
1081- (void) updateSystemMemory;
1083- (void) loseTargetStatus;
1087- (void) setGuiToStatusScreen;
1088- (NSArray *) equipmentList;
1089- (BOOL) setPrimedEquipment:(NSString *)eqKey showMessage:(BOOL)showMsg;
1090- (NSString *) primedEquipmentName:(NSInteger)offset;
1091- (NSString *) currentPrimedEquipment;
1092- (NSUInteger) primedEquipmentCount;
1094- (NSString *) fastEquipmentA;
1095- (NSString *) fastEquipmentB;
1096- (void) setFastEquipmentA:(NSString *)eqKey;
1097- (void) setFastEquipmentB:(NSString *)eqKey;
1101- (NSArray *) cargoList;
1103- (unsigned) legalStatusOfCargoList;
1105- (void) setGuiToSystemDataScreen;
1106- (void) setGuiToSystemDataScreenRefreshBackground: (BOOL) refreshBackground;
1107- (NSDictionary *) markedDestinations;
1108- (void) setGuiToLongRangeChartScreen;
1109- (void) setGuiToShortRangeChartScreen;
1111- (void) setGuiToLoadSaveScreen;
1112- (void) setGuiToGameOptionsScreen;
1114- (void) setGuiToEquipShipScreen:(
int)skip selectingFacingFor:(NSString *)eqKeyForSelectFacing;
1115- (void) setGuiToEquipShipScreen:(
int)skip;
1117- (void) setGuiToInterfacesScreen:(
int)skip;
1118- (void) showInformationForSelectedInterface;
1119- (void) activateSelectedInterface;
1121- (void) highlightEquipShipScreenKey:(NSString *)key;
1122- (void) showInformationForSelectedUpgrade;
1123- (void) showInformationForSelectedUpgradeWithFormatString:(NSString *)extraString;
1124- (BOOL) setWeaponMount:(
OOWeaponFacing)chosen_weapon_facing toWeapon:(NSString *)eqKey;
1125- (BOOL) setWeaponMount:(
OOWeaponFacing)facing toWeapon:(NSString *)eqKey inContext:(NSString *) context;
1127- (BOOL) changePassengerBerths:(
int) addRemove;
1130- (void) calculateCurrentCargo;
1131- (void) setGuiToMarketScreen;
1132- (void) setGuiToMarketInfoScreen;
1133- (NSArray *) applyMarketFilter:(NSArray *)goods onMarket:(
OOCommodityMarket *)market;
1134- (NSArray *) applyMarketSorter:(NSArray *)goods onMarket:(
OOCommodityMarket *)market;
1138- (void) setupStartScreenGui;
1139- (void) setGuiToIntroFirstGo:(BOOL)justCobra;
1140- (void) setGuiToOXZManager;
1149- (void) buySelectedItem;
1156- (void) addEquipmentFromCollection:(
id)equipment;
1159- (void) adjustTradeInFactorBy:(
int)value;
1160- (
int) tradeInFactor;
1161- (double) renovationCosts;
1162- (double) renovationFactor;
1165- (void) setDefaultViewOffsets;
1166- (void) setDefaultCustomViews;
1167- (Vector) weaponViewOffset;
1169- (void) setUpTrumbles;
1170- (void) addTrumble:(
OOTrumble *)papaTrumble;
1171- (void) removeTrumble:(
OOTrumble *)deadTrumble;
1173- (NSUInteger) trumbleCount;
1176- (void) setTrumbleValueFrom:(NSObject *)trumbleValue;
1178- (float) trumbleAppetiteAccumulator;
1179- (void) setTrumbleAppetiteAccumulator:(
float)value;
1181- (void) mungChecksumWithNSString:(NSString *)str;
1183- (NSString *)screenModeStringForWidth:(
unsigned)inWidth height:(
unsigned)inHeight refreshRate:(
float)inRate;
1185- (void) suppressTargetLost;
1187- (void) setScoopsActive;
1189- (void) clearTargetMemory;
1190- (NSMutableArray *) targetMemory;
1191- (BOOL) moveTargetMemoryBy:(NSInteger)delta;
1193- (void) printIdentLockedOnForMissile:(BOOL)missile;
1195- (void) applyYaw:(GLfloat) yaw;
1200- (Quaternion)customViewQuaternion;
1201- (void)setCustomViewQuaternion:(Quaternion)q1;
1202- (OOMatrix)customViewMatrix;
1203- (Vector)customViewOffset;
1204- (void)setCustomViewOffset:(Vector)offset;
1205- (Vector)customViewRotationCenter;
1206- (void)setCustomViewRotationCenter:(Vector)center;
1207- (void)customViewZoomOut:(
OOScalar) rate;
1208- (void)customViewZoomIn: (
OOScalar) rate;
1209- (void)customViewRotateLeft:(
OOScalar) angle;
1210- (void)customViewRotateRight:(
OOScalar) angle;
1211- (void)customViewRotateUp:(
OOScalar) angle;
1212- (void)customViewRotateDown:(
OOScalar) angle;
1213- (void)customViewRollLeft:(
OOScalar) angle;
1214- (void)customViewRollRight:(
OOScalar) angle;
1215- (void)customViewPanUp:(
OOScalar) angle;
1216- (void)customViewPanDown:(
OOScalar) angle;
1217- (void)customViewPanLeft:(
OOScalar) angle;
1218- (void)customViewPanRight:(
OOScalar) angle;
1219- (Vector)customViewForwardVector;
1220- (Vector)customViewUpVector;
1221- (Vector)customViewRightVector;
1222- (NSString *)customViewDescription;
1223- (void)resetCustomView;
1224- (void)setCustomViewData;
1225- (void)setCustomViewDataFromDictionary:(NSDictionary*) viewDict withScaling:(BOOL)withScaling;
1226- (HPVector) viewpointPosition;
1227- (HPVector) breakPatternPosition;
1228- (Vector) viewpointOffset;
1229- (Vector) viewpointOffsetAft;
1230- (Vector) viewpointOffsetForward;
1231- (Vector) viewpointOffsetPort;
1232- (Vector) viewpointOffsetStarboard;
1235- (NSDictionary *) missionOverlayDescriptor;
1236- (NSDictionary *) missionOverlayDescriptorOrDefault;
1237- (void) setMissionOverlayDescriptor:(NSDictionary *)descriptor;
1239- (NSDictionary *) missionBackgroundDescriptor;
1240- (NSDictionary *) missionBackgroundDescriptorOrDefault;
1241- (void) setMissionBackgroundDescriptor:(NSDictionary *)descriptor;
1243- (void) setMissionBackgroundSpecial:(NSString *)special;
1246- (void) clearExtraMissionKeys;
1247- (void) setExtraMissionKeys:(NSDictionary *)keys;
1249- (void) clearExtraGuiScreenKeys:(
OOGUIScreenID)gui key:(NSString *)key;
1254- (NSDictionary *) equipScreenBackgroundDescriptor;
1255- (void) setEquipScreenBackgroundDescriptor:(NSDictionary *)descriptor;
1257- (BOOL) scriptsLoaded;
1258- (NSArray *) worldScriptNames;
1259- (NSDictionary *) worldScriptsByName;
1261- (
OOScript *) commodityScriptNamed:(NSString *)script;
1266- (BOOL) doWorldEventUntilMissionScreen:(jsid)message;
1267- (void) doWorldScriptEvent:(jsid)message inContext:(JSContext *)context withArguments:(jsval *)argv count:(uintN)argc timeLimit:(
OOTimeDelta)limit;
1269- (BOOL)showInfoFlag;
1273- (void) setGalacticHyperspaceFixedCoords:(NSPoint)point;
1274- (void) setGalacticHyperspaceFixedCoordsX:(
unsigned char)x y:(
unsigned char)y;
1275- (NSPoint) galacticHyperspaceFixedCoords;
1276- (void) setWitchspaceCountdown:(
int)spin_time;
1281- (BOOL) scoopOverride;
1282- (void) setScoopOverride:(BOOL)newValue;
1285- (BOOL) clearedToDock;
1288- (void) penaltyForUnauthorizedDocking;
1290- (NSArray *) scannedWormholes;
1296- (void) initialiseMissionDestinations:(NSDictionary *)destinations andLegacy:(NSArray *)legacy;
1297- (NSString *)markerKey:(NSDictionary*)marker;
1298- (void) addMissionDestinationMarker:(NSDictionary *)marker;
1299- (BOOL) removeMissionDestinationMarker:(NSDictionary *)marker;
1300- (NSMutableDictionary*) getMissionDestinations;
1302- (NSMutableDictionary*) shipyardRecord;
1304- (void) setLastShot:(NSArray *)shot;
1306- (void) showShipModelWithKey:(NSString *)shipKey shipData:(NSDictionary *)shipData personality:(uint16_t)personality factorX:(GLfloat)factorX factorY:(GLfloat)factorY factorZ:(GLfloat)factorZ inContext:(NSString *)context;
1308- (void) doGuiScreenResizeUpdates;
1313- (GLfloat) insideAtmosphereFraction;
1326 NSCAssert(
gOOPlayer !=
nil,
@"PLAYER used when [PlayerEntity sharedPlayer] has not been called.");
1330#define PLAYER OOGetPlayer()
1332#define KILOGRAMS_PER_POD 1000
1333#define MAX_KILOGRAMS_IN_SAFE ((KILOGRAMS_PER_POD / 2) - 1)
1334#define GRAMS_PER_POD (KILOGRAMS_PER_POD * 1000)
1335#define MAX_GRAMS_IN_SAFE ((GRAMS_PER_POD / 2) - 1)
#define INLINE_CONST_FUNC
uint8_t OOWeaponFacingSet
NSString * OOCommodityType
uint64_t OOCreditsQuantity
OOGalacticHyperspaceBehaviour
@ GALACTIC_HYPERSPACE_MAX
@ GUI_ROW_MARKET_SCROLLUP
@ GUI_ROW_OPTIONS_QUICKSAVE
@ STATUS_EQUIPMENT_FIRST_ROW
@ GUI_ROW_OPTIONS_END_OF_LIST
@ GUI_ROW_OPTIONS_BEGIN_NEW
@ GUI_ROW_SCENARIOS_START
@ GUI_ROW_OPTIONS_SPACER2
@ GUI_ROW_CHART_SYSTEM_COMPACT
@ GUI_ROW_EQUIPMENT_DETAIL
@ GUI_ROW_OPTIONS_SPACER1
@ STATUS_EQUIPMENT_MAX_ROWS
@ GUI_ROW_SCENARIOS_DETAIL
@ GUI_ROW_MARKET_SCROLLDOWN
@ GUI_ROW_EQUIPMENT_START
@ GUI_ROW_INTERFACES_DETAIL
@ GUI_ROW_INTERFACES_HEADING
@ STATUS_EQUIPMENT_BIGGUI_EXTRA_ROWS
@ GUI_ROW_INTERFACES_START
@ GUI_MAX_ROWS_INTERFACES
@ GUI_ROW_OPTIONS_GAMEOPTIONS
@ PLAYER_FLEEING_UNLIKELY
@ GUI_ROW_GAMEOPTIONS_SPACER3
@ GUI_ROW_GAMEOPTIONS_SPACER1
@ GUI_ROW_GAMEOPTIONS_SPACER2
@ GUI_ROW_GAMEOPTIONS_AUTOSAVE
@ GUI_ROW_GAMEOPTIONS_FOV
@ GUI_ROW_GAMEOPTIONS_KEYMAPPER
@ GUI_ROW_GAMEOPTIONS_WIREFRAMEGRAPHICS
@ GUI_ROW_GAMEOPTIONS_COLORBLINDMODE
@ GUI_ROW_GAMEOPTIONS_SPEECH
@ GUI_ROW_GAMEOPTIONS_DISPLAY
@ GUI_ROW_GAMEOPTIONS_BACK
@ GUI_ROW_GAMEOPTIONS_SHADEREFFECTS
@ GUI_ROW_GAMEOPTIONS_MUSIC
@ GUI_ROW_GAMEOPTIONS_SPACER_STICKMAPPER
@ GUI_ROW_GAMEOPTIONS_PROCEDURALLYTEXTUREDPLANETS
@ GUI_ROW_GAMEOPTIONS_VOLUME
@ GUI_ROW_GAMEOPTIONS_STICKMAPPER
@ GUI_ROW_GAMEOPTIONS_DETAIL
@ GUI_ROW_GAMEOPTIONS_END_OF_LIST
@ GUI_ROW_GAMEOPTIONS_DOCKINGCLEARANCE
@ GUI_ROW_GAMEOPTIONS_DISPLAYSTYLE
@ OOPRIMEDEQUIP_ACTIVATED
@ MARKET_FILTER_MODE_HOLD
@ MARKET_FILTER_MODE_RESTRICTED
@ MARKET_FILTER_MODE_STOCK
@ MARKET_FILTER_MODE_TRADE
@ MARKET_FILTER_MODE_LEGAL
OOINLINE PlayerEntity * OOGetPlayer(void) INLINE_CONST_FUNC
OOGUIScreenID OOGUIScreenIDFromString(NSString *string) PURE_FUNC
@ SCOOP_STATUS_NOT_INSTALLED
NSString * OOStringFromGalacticHyperspaceBehaviour(OOGalacticHyperspaceBehaviour behaviour) CONST_FUNC
OOGalacticHyperspaceBehaviour OOGalacticHyperspaceBehaviourFromString(NSString *string) PURE_FUNC
NSString * OODisplayRatingStringFromKillCount(unsigned kills)
@ ALERT_FLAG_YELLOW_LIMIT
@ GUI_ROW_GAMEOPTIONS_HDRPAPERWHITE
@ GUI_ROW_GAMEOPTIONS_HDRMAXBRIGHTNESS
@ kOOGalacticHyperspaceBehaviourDefault
@ MISSILE_STATUS_TARGET_LOCKED
@ MARKET_SORTER_MODE_PRICE
@ MARKET_SORTER_MODE_STOCK
@ MARKET_SORTER_MODE_ALPHA
@ MARKET_SORTER_MODE_UNIT
@ MARKET_SORTER_MODE_HOLD
NSString * OODisplayStringFromLegalStatus(int legalStatus)
NSString * KillCountToRatingAndKillString(unsigned kills)
NSString * OOStringFromGUIScreenID(OOGUIScreenID screen) CONST_FUNC
NSMutableDictionary * roleWeightFlags
OOTimeDelta forward_shot_time
NSMutableDictionary * passenger_record
NSArray * n_key_activate_equipment
unsigned mouse_control_on
OOScalar saved_chart_zoom
unsigned launchingMissile
NSDictionary * keyconfig2_settings
NSArray * n_key_gui_screen_interfaces
OOSystemID info_system_id
NSArray * n_key_gui_arrow_right
NSArray * n_key_scanner_zoom
NSArray * n_key_debug_shaders
unsigned autopilot_engaged
NSArray * n_key_next_target
NSArray * n_key_docking_clearance_request
float _trumbleAppetiteAccumulator
NSMutableDictionary * missionDestinations
NSArray * n_key_market_buy_max
NSDictionary * keyCodeLookups
NSArray * n_key_rotate_cargo
NSArray * n_key_custom_view_rotate_left
NSArray * n_key_untarget_missile
NSArray * n_key_gui_screen_status
StickProfileScreen * stickProfileScreen
NSArray * n_key_oxzmanager_extract
GLfloat max_forward_shield
OOMarketSorterMode marketSorterMode
NSArray * n_key_map_next_system
NSArray * n_key_custom_view_pan_left
OOCargoQuantity current_cargo
NSArray * n_key_info_next_system
Vector starboardViewOffset
OOPlayerFleeingStatus fleeing_status
NSArray * n_key_yaw_right
NSArray * n_key_custom_view_pan_down
unsigned keyboardPitchOverride
NSMutableArray * contracts
OODockingClearanceStatus dockingClearanceStatus
NSArray * n_key_view_forward
NSString * _missionScreenID
NSMutableDictionary * localVariables
BOOL _missionAllowInterrupt
NSArray * n_key_debug_off
NSArray * n_key_galactic_hyperspace
NSArray * n_key_autopilot
NSArray * n_key_weapons_online_toggle
OOWeakReference * _dockedStation
NSArray * n_key_pausebutton
NSMutableDictionary * customDialSettings
NSArray * n_key_dump_target_state
OOWeakReference * compassTarget
unsigned waitingForStickCallback
NSDictionary * _missionOverlayDescriptor
NSString * _fastEquipmentB
NSArray * n_key_gui_select
NSArray * n_key_custom_view_zoom_out
NSArray * n_key_custom_view_roll_right
NSArray * n_key_dump_entity_list
NSMutableArray * roleSystemList
NSMutableArray * cdrDetailArray
NSArray * n_key_market_buy_one
OOLongRangeChartMode longRangeChartMode
NSArray * n_key_roll_right
NSMutableDictionary * contract_record
unsigned travelling_at_hyperspeed
unsigned replacingMissile
NSMutableString * dockingReport
NSArray * n_key_cycle_next_mfd
NSMutableArray * target_memory
unsigned hyperspeed_engaged
NSArray * n_key_advanced_nav_array_previous
NSArray * n_key_gui_chart_screens
NSArray * n_key_system_previous_system
OOSystemID previous_system_id
NSMutableArray * roleWeights
OOGUIScreenID _missionExitScreen
NSPoint custom_chart_centre_coordinates
NSArray * n_key_gui_arrow_up
NSArray * n_key_debug_full
NSArray * n_key_gui_arrow_down
NSArray * n_key_custom_view
OOMarketFilterMode marketFilterMode
OOTimeDelta witchspaceCountdown
NSMutableArray * passengers
NSString * commanderNameString
NSArray * n_key_gui_page_up
NSArray * n_key_prev_compass_mode
NSArray * n_key_jumpdrive
unsigned afterburnerSoundLooping
unsigned afterburner_engaged
NSDictionary * extraMissionKeys
OOCommodityMarket * shipCommodityData
NSArray * n_key_cycle_previous_mfd
NSArray * n_key_market_sell_max
NSMutableDictionary * reputation
NSArray * n_key_bloom_toggle
NSPoint galaxy_coordinates
NSArray * n_key_roll_left
NSString * planetSearchString
NSArray * n_key_system_home
OOAlertCondition lastScriptAlertCondition
NSMutableDictionary * commodityScripts
NSArray * n_key_custom_view_zoom_in
NSArray * n_key_chart_highlight
NSDictionary * _equipScreenBackgroundDescriptor
NSArray * n_key_mode_equipment
OOTrumble * trumble[PLAYER_MAX_TRUMBLES]
NSArray * n_key_inject_fuel
NSArray * n_key_hyperspace
double escape_pod_rescue_time
NSArray * n_key_custom_view_rotate_up
NSArray * n_key_increase_speed
unsigned keyboardYawOverride
NSArray * n_key_system_next_system
NSUInteger target_memory_index
NSArray * n_key_system_end
NSArray * n_key_debug_bounding_boxes
NSArray * n_key_market_sell_one
NSPoint target_chart_focus
NSArray * n_key_custom_view_rotate_right
NSArray * n_key_market_sorter_cycle
NSArray * n_key_scanner_unzoom
NSArray * n_key_gui_arrow_left
Quaternion customViewQuaternion
NSArray * n_key_view_starboard
OOScalar target_chart_zoom
Vector customViewRightVector
ShipEntity * missile_entity[PLAYER_MAX_MISSILES]
NSArray * n_key_pitch_back
NSDictionary * worldScriptsRequiringTickle
NSString * _commanderName
NSMutableDictionary * mission_variables
NSMutableDictionary * parcel_record
BOOL showingLongRangeChart
NSArray * n_key_mouse_control_roll
NSArray * n_key_launch_ship
NSArray * n_key_gui_market
OOCreditsQuantity credits
NSDictionary * _missionBackgroundDescriptor
NSArray * n_key_launch_missile
OOTimeDelta aft_shot_time
OOGalacticHyperspaceBehaviour galacticHyperspaceBehaviour
NSPoint cursor_coordinates
NSArray * n_key_gui_system_data
NSArray * n_key_gui_screen_equipship
NSUInteger _customViewIndex
NSArray * n_key_debug_console_connect
NSMutableArray * eqScripts
NSString * missionKeyPress
NSArray * n_key_info_previous_system
NSArray * n_key_custom_view_rotate_down
unsigned keyboardRollOverride
NSArray * n_key_prime_next_equipment
NSArray * n_key_custom_view_pan_up
NSArray * n_key_ident_system
GLfloat scanner_zoom_rate
OOSpeechSettings isSpeechOn
NSArray * n_key_oxzmanager_setfilter
OOUniversalID _dockTarget
NSArray * n_key_gui_page_down
OOScalar custom_chart_zoom
NSArray * n_key_decrease_speed
NSMutableDictionary * multiFunctionDisplayText
NSMutableArray * multiFunctionDisplaySettings
NSArray * n_key_target_incoming_missile
NSArray * n_key_next_missile
OOMatrix customViewMatrix
NSString * _fastEquipmentA
OOSystemID found_system_id
unsigned using_mining_laser
Vector customViewUpVector
NSArray * n_key_gui_screen_options
NSArray * n_key_prime_previous_equipment
NSArray * n_key_oxzmanager_showinfo
NSArray * n_key_comms_log
unsigned hyperspeed_locked
OOAlertCondition alertCondition
NSArray * n_key_view_port
NSArray * n_key_market_filter_cycle
NSPoint galacticHyperspaceFixedCoords
NSArray * n_key_target_missile
NSArray * n_key_map_zoom_out
NSArray * n_key_switch_next_mfd
OOTimeDelta starboard_shot_time
unsigned galactic_witchjump
NSArray * n_key_advanced_nav_array_next
NSMutableDictionary * shipyard_record
NSArray * n_key_pitch_forward
Vector customViewForwardVector
NSArray * n_key_fire_lasers
NSMutableArray * customModePressed
NSDictionary * worldScripts
OOMissileStatus missile_status
GLfloat forward_shield_recharge_rate
BOOL _missionWithCallback
WormholeEntity * wormhole
NSArray * n_key_mouse_control_yaw
NSMutableArray * scannedWormholes
NSArray * n_key_fastactivate_equipment_b
NSArray * n_key_debug_collision
NSMutableArray * customActivatePressed
double script_time_interval
NSArray * n_key_docking_music
OOCommodityType marketSelectedCommodity
NSArray * n_key_custom_view_pan_right
NSArray * n_key_dump_cargo
NSPoint chart_focus_coordinates
NSArray * n_key_launch_escapepod
NSPoint target_chart_centre
NSArray * n_key_custom_view_roll_left
NSMutableArray * customEquipActivation
GLfloat aft_shield_recharge_rate
OOTimeDelta port_shot_time
OOCompassMode compassMode
OOGUIBackgroundSpecial _missionBackgroundSpecial
NSUInteger primedEquipment
NSArray * n_key_map_previous_system
unsigned suppressTargetLost
NSMutableDictionary * extraGuiScreenKeys
unsigned ecm_in_operation
NSArray * n_key_fastactivate_equipment_a
double last_fps_check_time
NSString * customViewDescription
NSArray * n_key_hud_toggle
OOSystemID target_system_id
NSArray * n_key_switch_previous_mfd
NSArray * n_key_previous_target
OOWeaponFacing chosen_weapon_facing
NSPoint chart_centre_coordinates
Vector customViewRotationCenter
StationEntity * targetDockStation
NSArray * n_key_map_zoom_in
NSArray * n_key_next_compass_mode
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque