Oolite
Loading...
Searching...
No Matches
PlayerEntityContracts.m File Reference
import "PlayerEntityContracts.h"
import "HeadUpDisplay.h"
import "PlayerEntity.h"
import "PlayerEntityControls.h"
import "PlayerEntityLegacyScriptEngine.h"
import "ProxyPlayerEntity.h"
import "AI.h"
import "GuiDisplayGen.h"
import "MyOpenGLView.h"
import "NSStringOOExtensions.h"
import "OOCharacter.h"
import "OOCollectionExtractors.h"
import "OOColor.h"
import "OOConstToString.h"
import "OOEquipmentType.h"
import "OOJavaScriptEngine.h"
import "OOShipRegistry.h"
import "OOStringExpander.h"
import "OOStringParsing.h"
import "OOTexture.h"
import "ShipEntityAI.h"
import "StationEntity.h"
import "Universe.h"
Include dependency graph for PlayerEntityContracts.m:

Go to the source code of this file.

Classes

category  PlayerEntity(ContractsPrivate)

Macros

#define SET_MANIFEST_ROW(obj, color, row)

Functions

static unsigned RepForRisk (unsigned risk)

Variables

static NSMutableDictionary * currentShipyard = nil

Macro Definition Documentation

◆ SET_MANIFEST_ROW

#define SET_MANIFEST_ROW ( obj,
color,
row )
Value:
([self setManifestScreenRow:obj inColor:color forRow:row ofRows:max_rows andOffset:page_offset inMultipage:multi_page])

Definition at line 984 of file PlayerEntityContracts.m.

Referenced by PlayerEntity(Contracts)::setGuiToManifestScreen.

Function Documentation

◆ RepForRisk()

unsigned RepForRisk ( unsigned risk)
static

Definition at line 1764 of file PlayerEntityContracts.m.

1765{
1766 switch (risk) {
1767 case 0:
1768 return 1;
1769 case 1:
1770 return 2;
1771 case 2:
1772 default:
1773 return 4;
1774 }
1775}

Variable Documentation

◆ currentShipyard

NSMutableDictionary* currentShipyard = nil
static