diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llvoavatar.cpp | 378 |
1 files changed, 197 insertions, 181 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index 9c6d646..41d1c88 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp | |||
@@ -3228,8 +3228,18 @@ bool LLVOAvatar::loadClientTags() | |||
3228 | void LLVOAvatar::resolveClient(LLColor4& avatar_name_color, std::string& client, LLVOAvatar* avatar) | 3228 | void LLVOAvatar::resolveClient(LLColor4& avatar_name_color, std::string& client, LLVOAvatar* avatar) |
3229 | { | 3229 | { |
3230 | LLUUID idx = avatar->getTE(0)->getID(); | 3230 | LLUUID idx = avatar->getTE(0)->getID(); |
3231 | if(LLVOAvatar::sClientResolutionList.has("isComplete") | 3231 | |
3232 | && LLVOAvatar::sClientResolutionList.has(idx.asString())) | 3232 | // We start locally with Imprudence in case the user has a local color they prefer. |
3233 | // This means clientside colors for Imp will always override any on the website. | ||
3234 | // If you're going to add a new color, a new UUID needs to be added -- MC | ||
3235 | if(idx == LLUUID("cc7a030f-282f-c165-44d2-b5ee572e72bf")) | ||
3236 | { | ||
3237 | // defaults to LLColor4(0.79f,0.44f,0.88f) | ||
3238 | avatar_name_color = gSavedSettings.getColor4("ImprudenceTagColor"); //Imprudence | ||
3239 | client = "Imprudence"; | ||
3240 | } | ||
3241 | else if (LLVOAvatar::sClientResolutionList.has("isComplete") && | ||
3242 | LLVOAvatar::sClientResolutionList.has(idx.asString())) | ||
3233 | { | 3243 | { |
3234 | LLSD cllsd = LLVOAvatar::sClientResolutionList[idx.asString()]; | 3244 | LLSD cllsd = LLVOAvatar::sClientResolutionList[idx.asString()]; |
3235 | client = cllsd["name"].asString(); | 3245 | client = cllsd["name"].asString(); |
@@ -3238,187 +3248,193 @@ void LLVOAvatar::resolveClient(LLColor4& avatar_name_color, std::string& client, | |||
3238 | avatar_name_color += colour; | 3248 | avatar_name_color += colour; |
3239 | avatar_name_color *= 1.0/(cllsd["multiple"].asReal()+1.0f); | 3249 | avatar_name_color *= 1.0/(cllsd["multiple"].asReal()+1.0f); |
3240 | } | 3250 | } |
3241 | else | 3251 | else if(idx == LLUUID("2a9a406c-f448-68f2-4e38-878f8c46c190") || |
3242 | { | ||
3243 | |||
3244 | if(idx == LLUUID("cc7a030f-282f-c165-44d2-b5ee572e72bf")) | ||
3245 | { | ||
3246 | // defaults to LLColor4(0.79f,0.44f,0.88f) | ||
3247 | avatar_name_color = gSavedSettings.getColor4("ImprudenceTagColor"); //Imprudence | ||
3248 | client = "Imprudence"; | ||
3249 | |||
3250 | }else if(idx == LLUUID("2a9a406c-f448-68f2-4e38-878f8c46c190") || | ||
3251 | idx == LLUUID("b6820989-bf42-ff59-ddde-fd3fd3a74fe4")) | 3252 | idx == LLUUID("b6820989-bf42-ff59-ddde-fd3fd3a74fe4")) |
3252 | { | 3253 | { |
3253 | avatar_name_color += LLColor4(1.0f,0.9f,0.7f);//Meerkat | 3254 | avatar_name_color += LLColor4(1.0f,0.9f,0.7f);//Meerkat |
3254 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | 3255 | avatar_name_color = avatar_name_color * (F32)0.333333333333; |
3255 | client = "Meerkat"; | 3256 | client = "Meerkat"; |
3256 | }else if(idx == LLUUID("b32f01bc-f9b3-4535-b1f3-99dc38f022db")) | 3257 | } |
3257 | { | 3258 | else if(idx == LLUUID("b32f01bc-f9b3-4535-b1f3-99dc38f022db")) |
3258 | avatar_name_color = LLColor4(0.8f,1.0f,0.0f,1.0f);//Meta7 | 3259 | { |
3259 | client = "Meta7"; | 3260 | avatar_name_color = LLColor4(0.8f,1.0f,0.0f,1.0f);//Meta7 |
3260 | }else if(idx == LLUUID("ccda2b3b-e72c-a112-e126-fee238b67218")) | 3261 | client = "Meta7"; |
3261 | { | 3262 | } |
3262 | avatar_name_color += LLColor4::green;//emerald | 3263 | else if(idx == LLUUID("ccda2b3b-e72c-a112-e126-fee238b67218")) |
3263 | avatar_name_color += LLColor4::green; | 3264 | { |
3264 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | 3265 | avatar_name_color += LLColor4::green;//emerald |
3265 | client = "Emerald"; | 3266 | avatar_name_color += LLColor4::green; |
3266 | }else if(idx == LLUUID("c252d89d-6f7c-7d90-f430-d140d2e3fbbe")) | 3267 | avatar_name_color = avatar_name_color * (F32)0.333333333333; |
3267 | { | 3268 | client = "Emerald"; |
3268 | avatar_name_color += LLColor4::red;//vlife jcool410 | ||
3269 | avatar_name_color = avatar_name_color * 0.5; | ||
3270 | client = "VLife"; | ||
3271 | }else if(idx == LLUUID("adcbe893-7643-fd12-f61c-0b39717e2e32")) | ||
3272 | { | ||
3273 | avatar_name_color += LLColor4::pink;//tyk3n | ||
3274 | avatar_name_color = avatar_name_color * 0.5; | ||
3275 | client = "tyk3n"; | ||
3276 | }else if(idx == LLUUID("f3fd74a6-fee7-4b2f-93ae-ddcb5991da04") || | ||
3277 | idx == LLUUID("77662f23-c77a-9b4d-5558-26b757b2144c")) | ||
3278 | { | ||
3279 | avatar_name_color += (LLColor4::purple);//psl | ||
3280 | avatar_name_color = avatar_name_color * 0.5; | ||
3281 | client = "PSL"; | ||
3282 | }else if(idx == LLUUID("5aa5c70d-d787-571b-0495-4fc1bdef1500")) | ||
3283 | { | ||
3284 | avatar_name_color += LLColor4::red;//lordgreg | ||
3285 | avatar_name_color += LLColor4::red; | ||
3286 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3287 | client = "LGG proxy"; | ||
3288 | }else if(idx == LLUUID("8183e823-c443-2142-6eb6-2ab763d4f81c")) | ||
3289 | { | ||
3290 | avatar_name_color += LLColor4::blue;//day oh | ||
3291 | avatar_name_color = avatar_name_color * 0.5; | ||
3292 | client = "Day Oh proxy"; | ||
3293 | }else if(idx == LLUUID("e52d21f7-3c8b-819f-a3db-65c432295dac") || | ||
3294 | idx == LLUUID("0f6723d2-5b23-6b58-08ab-308112b33786") || | ||
3295 | idx == LLUUID("7c4d47a3-0c51-04d1-fa47-e4f3ac12f59b") || | ||
3296 | idx == LLUUID("d0091f21-1eef-a4ad-b358-249a8e5432ea")) | ||
3297 | { | ||
3298 | avatar_name_color += LLColor4::cyan;//cryolife | ||
3299 | avatar_name_color += LLColor4::cyan; | ||
3300 | avatar_name_color = avatar_name_color * 0.5; | ||
3301 | client = "CryoLife"; | ||
3302 | }else if(idx == LLUUID("0bcd5f5d-a4ce-9ea4-f9e8-15132653b3d8")) | ||
3303 | { | ||
3304 | avatar_name_color += LLColor4::pink;//moy | ||
3305 | avatar_name_color += LLColor4::pink;//moy | ||
3306 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3307 | client = "MoyMix"; | ||
3308 | }else if(idx == LLUUID("f5a48821-9a98-d09e-8d6a-50cc08ba9a47") || | ||
3309 | idx == LLUUID("d95e0d9a-4d40-ea1b-a054-8db87f583f58")) | ||
3310 | { | ||
3311 | avatar_name_color += LLColor4::yellow;//neil | ||
3312 | avatar_name_color += LLColor4::yellow;//neil | ||
3313 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3314 | client = "NeilLife"; | ||
3315 | }else if(idx == LLUUID("2c9c1e0b-e5d1-263e-16b1-7fc6d169f3d6")) | ||
3316 | { | ||
3317 | avatar_name_color += LLColor4(0.0f,1.0f,1.0f); | ||
3318 | avatar_name_color = avatar_name_color * 0.5;//phox | ||
3319 | client = "PhoxSL"; | ||
3320 | }else if(idx == LLUUID("c5b570ca-bb7e-3c81-afd1-f62646b20014")) | ||
3321 | { | ||
3322 | avatar_name_color += LLColor4::white; | ||
3323 | avatar_name_color += LLColor4::white; | ||
3324 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3325 | client = "Kung Fu"; | ||
3326 | }else if(idx == LLUUID("9422e9d7-7b11-83e4-6262-4a8db4716a3b")) | ||
3327 | { | ||
3328 | avatar_name_color += LLColor4::magenta; | ||
3329 | avatar_name_color += LLColor4::magenta; | ||
3330 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3331 | client = "BetaLife"; | ||
3332 | }else if(idx == LLUUID("872c0005-3095-0967-866d-11cd71115c22")) | ||
3333 | { | ||
3334 | avatar_name_color += LLColor4::green;//SimFed Poland | ||
3335 | avatar_name_color += LLColor4::blue;//SimFed Poland | ||
3336 | avatar_name_color += LLColor4::blue;//SimFed Poland | ||
3337 | avatar_name_color = avatar_name_color * 0.5; | ||
3338 | client = "Copybotter"; | ||
3339 | }else if(idx == LLUUID("3ab7e2fa-9572-ef36-1a30-d855dbea4f92") || //wat | ||
3340 | idx == LLUUID("11ad2452-ce54-8d65-7c23-05589b59f516") ||//wat. | ||
3341 | idx == LLUUID("e734563e-1c31-2a35-3ed5-8552c807439f") ||//wat. | ||
3342 | idx == LLUUID("58a8b7ec-1455-7162-5d96-d3c3ead2ed71") ||//wat | ||
3343 | idx == LLUUID("841ef25b-3b90-caf9-ea3d-5649e755db65")) //wat -.- | ||
3344 | { | ||
3345 | avatar_name_color += LLColor4(0.0f,0.5f,1.0f); | ||
3346 | avatar_name_color = avatar_name_color * 0.5; | ||
3347 | client = "VerticalLife"; | ||
3348 | }else if(idx == LLUUID("4e8dcf80-336b-b1d8-ef3e-08dacf015a0f")) | ||
3349 | { | ||
3350 | avatar_name_color += LLColor4::blue; //Sapphire | ||
3351 | avatar_name_color += LLColor4::blue; //Sapphire | ||
3352 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3353 | client = "Sapphire"; | ||
3354 | }else if(idx == LLUUID("ffce04ff-5303-4909-a044-d37af7ab0b0e")) | ||
3355 | { | ||
3356 | avatar_name_color += LLColor4::orange; //corgiVision | ||
3357 | avatar_name_color = avatar_name_color * (F32)0.75; | ||
3358 | client = "Corgi"; | ||
3359 | }else if(idx == LLUUID("ccb509cf-cc69-e569-38f1-5086c687afd1")) | ||
3360 | { | ||
3361 | avatar_name_color += LLColor4::red; //Ruby | ||
3362 | avatar_name_color += LLColor4::purple; //Ruby | ||
3363 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3364 | client = "Ruby"; | ||
3365 | }else if(idx == LLUUID("1c29480c-c608-df87-28bb-964fb64c5366")) | ||
3366 | { | ||
3367 | avatar_name_color += LLColor4::yellow9; | ||
3368 | avatar_name_color += LLColor4::yellow9; | ||
3369 | avatar_name_color *= (F32)0.333333333333; | ||
3370 | client = "Gemini"; | ||
3371 | } | ||
3372 | else if(idx == LLUUID("3da8a69a-58ca-023f-2161-57f2ab3b5702")) | ||
3373 | { | ||
3374 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3375 | client = "Operator"; | ||
3376 | } | ||
3377 | else if(idx == LLUUID("4da16427-d81e-e816-f346-aaf4741b8056")) | ||
3378 | { | ||
3379 | avatar_name_color = LLColor4(2.0f,2.0f,2.0f); | ||
3380 | avatar_name_color *= 0.33f; | ||
3381 | client = "iLife"; | ||
3382 | } | ||
3383 | else if(idx == LLUUID("5262d71a-88f7-ef40-3b15-00ea148ab4b5")) | ||
3384 | { | ||
3385 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3386 | client = "Gemini.Bot"; | ||
3387 | } | ||
3388 | else if(idx == LLUUID("81b3e921-ee31-aa57-ff9b-ec1f28e41da1")) | ||
3389 | { | ||
3390 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3391 | client = "Infinity"; | ||
3392 | } | ||
3393 | else if(idx == LLUUID("d3eb4a5f-aec5-4bcb-b007-cce9efe89d37")) | ||
3394 | { | ||
3395 | avatar_name_color = LLColor4(0.0f,0.6f,0.0f); | ||
3396 | avatar_name_color *= 0.33f; | ||
3397 | client = "rivlife"; | ||
3398 | } | ||
3399 | else if(idx == LLUUID("f12457b5-762e-52a7-efad-8f17f3b022ee")) | ||
3400 | { | ||
3401 | avatar_name_color = LLColor4(0.69f,0.8f,1.6f); | ||
3402 | avatar_name_color *= 0.5f; | ||
3403 | client = "Anti-Life"; | ||
3404 | } | ||
3405 | else if(idx == LLUUID("f5feab57-bde5-2074-97af-517290213eaa") || | ||
3406 | idx == LLUUID("e6f9c019-8783-dc3e-b265-41f1510333fc")) | ||
3407 | { | ||
3408 | avatar_name_color = LLColor4(0.4f,0.4f,0.4f); | ||
3409 | client = "Onyx"; | ||
3410 | } | ||
3411 | else if(idx == LLUUID("c58fca06-33b3-827d-d81c-a886a631affc")) | ||
3412 | { | ||
3413 | avatar_name_color = LLColor4(1.0f,0.61176f,0.0f); | ||
3414 | client = "Whale"; | ||
3415 | } | ||
3416 | else if(idx == LLUUID("9ba526b6-f43d-6b60-42de-ce62a25ee7fb")) | ||
3417 | { | ||
3418 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3419 | client = "nolife"; | ||
3420 | } | ||
3421 | } | 3269 | } |
3270 | else if(idx == LLUUID("c252d89d-6f7c-7d90-f430-d140d2e3fbbe")) | ||
3271 | { | ||
3272 | avatar_name_color += LLColor4::red;//vlife jcool410 | ||
3273 | avatar_name_color = avatar_name_color * 0.5; | ||
3274 | client = "VLife"; | ||
3275 | } | ||
3276 | else if(idx == LLUUID("adcbe893-7643-fd12-f61c-0b39717e2e32")) | ||
3277 | { | ||
3278 | avatar_name_color += LLColor4::pink;//tyk3n | ||
3279 | avatar_name_color = avatar_name_color * 0.5; | ||
3280 | client = "tyk3n"; | ||
3281 | } | ||
3282 | else if(idx == LLUUID("f3fd74a6-fee7-4b2f-93ae-ddcb5991da04") || | ||
3283 | idx == LLUUID("77662f23-c77a-9b4d-5558-26b757b2144c")) | ||
3284 | { | ||
3285 | avatar_name_color += (LLColor4::purple);//psl | ||
3286 | avatar_name_color = avatar_name_color * 0.5; | ||
3287 | client = "PSL"; | ||
3288 | } | ||
3289 | else if(idx == LLUUID("5aa5c70d-d787-571b-0495-4fc1bdef1500")) | ||
3290 | { | ||
3291 | avatar_name_color += LLColor4::red;//lordgreg | ||
3292 | avatar_name_color += LLColor4::red; | ||
3293 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3294 | client = "LGG proxy"; | ||
3295 | } | ||
3296 | else if(idx == LLUUID("8183e823-c443-2142-6eb6-2ab763d4f81c")) | ||
3297 | { | ||
3298 | avatar_name_color += LLColor4::blue;//day oh | ||
3299 | avatar_name_color = avatar_name_color * 0.5; | ||
3300 | client = "Day Oh proxy"; | ||
3301 | } | ||
3302 | else if(idx == LLUUID("e52d21f7-3c8b-819f-a3db-65c432295dac") || | ||
3303 | idx == LLUUID("0f6723d2-5b23-6b58-08ab-308112b33786") || | ||
3304 | idx == LLUUID("7c4d47a3-0c51-04d1-fa47-e4f3ac12f59b") || | ||
3305 | idx == LLUUID("d0091f21-1eef-a4ad-b358-249a8e5432ea")) | ||
3306 | { | ||
3307 | avatar_name_color += LLColor4::cyan;//cryolife | ||
3308 | avatar_name_color += LLColor4::cyan; | ||
3309 | avatar_name_color = avatar_name_color * 0.5; | ||
3310 | client = "CryoLife"; | ||
3311 | } | ||
3312 | else if(idx == LLUUID("0bcd5f5d-a4ce-9ea4-f9e8-15132653b3d8")) | ||
3313 | { | ||
3314 | avatar_name_color += LLColor4::pink;//moy | ||
3315 | avatar_name_color += LLColor4::pink;//moy | ||
3316 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3317 | client = "MoyMix"; | ||
3318 | } | ||
3319 | else if(idx == LLUUID("f5a48821-9a98-d09e-8d6a-50cc08ba9a47") || | ||
3320 | idx == LLUUID("d95e0d9a-4d40-ea1b-a054-8db87f583f58")) | ||
3321 | { | ||
3322 | avatar_name_color += LLColor4::yellow;//neil | ||
3323 | avatar_name_color += LLColor4::yellow;//neil | ||
3324 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3325 | client = "NeilLife"; | ||
3326 | } | ||
3327 | else if(idx == LLUUID("2c9c1e0b-e5d1-263e-16b1-7fc6d169f3d6")) | ||
3328 | { | ||
3329 | avatar_name_color += LLColor4(0.0f,1.0f,1.0f); | ||
3330 | avatar_name_color = avatar_name_color * 0.5;//phox | ||
3331 | client = "PhoxSL"; | ||
3332 | } | ||
3333 | else if(idx == LLUUID("c5b570ca-bb7e-3c81-afd1-f62646b20014")) | ||
3334 | { | ||
3335 | avatar_name_color += LLColor4::white; | ||
3336 | avatar_name_color += LLColor4::white; | ||
3337 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3338 | client = "Kung Fu"; | ||
3339 | } | ||
3340 | else if(idx == LLUUID("9422e9d7-7b11-83e4-6262-4a8db4716a3b")) | ||
3341 | { | ||
3342 | avatar_name_color += LLColor4::magenta; | ||
3343 | avatar_name_color += LLColor4::magenta; | ||
3344 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3345 | client = "BetaLife"; | ||
3346 | } | ||
3347 | else if(idx == LLUUID("872c0005-3095-0967-866d-11cd71115c22")) | ||
3348 | { | ||
3349 | avatar_name_color += LLColor4::green;//SimFed Poland | ||
3350 | avatar_name_color += LLColor4::blue;//SimFed Poland | ||
3351 | avatar_name_color += LLColor4::blue;//SimFed Poland | ||
3352 | avatar_name_color = avatar_name_color * 0.5; | ||
3353 | client = "Copybotter"; | ||
3354 | } | ||
3355 | else if(idx == LLUUID("3ab7e2fa-9572-ef36-1a30-d855dbea4f92") || //wat | ||
3356 | idx == LLUUID("11ad2452-ce54-8d65-7c23-05589b59f516") ||//wat. | ||
3357 | idx == LLUUID("e734563e-1c31-2a35-3ed5-8552c807439f") ||//wat. | ||
3358 | idx == LLUUID("58a8b7ec-1455-7162-5d96-d3c3ead2ed71") ||//wat | ||
3359 | idx == LLUUID("841ef25b-3b90-caf9-ea3d-5649e755db65")) //wat -.- | ||
3360 | { | ||
3361 | avatar_name_color += LLColor4(0.0f,0.5f,1.0f); | ||
3362 | avatar_name_color = avatar_name_color * 0.5; | ||
3363 | client = "VerticalLife"; | ||
3364 | }else if(idx == LLUUID("4e8dcf80-336b-b1d8-ef3e-08dacf015a0f")) | ||
3365 | { | ||
3366 | avatar_name_color += LLColor4::blue; //Sapphire | ||
3367 | avatar_name_color += LLColor4::blue; //Sapphire | ||
3368 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3369 | client = "Sapphire"; | ||
3370 | }else if(idx == LLUUID("ffce04ff-5303-4909-a044-d37af7ab0b0e")) | ||
3371 | { | ||
3372 | avatar_name_color += LLColor4::orange; //corgiVision | ||
3373 | avatar_name_color = avatar_name_color * (F32)0.75; | ||
3374 | client = "Corgi"; | ||
3375 | }else if(idx == LLUUID("ccb509cf-cc69-e569-38f1-5086c687afd1")) | ||
3376 | { | ||
3377 | avatar_name_color += LLColor4::red; //Ruby | ||
3378 | avatar_name_color += LLColor4::purple; //Ruby | ||
3379 | avatar_name_color = avatar_name_color * (F32)0.333333333333; | ||
3380 | client = "Ruby"; | ||
3381 | }else if(idx == LLUUID("1c29480c-c608-df87-28bb-964fb64c5366")) | ||
3382 | { | ||
3383 | avatar_name_color += LLColor4::yellow9; | ||
3384 | avatar_name_color += LLColor4::yellow9; | ||
3385 | avatar_name_color *= (F32)0.333333333333; | ||
3386 | client = "Gemini"; | ||
3387 | } | ||
3388 | else if(idx == LLUUID("3da8a69a-58ca-023f-2161-57f2ab3b5702")) | ||
3389 | { | ||
3390 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3391 | client = "Operator"; | ||
3392 | } | ||
3393 | else if(idx == LLUUID("4da16427-d81e-e816-f346-aaf4741b8056")) | ||
3394 | { | ||
3395 | avatar_name_color = LLColor4(2.0f,2.0f,2.0f); | ||
3396 | avatar_name_color *= 0.33f; | ||
3397 | client = "iLife"; | ||
3398 | } | ||
3399 | else if(idx == LLUUID("5262d71a-88f7-ef40-3b15-00ea148ab4b5")) | ||
3400 | { | ||
3401 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3402 | client = "Gemini.Bot"; | ||
3403 | } | ||
3404 | else if(idx == LLUUID("81b3e921-ee31-aa57-ff9b-ec1f28e41da1")) | ||
3405 | { | ||
3406 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3407 | client = "Infinity"; | ||
3408 | } | ||
3409 | else if(idx == LLUUID("d3eb4a5f-aec5-4bcb-b007-cce9efe89d37")) | ||
3410 | { | ||
3411 | avatar_name_color = LLColor4(0.0f,0.6f,0.0f); | ||
3412 | avatar_name_color *= 0.33f; | ||
3413 | client = "rivlife"; | ||
3414 | } | ||
3415 | else if(idx == LLUUID("f12457b5-762e-52a7-efad-8f17f3b022ee")) | ||
3416 | { | ||
3417 | avatar_name_color = LLColor4(0.69f,0.8f,1.6f); | ||
3418 | avatar_name_color *= 0.5f; | ||
3419 | client = "Anti-Life"; | ||
3420 | } | ||
3421 | else if(idx == LLUUID("f5feab57-bde5-2074-97af-517290213eaa") || | ||
3422 | idx == LLUUID("e6f9c019-8783-dc3e-b265-41f1510333fc")) | ||
3423 | { | ||
3424 | avatar_name_color = LLColor4(0.4f,0.4f,0.4f); | ||
3425 | client = "Onyx"; | ||
3426 | } | ||
3427 | else if(idx == LLUUID("c58fca06-33b3-827d-d81c-a886a631affc")) | ||
3428 | { | ||
3429 | avatar_name_color = LLColor4(1.0f,0.61176f,0.0f); | ||
3430 | client = "Whale"; | ||
3431 | } | ||
3432 | else if(idx == LLUUID("9ba526b6-f43d-6b60-42de-ce62a25ee7fb")) | ||
3433 | { | ||
3434 | avatar_name_color = LLColor4(1.0f,1.0f,1.0f); | ||
3435 | client = "nolife"; | ||
3436 | } | ||
3437 | |||
3422 | if(client.empty()) | 3438 | if(client.empty()) |
3423 | { | 3439 | { |
3424 | LLPointer<LLViewerImage> image_point = gImageList.getImage(idx, MIPMAP_YES, IMMEDIATE_NO); | 3440 | LLPointer<LLViewerImage> image_point = gImageList.getImage(idx, MIPMAP_YES, IMMEDIATE_NO); |