Go to the source code of this file.
◆ ADD_FLAG_IF_SET
#define ADD_FLAG_IF_SET |
( |
| x | ) |
|
Value:if (
x) { [flags addObject:@#x]; }
◆ OO_SETACCESSCONDITIONFORROW
#define OO_SETACCESSCONDITIONFORROW |
( |
| condition, |
|
|
| row ) |
Value: do { \
if ((condition)) \
{ \
[gui setKey:GUI_KEY_OK forRow:(row)]; \
} \
else \
{ \
} \
} while(0)
◆ PLAYER_DEFAULT_NAME
#define PLAYER_DEFAULT_NAME @"Jameson" |
◆ STAGE_TRACKING_BEGIN
#define STAGE_TRACKING_BEGIN |
Value: { \
NSString * volatile updateStage = @"initialisation"; \
@try {
Definition at line 2600 of file PlayerEntity.m.
2600#define STAGE_TRACKING_BEGIN { \
2601 NSString * volatile updateStage = @"initialisation"; \
2602 @try {
◆ STAGE_TRACKING_END
#define STAGE_TRACKING_END |
Value: } \
@catch (NSException *exception) \
{ \
OOLog(
kOOLogException,
@"***** Exception during [%@] in %s : %@ : %@ *****", updateStage, __PRETTY_FUNCTION__, [exception name], [exception reason]); \
@throw exception; \
} \
}
NSString *const kOOLogException
Definition at line 2603 of file PlayerEntity.m.
2603#define STAGE_TRACKING_END } \
2604 @catch (NSException *exception) \
2605 { \
2606 OOLog(kOOLogException, @"***** Exception during [%@] in %s : %@ : %@ *****", updateStage, __PRETTY_FUNCTION__, [exception name], [exception reason]); \
2607 @throw exception; \
2608 } \
2609 }
◆ UPDATE_STAGE
#define UPDATE_STAGE |
( |
| x | ) |
|
◆ VELOCITY_CLEANUP_FULL
#define VELOCITY_CLEANUP_FULL 5000.0f |
◆ VELOCITY_CLEANUP_MIN
#define VELOCITY_CLEANUP_MIN 2000.0f |
◆ VELOCITY_CLEANUP_RATE
#define VELOCITY_CLEANUP_RATE 0.001f |
◆ anonymous enum
Enumerator |
---|
kCommLogTrimThreshold | |
kCommLogTrimSize | |
Definition at line 92 of file PlayerEntity.m.
◆ marketSorterByMassUnit()
NSComparisonResult marketSorterByMassUnit |
( |
id | a, |
|
|
id | b, |
|
|
void * | market ) |
Definition at line 13699 of file PlayerEntity.m.
13700{
13703 if (result < 0)
13704 {
13705 return NSOrderedAscending;
13706 }
13707 else if (result > 0)
13708 {
13709 return NSOrderedDescending;
13710 }
13711 else
13712 {
13713 return NSOrderedSame;
13714 }
13715}
NSString * OOCommodityType
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
◆ marketSorterByName()
NSComparisonResult marketSorterByName |
( |
id | a, |
|
|
id | b, |
|
|
void * | market ) |
◆ marketSorterByPrice()
NSComparisonResult marketSorterByPrice |
( |
id | a, |
|
|
id | b, |
|
|
void * | market ) |
Definition at line 13661 of file PlayerEntity.m.
13662{
13665 if (result < 0)
13666 {
13667 return NSOrderedAscending;
13668 }
13669 else if (result > 0)
13670 {
13671 return NSOrderedDescending;
13672 }
13673 else
13674 {
13675 return NSOrderedSame;
13676 }
13677}
References int(), and OOCommodityMarket::priceForGood:.
◆ marketSorterByQuantity()
NSComparisonResult marketSorterByQuantity |
( |
id | a, |
|
|
id | b, |
|
|
void * | market ) |
Definition at line 13680 of file PlayerEntity.m.
13681{
13684 if (result < 0)
13685 {
13686 return NSOrderedAscending;
13687 }
13688 else if (result > 0)
13689 {
13690 return NSOrderedDescending;
13691 }
13692 else
13693 {
13694 return NSOrderedSame;
13695 }
13696}
References int(), and OOCommodityMarket::quantityForGood:.
◆ gOOPlayer
◆ kDeadResetTime
float const kDeadResetTime = 30.0f |
|
static |
◆ kOOLogBuyMountedFailed
NSString* const kOOLogBuyMountedFailed = @"equip.buy.mounted.failed" |
|
static |
◆ kOOLogBuyMountedOK
NSString* const kOOLogBuyMountedOK = @"equip.buy.mounted" |
|
static |
◆ last_outfitting_key
NSString* last_outfitting_key =nil |
|
static |
◆ sBaseMass