48- (id)initWithPListName:(NSString*)plistName
49 options:(uint32_t)options
50 anisotropy:(GLfloat)anisotropy
51 lodBias:(GLfloat)lodBias
55 NSArray* config =
nil;
56 NSUInteger i,
count, j;
91 for (i = 0; i !=
count; ++i) {
92 entry = [
config objectAtIndex:i];
94 if ([entry isKindOfClass:[NSDictionary
class]]) {
96 probability = [
entry oo_floatForKey:@"probability" defaultValue:1.0f];
97 object = [
entry objectForKey:@"galaxy"];
98 if ([
object isKindOfClass:[NSString
class]]) {
100 }
else if (
object !=
nil) {
101 OOLog(
@"textures.load",
@"***** ERROR: %@ for texture %@ is not a string.",
@"galaxy", name);
103 }
else if ([entry isKindOfClass:[NSString
class]]) {
110 if (name !=
nil && 0.0f < probability) {
116 if (texture !=
nil) {
119 _galaxy[_count] = (galID >= 0 ? galID : -1);
OOTexture * selectTexture()
id initWithPListName:options:anisotropy:lodBias:seed:(NSString *plistName,[options] uint32_t options,[anisotropy] GLfloat anisotropy,[lodBias] GLfloat lodBias,[seed] RANROTSeed seed)
id textureWithName:inFolder:options:anisotropy:lodBias:(NSString *name,[inFolder] NSString *directory,[options] OOTextureFlags options,[anisotropy] GLfloat anisotropy,[lodBias] GLfloat lodBias)
void ensureFinishedLoading()