32#define COLLISION_REGION_BORDER_RADIUS 32000.0f
33#define COLLISION_MAX_ENTITIES 128
34#define MINIMUM_SHADOWING_ENTITY_RADIUS 75.0
64- (id) initAtLocation:(HPVector) locn withRadius:(GLfloat) rad withinRegion:(
CollisionRegion*) otherRegion;
66- (void) clearSubregions;
67- (void) addSubregionAtPosition:(HPVector) pos withRadius:(GLfloat) rad;
70- (void) clearEntityList;
71- (void) addEntity:(
Entity *)ent;
72- (BOOL) checkEntity:(
Entity *)ent;
74- (void) findCollisions;
75- (void) findShadowedEntities;
78- (NSString *) collisionDescription;
80- (NSString *) debugOut;
BOOL shadowAtPointOcclusionToValue(HPVector e1pos, GLfloat e1rad, Entity *e2, OOSunEntity *the_sun, float *outValue)
NSMutableArray * subregions
CollisionRegion * parentRegion
unsigned checks_this_tick
unsigned checks_within_range