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 13735 of file PlayerEntity.m.
13736{
13739 if (result < 0)
13740 {
13741 return NSOrderedAscending;
13742 }
13743 else if (result > 0)
13744 {
13745 return NSOrderedDescending;
13746 }
13747 else
13748 {
13749 return NSOrderedSame;
13750 }
13751}
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 13697 of file PlayerEntity.m.
13698{
13701 if (result < 0)
13702 {
13703 return NSOrderedAscending;
13704 }
13705 else if (result > 0)
13706 {
13707 return NSOrderedDescending;
13708 }
13709 else
13710 {
13711 return NSOrderedSame;
13712 }
13713}
References int(), and OOCommodityMarket::priceForGood:.
◆ marketSorterByQuantity()
NSComparisonResult marketSorterByQuantity |
( |
id | a, |
|
|
id | b, |
|
|
void * | market ) |
Definition at line 13716 of file PlayerEntity.m.
13717{
13720 if (result < 0)
13721 {
13722 return NSOrderedAscending;
13723 }
13724 else if (result > 0)
13725 {
13726 return NSOrderedDescending;
13727 }
13728 else
13729 {
13730 return NSOrderedSame;
13731 }
13732}
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