46#define NO_DRAW_DISTANCE_FACTOR 1024.0
47#define ABSOLUTE_NO_DRAW_DISTANCE2 (2500.0 * 2500.0 * NO_DRAW_DISTANCE_FACTOR * NO_DRAW_DISTANCE_FACTOR)
51#define SCANNER_MAX_RANGE 25600.0
52#define SCANNER_MAX_RANGE2 655360000.0
54#define CLOSE_COLLISION_CHECK_MAX_RANGE2 1000000000.0
57#define ENTRY(label, value) label = value,
61 #include "OOEntityStatus.tbl"
65#ifndef OO_SCANCLASS_TYPE
66#define OO_SCANCLASS_TYPE
72 #include "OOScanClass.tbl"
162- (NSUInteger) sessionID;
197- (void) setThrowSparks:(BOOL)value;
200- (void) setOwner:(
Entity *)ent;
205- (void) setPosition:(HPVector)posn;
214- (Vector) vectorTo:(
Entity *)entity;
217- (HPVector) absolutePositionForSubentityOffset:(HPVector) offset;
221- (NSComparisonResult) compareZeroDistance:(
Entity *)otherEntity;
228- (void) setOrientation:(Quaternion) quat;
230- (void) setNormalOrientation:(Quaternion) quat;
233- (void) setVelocity:(Vector)vel;
238- (void) setDistanceTravelled:(GLfloat)value;
247- (void) setEnergy:(GLfloat)amount;
250- (void) setMaxEnergy:(GLfloat)amount;
253- (void) applyRoll:(GLfloat)roll andClimb:(GLfloat)climb;
254- (void) applyRoll:(GLfloat)roll climb:(GLfloat) climb andYaw:(GLfloat)yaw;
255- (void) moveForward:(
double)amount;
265- (void) setCollisionRadius:(GLfloat)amount;
271- (BOOL) checkCloseCollisionWith:(
Entity *)other;
273- (void) takeEnergyDamage:(
double)amount from:(
Entity *)ent becauseOf:(
Entity *)other weaponIdentifier:(NSString *)weaponIdentifier;
280- (void) drawImmediate:(
bool)immediate translucent:(
bool)translucent;
289- (void) setAtmosphereFogging: (
OOColor *) fogging;
301@protocol OOHUDBeaconIcon;
304@protocol OOBeaconEntity
306- (NSComparisonResult) compareBeaconCodeWith:(
Entity <OOBeaconEntity>*) other;
308- (void) setBeaconCode:(NSString *)bcode;
310- (void) setBeaconLabel:(NSString *)blabel;
315- (void) setPrevBeacon:(
Entity <OOBeaconEntity> *)beaconShip;
316- (void) setNextBeacon:(
Entity <OOBeaconEntity> *)beaconShip;
OOEntityStatus OOEntityStatusFromString(NSString *string) PURE_FUNC
OOScanClass OOScanClassFromString(NSString *string) PURE_FUNC
NSString * OOStringFromScanClass(OOScanClass scanClass) CONST_FUNC
NSString * OOStringFromEntityStatus(OOEntityStatus status) CONST_FUNC
uint32_t gLiveEntityCount
size_t gTotalEntityMemory
unsigned isImmuneToBreakPatternHide
BOOL validForAddToUniverse()
void wasAddedToUniverse()
OOColor * atmosphereFogging
void removeFromLinkedLists()
GLfloat timeElapsedSinceSpawn()
CollisionRegion * collisionRegion
OOUniversalID universalID
HPVector absolutePositionForSubentity()
NSMutableArray * collisionArray()
NSMutableArray * collidingEntities
NSString * descriptionForObjDumpBasic()
GLfloat cameraRangeFront()
void updateCameraRelativePosition()
unsigned collisionTestFilter
GLfloat collisionRadius()
void wasRemovedFromUniverse()
void orientationChanged()
Vector cameraRelativePosition
GLfloat cam_zero_distance
GLfloat distanceTravelled
OOMatrix transformationMatrix()
OOMatrix drawTransformationMatrix()
ShipEntity * rootShipEntity()
GLfloat cameraRangeBack()
Quaternion lastOrientation
NSString * descriptionForObjDump()
struct JSObject * _jsSelf
OOMatrix rotationMatrix()
Quaternion normalOrientation()
OOUniversalID shadingEntityID
ShipEntity * parentEntity()
unsigned isExplicitlyNotMainStation
double findCollisionRadius()
OOMatrix drawRotationMatrix()
Entity< OOBeaconEntity > * nextBeacon()
id< OOHUDBeaconIcon > beaconDrawable()
Entity< OOBeaconEntity > * prevBeacon()