diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llstartup.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llviewermessage.cpp | 36 | ||||
-rw-r--r-- | indra/newview/llviewermessage.h | 2 | ||||
-rw-r--r-- | indra/newview/llviewerprecompiledheaders.h | 1 |
4 files changed, 0 insertions, 41 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index a6a9447e39..c319ef97af 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2117,7 +2117,6 @@ BOOL idle_startup() msg->setHandlerFuncFast(_PREHASH_PreloadSound, process_preload_sound); msg->setHandlerFuncFast(_PREHASH_AttachedSound, process_attached_sound); msg->setHandlerFuncFast(_PREHASH_AttachedSoundGainChange, process_attached_sound_gain_change); - //msg->setHandlerFuncFast(_PREHASH_AttachedSoundCutoffRadius, process_attached_sound_cutoff_radius); llinfos << "Initialization complete" << llendl; @@ -2771,7 +2770,6 @@ void register_viewer_callbacks(LLMessageSystem* msg) msg->setHandlerFuncFast(_PREHASH_MeanCollisionAlert, process_mean_collision_alert_message, NULL); msg->setHandlerFunc("ViewerFrozenMessage", process_frozen_message); - //msg->setHandlerFuncFast(_PREHASH_RequestAvatarInfo, process_avatar_info_request); msg->setHandlerFuncFast(_PREHASH_NameValuePair, process_name_value); msg->setHandlerFuncFast(_PREHASH_RemoveNameValuePair, process_remove_name_value); msg->setHandlerFuncFast(_PREHASH_AvatarAnimation, process_avatar_animation); diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 2011275bdb..7f349fe65b 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3398,29 +3398,6 @@ void process_attached_sound_gain_change(LLMessageSystem *mesgsys, void **user_da objectp->adjustAudioGain(gain); } -/* Unused July 2006 -void process_attached_sound_cutoff_radius(LLMessageSystem *mesgsys, void **user_data) -{ - F32 radius = 0; - LLUUID object_guid; - LLViewerObject *objectp = NULL; - - mesgsys->getUUIDFast(_PREHASH_DataBlock, _PREHASH_ObjectID, object_guid); - - if (!((objectp = gObjectList.findObject(object_guid)))) - { - // we don't know about this object, just bail - return; - } - - mesgsys->getF32Fast(_PREHASH_DataBlock, _PREHASH_Radius, radius); - - if (gAudiop) - { -// gAudiop->attachToObject(sound_guid, object_guid, gain, priority, flags); - } -} -*/ void process_health_message(LLMessageSystem *mesgsys, void **user_data) { @@ -3566,19 +3543,6 @@ void process_sim_stats(LLMessageSystem *msg, void **user_data) } -// This info is requested by the simulator when the agent first logs in -// or when it moves into a simulator in which it did not already have -// a child agent. -/* -void process_avatar_info_request(LLMessageSystem *mesgsys, void **user_data) -{ - llinfos << "process_avatar_info_request()" << llendl; - - // Send the avatar appearance (parameters and texture entry UUIDs) - gAgent.sendAgentSetAppearance(); - send_agent_update(TRUE, TRUE); -}*/ - void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data) { diff --git a/indra/newview/llviewermessage.h b/indra/newview/llviewermessage.h index 2c5005c167..f7739f0871 100644 --- a/indra/newview/llviewermessage.h +++ b/indra/newview/llviewermessage.h @@ -87,12 +87,10 @@ void process_sound_trigger(LLMessageSystem *mesgsys, void **user_data); void process_preload_sound( LLMessageSystem *mesgsys, void **user_data); void process_attached_sound( LLMessageSystem *mesgsys, void **user_data); void process_attached_sound_gain_change( LLMessageSystem *mesgsys, void **user_data); -//void process_attached_sound_cutoff_radius( LLMessageSystem *mesgsys, void **user_data); void process_energy_statistics(LLMessageSystem *mesgsys, void **user_data); void process_health_message(LLMessageSystem *mesgsys, void **user_data); void process_sim_stats(LLMessageSystem *mesgsys, void **user_data); void process_shooter_agent_hit(LLMessageSystem* msg, void** user_data); -void process_avatar_info_request(LLMessageSystem *mesgsys, void **user_data); void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data); void process_avatar_appearance(LLMessageSystem *mesgsys, void **user_data); void process_camera_constraint(LLMessageSystem *mesgsys, void **user_data); diff --git a/indra/newview/llviewerprecompiledheaders.h b/indra/newview/llviewerprecompiledheaders.h index 0669f34c2f..0e0265d30b 100644 --- a/indra/newview/llviewerprecompiledheaders.h +++ b/indra/newview/llviewerprecompiledheaders.h @@ -180,7 +180,6 @@ #include "llinstantmessage.h" #include "llinvite.h" //#include "llloginflags.h" -#include "lllogtextmessage.h" #include "llmail.h" #include "llmessagethrottle.h" #include "llnamevalue.h" |