Go to the source code of this file.
◆ ADD_FLAG_IF_SET
| #define ADD_FLAG_IF_SET |
( |
|
x | ) |
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 2605 of file PlayerEntity.m.
◆ 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 2608 of file PlayerEntity.m.
◆ UPDATE_STAGE
| #define UPDATE_STAGE |
( |
|
x | ) |
do { updateStage = (x); } while (0) |
◆ 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 13727 of file PlayerEntity.m.
13728{
13731 if (result < 0)
13732 {
13733 return NSOrderedAscending;
13734 }
13735 else if (result > 0)
13736 {
13737 return NSOrderedDescending;
13738 }
13739 else
13740 {
13741 return NSOrderedSame;
13742 }
13743}
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 13689 of file PlayerEntity.m.
13690{
13693 if (result < 0)
13694 {
13695 return NSOrderedAscending;
13696 }
13697 else if (result > 0)
13698 {
13699 return NSOrderedDescending;
13700 }
13701 else
13702 {
13703 return NSOrderedSame;
13704 }
13705}
References int(), and OOCommodityMarket::priceForGood:.
◆ marketSorterByQuantity()
| NSComparisonResult marketSorterByQuantity |
( |
id |
a, |
|
|
id |
b, |
|
|
void * |
market |
|
) |
| |
Definition at line 13708 of file PlayerEntity.m.
13709{
13712 if (result < 0)
13713 {
13714 return NSOrderedAscending;
13715 }
13716 else if (result > 0)
13717 {
13718 return NSOrderedDescending;
13719 }
13720 else
13721 {
13722 return NSOrderedSame;
13723 }
13724}
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