Oolite 1.91.0.7658-250404-b1488af
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOCocoa.h File Reference
#include <math.h>
#include <stdbool.h>
import <Foundation/Foundation.h>
import <AppKit/AppKit.h>
import "OOLogging.h"
+ Include dependency graph for OOCocoa.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

category  NSObject(OODescriptionComponents)
 
category  NSEnumerator(OOForEachSupport)
 

Macros

#define OOLITE_DEBUG   1
 
#define OOLITE_MAC_OS_X   1
 
#define OOLITE_SPEECH_SYNTH   1
 
#define DESTROY(x)
 
#define OOLITE_MAC_OS_X_10_7   0
 
#define OOLITE_MAC_OS_X_10_8   0
 
#define OOLITE_HAVE_CLANG   0
 
#define OOLITE_GNUSTEP   0
 
#define OOLITE_WINDOWS   0
 
#define OOLITE_LINUX   0
 
#define OOLITE_SDL   0
 
#define OOLITE_ESPEAK   0
 
#define OOLITE_64_BIT   0
 
#define OOLITE_PROPERTY_SYNTAX   (OOLITE_MAC_OS_X || OOLITE_HAVE_CLANG)
 
#define OOLITE_RELEASE_PLIST_ERROR_STRINGS   1
 
#define OOLITE_FAST_ENUMERATION   1
 
#define foreach(VAR, COLLECTION)
 
#define foreachkey(VAR, DICT)
 
#define OOLITE_OPTIONAL(protocolName)
 

Typedefs

typedef NSUInteger NSWindowStyleMask
 
typedef NSInteger OOComparisonResult
 

Macro Definition Documentation

◆ DESTROY

#define DESTROY ( x)
Value:
do { id x_ = x; x = nil; [x_ release]; } while (0)
return nil
float x

Definition at line 77 of file OOCocoa.h.

Referenced by OOEquipmentType::addEquipmentWithInfo:, ShipEntity::addTarget:, ShipEntity(PureAI)::becomeUncontrolledThargon, ShipEntity(AI)::broadcastDistressMessageWithDumping:, DockEntity(OOPrivate)::clearAllIdLocks, DockEntity(OOPrivate)::clearIdLocks:, OOOXZManager(NSURLConnectionDataDelegate)::connection:didFailWithError:, OOOXZManager(NSURLConnectionDataDelegate)::connection:didReceiveResponse:, OOOXZManager(NSURLConnectionDataDelegate)::connectionDidFinishLoading:, AI::dealloc, CollisionRegion::dealloc, DockEntity::dealloc, DustEntity::dealloc, Entity::dealloc, HeadUpDisplay::dealloc, MyOpenGLView::dealloc, Octree::dealloc, OOALBufferedSound::dealloc, OOAsyncCacheWriter::dealloc, OOAsyncLogger::dealloc, OOCharacter::dealloc, OOCombinedEmissionMapGenerator::dealloc, OOCommodities::dealloc, OOCommodityMarket::dealloc, OOConcreteTexture::dealloc, OODefaultShaderSynthesizer::dealloc, OOEquipmentType::dealloc, OOExplosionCloudEntity::dealloc, OOFullScreenController::dealloc, OOJSFunction::dealloc, OOJSScript::dealloc, OOMesh::dealloc, OOOpenGLExtensionManager::dealloc, OOOXZManager::dealloc, OOPolygonSprite::dealloc, OORegExpMatcher::dealloc, OOShipGroupEnumerator::dealloc, OOSunEntity::dealloc, OOSystemDescriptionEntry::dealloc, OOSystemDescriptionManager::dealloc, OOTimeProfile::dealloc, OOTimeProfileEntry::dealloc, OOVisualEffectEntity::dealloc, OOWaypointEntity::dealloc, OOWeakSet::dealloc, PlanetEntity::dealloc, PlayerEntity::dealloc, ShipEntity::dealloc, StationEntity::dealloc, Universe::dealloc, PlayerEntity::deferredInit, PlayerEntity(Sound)::destroySound, OODefaultShaderSynthesizer::destroyTemporaries, PlayerEntity::disengageAutopilot, PlayerEntity::doBookkeeping:, HeadUpDisplay(Private)::drawCrosshairs, PlayerEntity::engageAutopilotToStation:, PlayerEntity::enterDock:, ShipEntity::foundTarget, OOAsyncLogger::init, OORegExpMatcher::init, OOECMBlastEntity::initFromShip:, StationEntity::initialiseLocalMarket, OOMesh(Private)::initWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, OOJSFunction::initWithName:scope:code:argumentCount:argumentNames:fileName:lineNumber:context:, OOSingleTextureMaterial::initWithName:texture:configuration:, OOProbabilitySet::initWithObjects:weights:count:, OOJSScript::initWithPath:properties:, OOPixMapTextureLoader::initWithPixMap:textureOptions:freeWhenDone:, PlayerEntity::interpretAIMessage:, OOWeakSet::isEqual:, OODebugMonitor(Private)::javaScriptEngineWillReset:, ShipEntity::lastEscortTarget, OOShipRegistry(OODataLoader)::loadDemoShips, OOEquipmentType::loadEquipment, LoadExplicitSettings(), PlayerEntity(LoadSave)::loadPlayerFromFile:asNew:, OOPolygonSprite(Private)::loadPolygons:outlineWidth:, main(), ShipEntity::noteLostTarget, HeadUpDisplay::OOHUDResetTextEngine(void), OOJSFrameCallbacksInvoke(), OOLogOutputHandlerClose(), OOLogSetDisplayMessagesInClass(), ResourceManager::pathsWithAddOns, OOAsyncCacheWriter::performAsyncTask, PlayerEntity(OOControlsPrivate)::pollFlightControls:, PlayerEntity(OOControlsPrivate)::pollMarketScreenControls, ShipEntity::primaryAggressor, ShipEntity::primaryTarget, ShipEntity::primaryTargetWithoutValidityCheck, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ, ShipEntity::proximityAlert, OOTexture::rebindAllTextures, ShipEntity(PureAI)::recallStoredTarget, ShipEntity::rememberedShip, PlayerEntity(Scripting)::removeAllCargo:, OOOXZManager(NSURLConnectionDataDelegate)::removeOXZ:, ShipEntity::removeTarget:, ShipEntity(AI)::requestDockingCoordinates, ShipEntity(PureAI)::requestNewTarget, OOMesh(Private)::rescaleByFactor:, ResourceManager::reset, OOOpenGLExtensionManager::reset, DustEntity::resetGraphicsState, ResourceManager::resetManifestKnowledgeForOXZManager, ShipEntity::resumePostProximityAlert, ShipEntity(PureAI)::scanForFormationLeader, ShipEntity(AI)::scanForHostiles, ShipEntity(PureAI)::scanForLoot, ShipEntity(PureAI)::scanForNearestMerchantman, ShipEntity(PureAI)::scanForNearestShipMatchingPredicate:, ShipEntity(OOAIPrivate)::scanForNearestShipWithPredicate:parameter:, ShipEntity(PureAI)::scanForNonThargoid, ShipEntity(PureAI)::scanForOffenders, ShipEntity(PureAI)::scanForRandomLoot, ShipEntity(PureAI)::scanForRandomMerchantman, ShipEntity(PureAI)::scanForRocks, PlayerEntity::selectNextMissile, OOVisualEffectEntity::setBeaconCode:, OOWaypointEntity::setBeaconCode:, ShipEntity::setBeaconCode:, PlayerEntity::setCommanderDataFromDictionary:, ShipEntity::setCommodity:andAmount:, ShipEntity::setCommodityForPod:andAmount:, OOOXZManager(NSURLConnectionDataDelegate)::setCurrentDownload:withLabel:, OOOXZManager::setFilter:, OOOXZManager(NSURLConnectionDataDelegate)::setFilteredList:, OOCommodityMarket::setGood:withInfo:, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, OOEquipmentType::setMissileRegistryRole:forShip:, OOOXZManager(NSURLConnectionDataDelegate)::setOXZList:, OOOXZManager(NSURLConnectionDataDelegate)::setProgressStatus:, ShipEntity::setProximityAlert:, OOVisualEffectEntity::setScannerDisplayColor1:, ShipEntity::setScannerDisplayColor1:, OOVisualEffectEntity::setScannerDisplayColor2:, ShipEntity::setScannerDisplayColor2:, ShipEntity::setScannerDisplayColorHostile1:, ShipEntity::setScannerDisplayColorHostile2:, ShipEntity::setShipDataKey:, OOShipRegistry::setShipInfoForKey:with:, Universe::setSystemTo:, ShipEntity::setTargetToSystemStation, PlayerEntity::setUpAndConfirmOK:saveGame:, ShipEntity::setUpCargoType:, OOJavaScriptConsoleController(Private)::setUpFonts, Universe::setupIntroFirstGo:, PlayerEntity::setUpShipFromDictionary:, Universe::setUpSpace, OOConcreteTexture(Private)::setUpTexture, PlayerEntity(Sound)::setUpWeaponSounds, ResourceManager::setUseAddOns:, Universe::setUseAddOns:fromSaveGame:forceReinit:, OOSoundMixer::shutdown, ShipEntity(PureAI)::storeTarget, OORegExpMatcher::string:matchesExpression:flags:, SVGDumpBegin(), SVGDumpEnd(), PlayerEntity::switchHudTo:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::targetStation, ShipEntity::thankedShip, UnregisterObjectConverters(), PlayerEntity(OOPrivate)::updateTargeting, OOScriptTimer::updateTimers, PlayerEntity(OOPrivate)::witchStart, and OOCacheManager(Private)::writeDict:.

◆ foreach

#define foreach ( VAR,
COLLECTION )
Value:
for(VAR in COLLECTION)

Definition at line 365 of file OOCocoa.h.

◆ foreachkey

◆ OOLITE_64_BIT

#define OOLITE_64_BIT   0

Definition at line 267 of file OOCocoa.h.

◆ OOLITE_DEBUG

#define OOLITE_DEBUG   1

Definition at line 36 of file OOCocoa.h.

◆ OOLITE_ESPEAK

#define OOLITE_ESPEAK   0

Definition at line 263 of file OOCocoa.h.

◆ OOLITE_FAST_ENUMERATION

#define OOLITE_FAST_ENUMERATION   1

Definition at line 336 of file OOCocoa.h.

◆ OOLITE_GNUSTEP

#define OOLITE_GNUSTEP   0

Definition at line 239 of file OOCocoa.h.

◆ OOLITE_HAVE_CLANG

#define OOLITE_HAVE_CLANG   0

Definition at line 106 of file OOCocoa.h.

◆ OOLITE_LINUX

#define OOLITE_LINUX   0

Definition at line 251 of file OOCocoa.h.

◆ OOLITE_MAC_OS_X

#define OOLITE_MAC_OS_X   1

Definition at line 67 of file OOCocoa.h.

◆ OOLITE_MAC_OS_X_10_7

#define OOLITE_MAC_OS_X_10_7   0

Definition at line 95 of file OOCocoa.h.

◆ OOLITE_MAC_OS_X_10_8

#define OOLITE_MAC_OS_X_10_8   0

Definition at line 99 of file OOCocoa.h.

◆ OOLITE_OPTIONAL

#define OOLITE_OPTIONAL ( protocolName)
Value:
@optional

Definition at line 395 of file OOCocoa.h.

◆ OOLITE_PROPERTY_SYNTAX

#define OOLITE_PROPERTY_SYNTAX   (OOLITE_MAC_OS_X || OOLITE_HAVE_CLANG)

Definition at line 271 of file OOCocoa.h.

◆ OOLITE_RELEASE_PLIST_ERROR_STRINGS

#define OOLITE_RELEASE_PLIST_ERROR_STRINGS   1

Definition at line 304 of file OOCocoa.h.

◆ OOLITE_SDL

#define OOLITE_SDL   0

Definition at line 255 of file OOCocoa.h.

◆ OOLITE_SPEECH_SYNTH

#define OOLITE_SPEECH_SYNTH   1

Definition at line 68 of file OOCocoa.h.

◆ OOLITE_WINDOWS

#define OOLITE_WINDOWS   0

Definition at line 247 of file OOCocoa.h.

Referenced by MyOpenGLView::init, and main().

Typedef Documentation

◆ NSWindowStyleMask

typedef NSUInteger NSWindowStyleMask

Definition at line 89 of file OOCocoa.h.

◆ OOComparisonResult

typedef NSInteger OOComparisonResult

Definition at line 315 of file OOCocoa.h.