llviewermenu.cpp File Reference

Builds menus out of items. More...

#include "llviewerprecompiledheaders.h"
#include "llviewermenu.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include "audioengine.h"
#include "indra_constants.h"
#include "llassetstorage.h"
#include "llchat.h"
#include "llfeaturemanager.h"
#include "llfocusmgr.h"
#include "llfontgl.h"
#include "llinstantmessage.h"
#include "llpermissionsflags.h"
#include "llrect.h"
#include "llsecondlifeurls.h"
#include "lltransactiontypes.h"
#include "llui.h"
#include "llview.h"
#include "llxfermanager.h"
#include "message.h"
#include "raytrace.h"
#include "llsdserialize.h"
#include "lltimer.h"
#include "llvfile.h"
#include "llvolumemgr.h"
#include "llwindow.h"
#include "llagent.h"
#include "llagentpilot.h"
#include "llbox.h"
#include "llcallingcard.h"
#include "llcameraview.h"
#include "llclipboard.h"
#include "llcompilequeue.h"
#include "llconsole.h"
#include "llviewercontrol.h"
#include "lldebugview.h"
#include "lldir.h"
#include "lldrawable.h"
#include "lldrawpoolalpha.h"
#include "lldrawpooltree.h"
#include "llface.h"
#include "llfirstuse.h"
#include "llfloater.h"
#include "llfloaterabout.h"
#include "llfloaterbuycurrency.h"
#include "llfloateractivespeakers.h"
#include "llfloateranimpreview.h"
#include "llfloateravatarinfo.h"
#include "llfloateravatartextures.h"
#include "llfloaterbuildoptions.h"
#include "llfloaterbump.h"
#include "llfloaterbuy.h"
#include "llfloaterbuycontents.h"
#include "llfloaterbuyland.h"
#include "llfloaterchat.h"
#include "llfloatercustomize.h"
#include "llfloaterdirectory.h"
#include "llfloatereditui.h"
#include "llfloatereventlog.h"
#include "llfloaterchatterbox.h"
#include "llfloaterfriends.h"
#include "llfloatergesture.h"
#include "llfloatergodtools.h"
#include "llfloatergroupinfo.h"
#include "llfloatergroupinvite.h"
#include "llfloatergroups.h"
#include "llfloaterhtml.h"
#include "llfloaterhtmlhelp.h"
#include "llfloaterinspect.h"
#include "llfloaterlagmeter.h"
#include "llfloaterland.h"
#include "llfloaterlandholdings.h"
#include "llfloatermap.h"
#include "llfloatermute.h"
#include "llfloateropenobject.h"
#include "llfloaterpermissionsmgr.h"
#include "llfloaterpreference.h"
#include "llfloaterproject.h"
#include "llfloaterregioninfo.h"
#include "llfloaterreporter.h"
#include "llfloaterscriptdebug.h"
#include "llfloatertest.h"
#include "llfloatertools.h"
#include "llfloatertrustnetrate.h"
#include "llfloaterworldmap.h"
#include "llframestats.h"
#include "llframestatview.h"
#include "llfasttimerview.h"
#include "llmemoryview.h"
#include "llgivemoney.h"
#include "llgroupmgr.h"
#include "llhoverview.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llimage.h"
#include "llimagebmp.h"
#include "llimagej2c.h"
#include "llimagetga.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
#include "llpanellogin.h"
#include "llfloaterlandmark.h"
#include "llmenucommands.h"
#include "llmenugl.h"
#include "llmorphview.h"
#include "llmoveview.h"
#include "llmutelist.h"
#include "llnotify.h"
#include "llpanelobject.h"
#include "llparcel.h"
#include "llprimitive.h"
#include "llresmgr.h"
#include "llselectmgr.h"
#include "llsky.h"
#include "llstatusbar.h"
#include "llstatview.h"
#include "llstring.h"
#include "llsurfacepatch.h"
#include "llimview.h"
#include "lltextureview.h"
#include "lltool.h"
#include "lltoolbar.h"
#include "lltoolcomp.h"
#include "lltoolfocus.h"
#include "lltoolgrab.h"
#include "lltoolmgr.h"
#include "lltoolpie.h"
#include "lltoolplacer.h"
#include "lltoolselectland.h"
#include "llvieweruictrlfactory.h"
#include "lluploaddialog.h"
#include "lluserauth.h"
#include "lluuid.h"
#include "llvelocitybar.h"
#include "llviewercamera.h"
#include "llviewergenericmessage.h"
#include "llviewergesture.h"
#include "llviewerinventory.h"
#include "llviewermenufile.h"
#include "llviewermessage.h"
#include "llviewernetwork.h"
#include "llviewerobjectlist.h"
#include "llviewerparcelmgr.h"
#include "llviewerparceloverlay.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llvolume.h"
#include "llweb.h"
#include "llworld.h"
#include "llworldmap.h"
#include "object_flags.h"
#include "pipeline.h"
#include "viewer.h"
#include "roles_constants.h"
#include "llfloateravatarlist.h"
#include "llviewerjoystick.h"
#include "lltexlayer.h"

Include dependency graph for llviewermenu.cpp:

Go to the source code of this file.

Classes

class  LLLandmarkObserver
class  LLMenuParcelObserver
class  LLObjectReportAbuse
class  LLObjectEnableReportAbuse
class  LLObjectTouch
class  LLObjectEnableTouch
class  LLObjectOpen
class  LLObjectEnableOpen
class  LLViewCheckBuildMode
class  LLViewBuildMode
class  LLObjectBuild
class  LLObjectEdit
class  LLObjectInspect
class  LLLandBuild
class  LLLandBuyPass
class  LLLandEnableBuyPass
class  LLEnableEdit
class  LLSelfRemoveAllAttachments
class  LLSelfEnableRemoveAllAttachments
class  LLObjectEnableMute
class  LLObjectMute
class  LLGoToObject
class  LLAvatarFreeze
class  LLAvatarVisibleDebug
class  LLAvatarEnableDebug
class  LLAvatarDebug
class  LLAvatarEject
class  LLAvatarEnableFreezeEject
class  LLAvatarGiveCard
class  LLObjectEnableBuy
class  LLSelfStandUp
class  LLSelfEnableStandUp
class  LLAvatarEnableAddFriend
class  LLEditEnableCustomizeAvatar
class  LLObjectSitOrStand
class  LLLandSit
class  LLWorldFly
class  LLViewZoomOut
class  LLViewZoomIn
class  LLViewZoomDefault
class  LLHelpMOTD
class  LLViewResetView
class  LLViewLookAtLastChatter
class  LLViewMouselook
class  LLViewFullscreen
class  LLViewDefaultUISize
class  LLEditDuplicate
class  LLEditEnableDuplicate
class  LLToolsTakeCopy
class  LLObjectReturn
class  LLObjectEnableReturn
class  LLToolsBuyOrTake
class  LLToolsEnableBuyOrTake
class  LLObjectBuy
class  LLToolsSaveToInventory
class  LLToolsSaveToObjectInventory
class  LLToolsSnapObjectXY
class  LLToolsEnableLink
class  LLToolsLink
class  LLToolsEnableUnlink
class  LLToolsUnlink
class  LLToolsStopAllAnimations
class  LLEditEnableCut
class  LLEditCut
class  LLEditEnableCopy
class  LLEditCopy
class  LLEditEnablePaste
class  LLEditPaste
class  LLEditEnableDelete
class  LLEditDelete
class  LLObjectEnableDelete
class  LLEditSearch
class  LLObjectDelete
class  LLViewEnableLastChatter
class  LLEditEnableDeselect
class  LLEditDeselect
class  LLEditEnableSelectAll
class  LLEditSelectAll
class  LLEditEnableUndo
class  LLEditUndo
class  LLEditEnableRedo
class  LLEditRedo
class  LLWorldSetHomeLocation
class  LLWorldTeleportHome
class  LLWorldAlwaysRun
class  LLWorldCheckAlwaysRun
class  LLWorldSetAway
class  LLWorldSetBusy
class  LLWorldCreateLandmark
class  LLToolsLookAtSelection
class  LLAvatarInviteToGroup
class  LLAvatarAddFriend
class  LLPayObject
class  LLEnablePayObject
class  LLObjectEnableSitOrStand
class  LLWorldForceSun
class  LLShowFloater
class  LLFloaterVisible
class  LLPromptShowURL
class  LLPromptShowFile
class  LLShowAgentProfile
class  LLShowAgentGroups
class  LLLandEdit
class  LLWorldEnableBuyLand
class  LLObjectAttachToAvatar
class  LLAttachmentDrop
class  LLAttachmentDetach
class  LLWornItemFetchedObserver
class  LLAttachmentEnableDrop
class  LLAttachmentEnableDetach
class  LLObjectEnableWear
class  LLAvatarSendIM
class  LLAvatarTrustNetRate
class  LLToolsSelectedScriptAction
class  LLToggleControl
class  LLSomethingSelected
class  LLSomethingSelectedNoHUD
class  LLEditableSelected
class  LLToolsEnableTakeCopy
class  LLHasAsset
class  LLToolsEnableSaveToInventory
class  LLToolsEnableSaveToObjectInventory
class  LLViewEnableMouselook
class  LLToolsEnableToolNotPie
class  LLWorldEnableCreateLandmark
class  LLWorldEnableSetHomeLocation
class  LLWorldEnableTeleportHome
class  LLToolsSelectOnlyMyObjects
class  LLToolsSelectOnlyMovableObjects
class  LLToolsSelectBySurrounding
class  LLToolsShowHiddenSelection
class  LLToolsShowSelectionLightRadius
class  LLToolsEditLinkedParts
class  LLToolsUseSelectionForGrid
class  LLViewShowHoverTips
class  LLViewCheckShowHoverTips
class  LLViewHighlightTransparent
class  LLViewCheckHighlightTransparent
class  LLViewToggleBeacon
class  LLViewCheckBeaconEnabled
class  LLViewToggleRenderType
class  LLViewCheckRenderType
class  LLViewShowHUDAttachments
class  LLViewCheckHUDAttachments
class  LLEditEnableTakeOff
class  LLEditTakeOff
class  LLWorldChat
class  LLWorldStartGesture
class  LLToolsSelectTool
class  LLViewAvatarList

Typedefs

typedef LLMemberListener<
LLView
view_listener_t

Functions

void init_landmark_menu (LLMenuGL *menu)
void clear_landmark_menu (LLMenuGL *menu)
void init_client_menu (LLMenuGL *menu)
void init_server_menu (LLMenuGL *menu)
void init_debug_world_menu (LLMenuGL *menu)
void init_debug_rendering_menu (LLMenuGL *menu)
void init_debug_ui_menu (LLMenuGL *menu)
void init_debug_xui_menu (LLMenuGL *menu)
void init_debug_avatar_menu (LLMenuGL *menu)
void init_debug_baked_texture_menu (LLMenuGL *menu)
BOOL enable_land_build (void *)
BOOL enable_object_build (void *)
LLVOAvatarfind_avatar_from_object (LLViewerObject *object)
LLVOAvatarfind_avatar_from_object (const LLUUID &object_id)
void handle_test_load_url (void *)
void disconnect_viewer (void *)
void handle_leave_group (void *)
const char * upload_pick (void *data)
void handle_upload (void *data)
void handle_compress_image (void *)
BOOL enable_save_as (void *)
void handle_dump_group_info (void *)
void handle_dump_capabilities_info (void *)
void handle_dump_focus (void *)
void handle_region_dump_settings (void *)
void handle_region_dump_temp_asset_data (void *)
void handle_region_clear_temp_asset_data (void *)
BOOL sitting_on_selection ()
void near_sit_object ()
void label_sit_or_stand (LLString &label, void *)
BOOL is_selection_buy_not_take ()
S32 selection_price ()
BOOL enable_take ()
void handle_take ()
void confirm_take (S32 option, void *data)
BOOL enable_buy (void *)
void handle_buy (void *)
void handle_buy_object (LLSaleInfo sale_info)
void handle_buy_contents (LLSaleInfo sale_info)
void label_touch (LLString &label, void *)
void near_sit_down_point (BOOL success, void *)
void handle_follow (void *userdata)
void handle_talk_to (void *userdata)
void show_permissions_control (void *)
void load_url_local_file (const char *file_name)
void toggle_build_options (void *user_data)
void manage_landmarks (void *)
void create_new_landmark (void *)
void landmark_menu_action (void *)
void reload_ui (void *)
void handle_agent_stop_moving (void *)
void print_packets_lost (void *)
void drop_packet (void *)
void velocity_interpolate (void *data)
void update_fov (S32 increments)
void toggle_wind_audio (void)
void toggle_water_audio (void)
void handle_rebake_textures (void *)
BOOL check_admin_override (void *)
void handle_admin_override_toggle (void *)
void handle_toggle_hacked_godmode (void *)
BOOL check_toggle_hacked_godmode (void *)
void toggle_glow (void *)
BOOL check_glow (void *)
void toggle_vertex_shaders (void *)
BOOL check_vertex_shaders (void *)
void toggle_cull_small (void *)
void toggle_show_xui_names (void *)
BOOL check_show_xui_names (void *)
void handle_web_search_demo (void *)
void handle_slurl_test (void *)
void handle_save_to_xml (void *)
void handle_load_from_xml (void *)
void handle_god_mode (void *)
void handle_leave_god_mode (void *)
BOOL is_inventory_visible (void *user_data)
void handle_reset_view ()
void disabled_duplicate (void *)
void handle_duplicate_in_place (void *)
void handle_repeat_duplicate (void *)
void handle_export (void *)
void handle_deed_object_to_group (void *)
BOOL enable_deed_object_to_group (void *)
void handle_object_owner_self (void *)
void handle_object_owner_permissive (void *)
void handle_object_lock (void *)
void handle_object_asset_ids (void *)
void force_take_copy (void *)
void handle_force_parcel_owner_to_me (void *)
void handle_force_parcel_to_content (void *)
void handle_claim_public_land (void *)
void handle_god_request_havok (void *)
void handle_god_request_avatar_geometry (void *)
void reload_personal_settings_overrides (void *)
void force_breakpoint (void *)
void reload_vertex_shader (void *)
void slow_mo_animations (void *)
void handle_disconnect_viewer (void *)
void handle_stopall (void *)
BOOL enable_dehinge (void *)
void handle_force_delete (void *)
void print_object_info (void *)
void show_debug_menus ()
void toggle_debug_menus (void *)
void toggle_map (void *user_data)
void export_info_callback (LLAssetInfo *info, void **user_data, S32 result)
void export_data_callback (LLVFS *vfs, const LLUUID &uuid, LLAssetType::EType type, void **user_data, S32 result)
void upload_done_callback (const LLUUID &uuid, void *user_data, S32 result, LLExtStat ext_status)
BOOL menu_check_build_tool (void *user_data)
void handle_reload_settings (void *)
void focus_here (void *)
void dump_select_mgr (void *)
void dump_volume_mgr (void *)
void dump_inventory (void *)
void edit_ui (void *)
void toggle_visibility (void *)
BOOL get_visibility (void *)
void request_friendship (const LLUUID &agent_id)
void handle_force_unlock (void *)
void handle_selected_texture_info (void *)
void handle_dump_image_list (void *)
void handle_fullscreen_debug (void *)
void handle_crash (void *)
void handle_dump_followcam (void *)
void handle_toggle_flycam (void *)
BOOL check_flycam (void *)
void handle_viewer_enable_message_log (void *)
void handle_viewer_disable_message_log (void *)
void handle_send_postcard (void *)
void handle_gestures_old (void *)
void handle_focus (void *)
BOOL enable_buy_land (void *)
void handle_move (void *)
void handle_show_inventory (void *)
void handle_activate (void *)
BOOL enable_activate (void *)
void handle_buy_currency (void *)
void handle_test_male (void *)
void handle_test_female (void *)
void handle_toggle_pg (void *)
void handle_dump_attachments (void *)
void handle_show_overlay_title (void *)
void handle_dump_avatar_local_textures (void *)
void handle_debug_avatar_textures (void *)
void handle_grab_texture (void *)
BOOL enable_grab_texture (void *)
void handle_dump_region_object_cache (void *)
BOOL menu_ui_enabled (void *user_data)
void check_toggle_control (LLUICtrl *, void *user_data)
BOOL menu_check_control (void *user_data)
void menu_toggle_variable (void *user_data)
BOOL menu_check_variable (void *user_data)
BOOL enable_land_selected (void *)
BOOL enable_more_than_one_selected (void *)
BOOL enable_selection_you_own_all (void *)
BOOL enable_selection_you_own_one (void *)
BOOL enable_save_into_inventory (void *)
BOOL enable_save_into_task_inventory (void *)
BOOL enable_not_thirdperson (void *)
BOOL enable_export_selected (void *)
BOOL enable_have_card (void *)
BOOL enable_detach (void *)
BOOL enable_region_owner (void *)
void build_landmark_menu (void *)
void pre_init_menus ()
void initialize_menus ()
void init_menus ()
void handle_export_menus_to_xml (void *)
void cleanup_menus ()
bool handle_object_open ()
bool toggle_build_mode ()
BOOL enable_has_attachments (void *)
bool handle_go_to ()
void callback_freeze (S32 option, void *data)
void callback_eject (S32 option, void *data)
void login_done (S32 which, void *user)
void callback_leave_group (S32 option, void *userdata)
void append_aggregate (LLString &string, const LLAggregatePermissions &ag_perm, PermissionBit bit, const char *txt)
const char * build_extensions_string (LLFilePicker::ELoadFilter filter)
void set_god_level (U8 god_level)
void process_grant_godlike_powers (LLMessageSystem *msg, void **)
BOOL is_agent_friend (const LLUUID &agent_id)
BOOL is_agent_mappable (const LLUUID &agent_id)
bool handle_sit_or_stand ()
void handle_show_newest_map (void *)
void reset_view_final (BOOL proceed, void *)
void derez_objects (EDeRezDestination dest, const LLUUID &dest_id)
void callback_show_buy_currency (S32 option, void *)
void show_buy_currency (const char *extra)
void handle_export_selected (void *)
void callback_invite_to_group (LLUUID group_id, void *user_data)
void invite_to_group (const LLUUID &dest_id)
void complete_give_money (S32 option, void *user_data)
bool handle_give_money_dialog ()
void callback_show_url (S32 option, void *url)
void callback_show_file (S32 option, void *filename)
void near_attach_object (BOOL success, void *user_data)
void confirm_replace_attachment (S32 option, void *user_data)
void handle_detach_from_avatar (void *user_data)
void attach_label (LLString &label, void *user_data)
void detach_label (LLString &label, void *user_data)
BOOL object_selected_and_point_valid (void *user_data)
BOOL object_attached (void *user_data)
void queue_actions (LLFloaterScriptQueue *q, const std::string &noscriptmsg, const std::string &nomodmsg)
void handle_reset_selection (void *)
void handle_set_run_selection (void *)
void handle_set_not_run_selection (void *)
void menu_toggle_control (void *user_data)
BOOL enable_god_full (void *)
BOOL enable_god_liaison (void *)
BOOL enable_god_customer_service (void *)
BOOL enable_god_basic (void *)
static void addMenu (view_listener_t *menu, const char *name)

Variables

BOOL gRenderLightGlows
BOOL gRenderAvatar
BOOL gHideSelectedObjects
BOOL gShowOverlayTitle
BOOL gRandomizeFramerate
BOOL gPeriodicSlowFrame
BOOL gOcclusionCull
BOOL gAllowSelectAvatar
LLMenuBarGLgMenuBarView = NULL
LLViewerMenuHolderGLgMenuHolder = NULL
LLMenuGLgPopupMenuView = NULL
LLPieMenugPieSelf = NULL
LLPieMenugPieAvatar = NULL
LLPieMenugPieObject = NULL
LLPieMenugPieAttachment = NULL
LLPieMenugPieLand = NULL
const LLString LANDMARK_MENU_NAME ("Landmarks")
const LLString CLIENT_MENU_NAME ("Client")
const LLString SERVER_MENU_NAME ("Server")
const LLString SAVE_INTO_INVENTORY ("Save Object Back to My Inventory")
const LLString SAVE_INTO_TASK_INVENTORY ("Save Object Back to Object Contents")
static const char * ALL_FILE_EXTENSIONS = "*.*"
LLMenuGLgAttachSubMenu = NULL
LLMenuGLgDetachSubMenu = NULL
LLMenuGLgTakeOffClothes = NULL
LLPieMenugPieRate = NULL
LLPieMenugAttachScreenPieMenu = NULL
LLPieMenugAttachPieMenu = NULL
LLPieMenugAttachBodyPartPieMenus [8]
LLPieMenugDetachPieMenu = NULL
LLPieMenugDetachScreenPieMenu = NULL
LLPieMenugDetachBodyPartPieMenus [8]
LLMenuGLgLandmarkMenu = NULL
LLMenuItemCallGLgAFKMenu = NULL
LLMenuItemCallGLgBusyMenu = NULL
static LLMenuParcelObservergMenuParcelObserver = NULL
static LLLandmarkObservergLandmarkObserver = NULL
BOOL gDebugClicks
BOOL gDebugWindowProc
BOOL gDebugTextEditorTips
BOOL gDebugSelectMgr
BOOL gVectorizePerfTest
BOOL gDebugAvatarRotation
static std::vector< LLPointer<
view_listener_t > > 
sMenus
LLUUID gExporterRequestID
LLString gExportDirectory
LLUploadDialoggExportDialog = NULL
BOOL scripted
BOOL modifiable
LLFloaterScriptQueuemQueue


Detailed Description

Builds menus out of items.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llviewermenu.cpp.


Typedef Documentation

typedef LLMemberListener<LLView> view_listener_t

Definition at line 289 of file llviewermenu.cpp.


Function Documentation

static void addMenu ( view_listener_t menu,
const char *  name 
) [static]

Definition at line 7510 of file llviewermenu.cpp.

References gMenuHolder, LLMemberListener< T >::registerListener(), and sMenus.

Referenced by initialize_menus().

void append_aggregate ( LLString string,
const LLAggregatePermissions ag_perm,
PermissionBit  bit,
const char *  txt 
)

Definition at line 2394 of file llviewermenu.cpp.

References LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLAggregatePermissions::AP_NONE, LLAggregatePermissions::AP_SOME, LLAggregatePermissions::getValue(), and MAX_STRING.

void attach_label ( LLString label,
void user_data 
)

Definition at line 5832 of file llviewermenu.cpp.

References LLInventoryModel::getItem(), and gInventory.

Referenced by LLVOAvatar::buildCharacter(), and LLObjectBridge::buildContextMenu().

const char* build_extensions_string ( LLFilePicker::ELoadFilter  filter  ) 

Definition at line 2417 of file llviewermenu.cpp.

References ALL_FILE_EXTENSIONS, LLFilePicker::FFLOAD_ALL, LLFilePicker::FFLOAD_ANIM, LLFilePicker::FFLOAD_IMAGE, LLFilePicker::FFLOAD_SLOBJECT, LLFilePicker::FFLOAD_WAV, and LLFilePicker::FFLOAD_XML.

Referenced by upload_pick().

void build_landmark_menu ( void  ) 

Definition at line 534 of file llviewermenu.cpp.

References gLandmarkMenu, and init_landmark_menu().

void callback_eject ( S32  option,
void data 
)

Definition at line 2236 of file llviewermenu.cpp.

References LLMessageSystem::addU32(), LLMessageSystem::addUUID(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gMessageSystem, gObjectList, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), NULL, and LLMessageSystem::sendReliable().

Referenced by LLAvatarEject::handleEvent().

void callback_freeze ( S32  option,
void data 
)

Definition at line 2147 of file llviewermenu.cpp.

References LLMessageSystem::addU32(), LLMessageSystem::addUUID(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gMessageSystem, gObjectList, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), NULL, and LLMessageSystem::sendReliable().

Referenced by LLAvatarFreeze::handleEvent().

void callback_invite_to_group ( LLUUID  group_id,
void user_data 
)

Definition at line 4956 of file llviewermenu.cpp.

References LLFloaterGroupInvite::showForGroup().

Referenced by invite_to_group().

void callback_leave_group ( S32  option,
void userdata 
)

Definition at line 2367 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupData, _PREHASH_GroupID, _PREHASH_LeaveGroupRequest, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLAgent::mGroupID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().

Referenced by handle_leave_group().

void callback_show_buy_currency ( S32  option,
void  
)

Definition at line 4120 of file llviewermenu.cpp.

References BUY_CURRENCY_URL, llendl, llinfos, and LLWeb::loadURL().

Referenced by show_buy_currency().

void callback_show_file ( S32  option,
void filename 
)

Definition at line 5513 of file llviewermenu.cpp.

References load_url_local_file().

Referenced by LLPromptShowFile::handleEvent().

void callback_show_url ( S32  option,
void url 
)

Definition at line 5473 of file llviewermenu.cpp.

References LLWeb::loadURL().

Referenced by LLPromptShowURL::handleEvent().

BOOL check_admin_override ( void  ) 

Definition at line 2607 of file llviewermenu.cpp.

References gAgent, and LLAgent::getAdminOverride().

Referenced by init_client_menu().

BOOL check_flycam ( void  ) 

Definition at line 5232 of file llviewermenu.cpp.

References LLViewerJoystick::sOverrideCamera.

Referenced by init_client_menu().

BOOL check_glow ( void  ) 

BOOL check_show_xui_names ( void  ) 

Definition at line 6746 of file llviewermenu.cpp.

References LLControlGroup::getBOOL(), and gSavedSettings.

Referenced by init_debug_ui_menu(), and init_debug_xui_menu().

void check_toggle_control ( LLUICtrl ,
void user_data 
)

Definition at line 6380 of file llviewermenu.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().

BOOL check_toggle_hacked_godmode ( void  ) 

Definition at line 2690 of file llviewermenu.cpp.

References gHackGodmode.

Referenced by init_client_menu().

BOOL check_vertex_shaders ( void  ) 

void cleanup_menus (  ) 

Definition at line 1594 of file llviewermenu.cpp.

References clear_landmark_menu(), gLandmarkMenu, gLandmarkObserver, gMenuBarView, gMenuHolder, gMenuParcelObserver, gPieAttachment, gPieAvatar, gPieLand, gPieObject, gPieSelf, gPopupMenuView, NULL, and sMenus.

Referenced by cleanup_app().

void clear_landmark_menu ( LLMenuGL menu  ) 

Definition at line 791 of file llviewermenu.cpp.

References LLMenuGL::empty(), LLView::getChildList(), landmark_menu_action(), and WIDGET_TYPE_MENU_ITEM_CALL.

Referenced by cleanup_menus(), and init_landmark_menu().

void complete_give_money ( S32  option,
void user_data 
)

Definition at line 5006 of file llviewermenu.cpp.

References LLAgent::clearBusy(), FALSE, gAgent, LLViewerObject::getID(), LLXform::getParent(), give_money(), LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), LLFloaterPay::payDirectly(), and LLFloaterPay::payViaObject().

Referenced by handle_give_money_dialog().

void confirm_replace_attachment ( S32  option,
void user_data 
)

Definition at line 5736 of file llviewermenu.cpp.

References LLAgent::clearFocusObject(), gAgent, LLViewerObject::getMaxScale(), LLAgent::getPosGlobalFromAgent(), LLViewerObject::getPositionAgent(), LLAgent::getPositionAgent(), LLSelectMgr::getSelection(), gSelectMgr, near_attach_object(), LLVector3::normVec(), NULL, and LLAgent::startAutoPilotGlobal().

Referenced by LLObjectAttachToAvatar::handleEvent().

void confirm_take ( S32  option,
void data 
)

Definition at line 3951 of file llviewermenu.cpp.

References derez_objects(), DRD_TAKE_INTO_AGENT_INVENTORY, and enable_take().

Referenced by handle_take().

void create_new_landmark ( void  ) 

Definition at line 3010 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), LLAssetType::AT_LANDMARK, LLAgent::buildLocationString(), create_inventory_item(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowLandmark(), LLAgent::getID(), LLAgent::getRegion(), LLAgent::getSessionID(), gInventory, GP_LAND_ALLOW_LANDMARK, gParcelMgr, gViewerWindow, LLViewerParcelMgr::isParcelOwnedByAgent(), LLInventoryType::IT_LANDMARK, llendl, llwarns, NOT_WEARABLE, NULL, PERM_ALL, and LLTransactionID::tnull.

Referenced by init_landmark_menu().

void derez_objects ( EDeRezDestination  dest,
const LLUUID dest_id 
)

Definition at line 3588 of file llviewermenu.cpp.

References _PREHASH_AgentBlock, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_DeRezObject, _PREHASH_Destination, _PREHASH_DestinationID, _PREHASH_GroupID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_PacketCount, _PREHASH_PacketNumber, _PREHASH_SessionID, _PREHASH_TransactionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLViewerWindow::alertXml(), LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), LLHUDManager::createViewerEffect(), d, DRD_RETURN_TO_OWNER, DRD_TAKE_INTO_AGENT_INVENTORY, DRD_TRASH, FALSE, gAgent, LLUUID::generate(), LLAgent::getEffectColor(), LLAgent::getGroupID(), LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getNVPair(), LLViewerObject::getRegion(), LLSelectMgr::getSelection(), LLAgent::getSessionID(), LLViewerWindow::getWindow(), gHUDManager, gMessageSystem, GP_OBJECT_MANIPULATE, gSelectMgr, gViewerWindow, LLWindow::incBusyCount(), LLPrimitive::isAvatar(), LLAgent::isGodlike(), LLHUDObject::LL_HUD_EFFECT_POINT, llendl, llwarns, make_ui_sound(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, PERM_OWNER, LLViewerObject::permCopy(), LLViewerObject::permModify(), S32, LLMessageSystem::sendReliable(), LLHUDEffect::setColor(), LLHUDObject::setPositionGlobal(), and TRUE.

Referenced by confirm_take(), force_take_copy(), LLToolsSaveToObjectInventory::handleEvent(), LLToolsSaveToInventory::handleEvent(), LLToolsTakeCopy::handleEvent(), and LLObjectReturn::onReturnToOwner().

void detach_label ( LLString label,
void user_data 
)

Definition at line 5849 of file llviewermenu.cpp.

References LLInventoryModel::getItem(), and gInventory.

Referenced by LLVOAvatar::buildCharacter().

void disabled_duplicate ( void  ) 

Definition at line 3370 of file llviewermenu.cpp.

References LLSelectMgr::getSelection(), gSelectMgr, and LLNotifyBox::showXml().

void disconnect_viewer ( void  ) 

Definition at line 5841 of file viewer.cpp.

References LLInventoryModel::cache(), LLAgent::cleanup(), LLInventoryView::cleanup(), cleanup_xfer_manager(), LLSelectMgr::deselectAll(), LLViewerObjectList::destroy(), LLFrameStats::dump(), gAgent, gDisconnected, LLAgent::getFlying(), LLAgent::getID(), LLAgent::getInventoryRootID(), gFloaterView, gFrameStats, gInventory, gInventoryLibraryOwner, gInventoryLibraryRoot, gNoRender, gObjectList, gSavedSettings, gSelectMgr, gWorldp, llinfos, LLUUID::notNull(), NULL, release_signals(), save_name_cache(), save_region_name_cache(), LLControlGroup::setBOOL(), TRUE, and user_logout().

Referenced by cleanup_app(), and main_loop().

void drop_packet ( void  ) 

Definition at line 3088 of file llviewermenu.cpp.

References LLPacketRing::dropPackets(), gMessageSystem, and LLMessageSystem::mPacketRing.

Referenced by init_client_menu().

void dump_inventory ( void  ) 

Definition at line 5152 of file llviewermenu.cpp.

References LLInventoryModel::dumpInventory(), and gInventory.

Referenced by init_debug_ui_menu().

void dump_select_mgr ( void  ) 

Definition at line 5142 of file llviewermenu.cpp.

References LLSelectMgr::dump(), and gSelectMgr.

Referenced by init_debug_ui_menu().

void dump_volume_mgr ( void  ) 

Definition at line 5147 of file llviewermenu.cpp.

References LLVolumeMgr::dump(), and gVolumeMgr.

Referenced by init_debug_ui_menu().

void edit_ui ( void  ) 

Definition at line 5137 of file llviewermenu.cpp.

References LLFloater::getEditModeEnabled(), and LLFloater::setEditModeEnabled().

Referenced by init_debug_ui_menu().

BOOL enable_activate ( void  ) 

Definition at line 6118 of file llviewermenu.cpp.

References FALSE.

BOOL enable_buy ( void  ) 

Definition at line 2445 of file llviewermenu.cpp.

References FALSE, LLSaleInfo::FS_COPY, LLPermissions::getMaskOwner(), LLSelectNode::getObject(), LLSaleInfo::getSaleType(), LLSelectMgr::getSelection(), gSelectMgr, LLSaleInfo::isForSale(), LLSelectNode::mPermissions, LLSelectNode::mSaleInfo, NULL, PERM_COPY, PERM_TRANSFER, LLViewerObject::permAnyOwner(), and TRUE.

Referenced by LLToolsEnableBuyOrTake::handleEvent(), and LLObjectEnableBuy::handleEvent().

BOOL enable_buy_land ( void  ) 

Definition at line 5660 of file llviewermenu.cpp.

References LLViewerParcelMgr::canAgentBuyParcel(), LLViewerParcelMgr::getParcelSelection(), and gParcelMgr.

Referenced by LLMenuParcelObserver::changed().

BOOL enable_deed_object_to_group ( void  ) 

Definition at line 3400 of file llviewermenu.cpp.

References FALSE, gAgent, LLAgent::getID(), LLSelectMgr::getSelection(), GP_OBJECT_DEED, gSelectMgr, LLAgent::hasPowerInGroup(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectGetPermissions(), and TRUE.

BOOL enable_dehinge ( void  ) 

BOOL enable_detach ( void  ) 

Definition at line 5993 of file llviewermenu.cpp.

References FALSE, gAgent, LLAgent::getID(), LLViewerObject::getID(), LLXform::getParent(), gViewerWindow, LLViewerObject::isAttachment(), LLViewerWindow::lastObjectHit(), and TRUE.

Referenced by LLAttachmentEnableDetach::handleEvent(), and LLAttachmentEnableDrop::handleEvent().

BOOL enable_export_selected ( void  ) 

Definition at line 6625 of file llviewermenu.cpp.

References FALSE, LLSelectMgr::getSelection(), gExporterRequestID, gSelectMgr, LLUUID::isNull(), LLUploadDialog::modalUploadIsFinished(), and TRUE.

BOOL enable_god_basic ( void  ) 

Definition at line 6720 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_NOT.

Referenced by init_server_menu().

BOOL enable_god_customer_service ( void  ) 

Definition at line 6715 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_CUSTOMER_SERVICE.

Referenced by enable_region_owner(), init_debug_avatar_menu(), and init_server_menu().

BOOL enable_god_full ( void  ) 

Definition at line 6705 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_FULL.

BOOL enable_god_liaison ( void  ) 

Definition at line 6710 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_LIAISON.

BOOL enable_grab_texture ( void  ) 

Definition at line 6975 of file llviewermenu.cpp.

References LLVOAvatar::canGrabLocalTexture(), FALSE, gAgent, and LLAgent::getAvatarObject().

Referenced by init_debug_baked_texture_menu().

BOOL enable_has_attachments ( void  ) 

Definition at line 2013 of file llviewermenu.cpp.

References FALSE.

BOOL enable_have_card ( void  ) 

BOOL enable_land_build ( void  ) 

Definition at line 1941 of file llviewermenu.cpp.

References FALSE, gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowModify(), gParcelMgr, LLAgent::inPrelude(), LLAgent::isGodlike(), and TRUE.

BOOL enable_land_selected ( void  ) 

Definition at line 6404 of file llviewermenu.cpp.

References gParcelMgr, and LLViewerParcelMgr::selectionEmpty().

BOOL enable_more_than_one_selected ( void  ) 

Definition at line 6430 of file llviewermenu.cpp.

References LLSelectMgr::getSelection(), and gSelectMgr.

BOOL enable_not_thirdperson ( void  ) 

Definition at line 6619 of file llviewermenu.cpp.

References LLAgent::cameraThirdPerson(), and gAgent.

BOOL enable_object_build ( void  ) 

Definition at line 1956 of file llviewermenu.cpp.

References FALSE, gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowModify(), gParcelMgr, LLAgent::inPrelude(), LLAgent::isGodlike(), and TRUE.

BOOL enable_region_owner ( void  ) 

Definition at line 6698 of file llviewermenu.cpp.

References enable_god_customer_service(), gAgent, LLAgent::getID(), LLViewerRegion::getOwner(), LLAgent::getRegion(), NULL, and TRUE.

BOOL enable_save_as ( void  ) 

BOOL enable_save_into_inventory ( void  ) 

Definition at line 6543 of file llviewermenu.cpp.

References FALSE, gAgent, LLAgent::getID(), LLInventoryModel::getItem(), LLSelectNode::getObject(), LLPermissions::getOwner(), LLSelectMgr::getSelection(), gInProductionGrid, gInventory, gSelectMgr, LLViewerObject::isAttachment(), LLAgent::isGodlike(), LLUUID::isNull(), LLSelectNode::mItemID, LLSelectNode::mPermissions, LLSelectNode::mValid, NULL, and TRUE.

Referenced by LLToolsEnableSaveToInventory::handleEvent(), LLToolsSaveToInventory::handleEvent(), and LLSelectMgr::processObjectProperties().

BOOL enable_save_into_task_inventory ( void  ) 

Definition at line 6591 of file llviewermenu.cpp.

References FALSE, LLSelectNode::getObject(), LLSelectMgr::getSelection(), gSelectMgr, LLViewerObject::isAttachment(), LLUUID::isNull(), LLSelectNode::mFromTaskID, LLSelectNode::mValid, and TRUE.

Referenced by LLToolsEnableSaveToObjectInventory::handleEvent().

BOOL enable_selection_you_own_all ( void  ) 

Definition at line 6477 of file llviewermenu.cpp.

References LLSelectedObjectFunctor::apply(), f, FALSE, func, LLSelectMgr::getSelection(), gSelectMgr, and TRUE.

BOOL enable_selection_you_own_one ( void  ) 

Definition at line 6498 of file llviewermenu.cpp.

References LLSelectedObjectFunctor::apply(), f, FALSE, func, LLSelectMgr::getSelection(), gSelectMgr, and TRUE.

BOOL enable_take (  ) 

Definition at line 3965 of file llviewermenu.cpp.

References FALSE, gAgent, LLAgent::getID(), LLSelectMgr::getSelection(), gInProductionGrid, gSelectMgr, LLPrimitive::isAvatar(), LLAgent::isGodlike(), LLViewerObject::permModify(), sitting_on_selection(), and TRUE.

Referenced by confirm_take(), and LLToolsEnableBuyOrTake::handleEvent().

void export_data_callback ( LLVFS vfs,
const LLUUID uuid,
LLAssetType::EType  type,
void **  user_data,
S32  result 
)

void export_info_callback ( LLAssetInfo info,
void **  user_data,
S32  result 
)

LLVOAvatar * find_avatar_from_object ( const LLUUID object_id  ) 

Definition at line 7013 of file llviewermenu.cpp.

References find_avatar_from_object(), LLViewerObjectList::findObject(), and gObjectList.

LLVOAvatar * find_avatar_from_object ( LLViewerObject object  ) 

Definition at line 6988 of file llviewermenu.cpp.

References LLXform::getParent(), LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), and NULL.

Referenced by find_avatar_from_object(), LLAvatarTrustNetRate::handleEvent(), LLAvatarSendIM::handleEvent(), LLShowAgentProfile::handleEvent(), LLEnablePayObject::handleEvent(), LLAvatarAddFriend::handleEvent(), LLAvatarInviteToGroup::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), LLAvatarEnableFreezeEject::handleEvent(), LLAvatarEject::handleEvent(), LLAvatarDebug::handleEvent(), LLAvatarFreeze::handleEvent(), LLObjectMute::handleEvent(), and LLObjectEnableMute::handleEvent().

void focus_here ( void  ) 

void force_breakpoint ( void  ) 

Definition at line 6843 of file llviewermenu.cpp.

Referenced by init_client_menu().

void force_take_copy ( void  ) 

Definition at line 3835 of file llviewermenu.cpp.

References LLAssetType::AT_OBJECT, derez_objects(), DRD_FORCE_TO_GOD_INVENTORY, LLInventoryModel::findCategoryUUIDForType(), LLSelectMgr::getSelection(), gInventory, and gSelectMgr.

Referenced by init_server_menu().

BOOL get_visibility ( void  ) 

Definition at line 7158 of file llviewermenu.cpp.

References LLView::getVisible().

Referenced by init_client_menu().

void handle_activate ( void  ) 

Definition at line 6114 of file llviewermenu.cpp.

void handle_admin_override_toggle ( void  ) 

Definition at line 2612 of file llviewermenu.cpp.

References FALSE, gAgent, LLAgent::getAdminOverride(), LLAgent::setAdminOverride(), show_debug_menus(), and TRUE.

Referenced by init_client_menu().

void handle_agent_stop_moving ( void  ) 

Definition at line 3073 of file llviewermenu.cpp.

References AGENT_CONTROL_STOP, gAgent, LLAgent::setControlFlags(), and LLAgent::stopAutoPilot().

void handle_buy ( void  ) 

void handle_buy_contents ( LLSaleInfo  sale_info  ) 

Definition at line 2517 of file llviewermenu.cpp.

References LLFloaterBuyContents::show().

Referenced by handle_buy().

void handle_buy_currency ( void  ) 

Definition at line 4151 of file llviewermenu.cpp.

void handle_buy_object ( LLSaleInfo  sale_info  ) 

Definition at line 2478 of file llviewermenu.cpp.

References LLPermissions::allowTransferTo(), LLFloaterBuyCurrency::buyCurrency(), gAgent, LLStatusBar::getBalance(), LLAgent::getID(), LLSaleInfo::getSalePrice(), gSelectMgr, gStatusBar, LLSaleInfo::isForSale(), S32, LLSelectMgr::selectGetAggregatePermissions(), LLSelectMgr::selectGetAllRootsValid(), LLSelectMgr::selectGetOwner(), LLSelectMgr::selectGetPermissions(), LLFloaterBuy::show(), and LLNotifyBox::showXml().

Referenced by handle_buy().

void handle_claim_public_land ( void  ) 

Definition at line 3500 of file llviewermenu.cpp.

References _PREHASH_TransactionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getPosAgentFromGlobal(), LLAgent::getRegion(), LLViewerParcelMgr::getSelection(), LLViewerParcelMgr::getSelectionRegion(), LLAgent::getSessionID(), gMessageSystem, gParcelMgr, LLVector3::mV, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLUUID::null, LLAgent::sendReliableMessage(), LLNotifyBox::showXml(), VX, and VY.

Referenced by init_server_menu().

void handle_compress_image ( void  ) 

Definition at line 457 of file llviewermenufile.cpp.

References LLViewerImageList::createUploadFile(), LLFilePicker::FFLOAD_IMAGE, LLFilePicker::getFirstFile(), LLImageBase::getLastError(), LLFilePicker::getOpenFile(), IMG_CODEC_TGA, LLFilePicker::instance(), llendl, and llinfos.

Referenced by init_client_menu().

void handle_crash ( void  ) 

Definition at line 5188 of file llviewermenu.cpp.

References llendl, and llerrs.

Referenced by init_client_menu().

void handle_debug_avatar_textures ( void  ) 

Definition at line 6879 of file llviewermenu.cpp.

References gLastHitObjectID, and LLFloaterAvatarTextures::show().

Referenced by init_debug_avatar_menu().

void handle_deed_object_to_group ( void  ) 

Definition at line 3391 of file llviewermenu.cpp.

References FALSE, gSelectMgr, gViewerStats, LLViewerStats::incStat(), LLUUID::null, LLSelectMgr::selectGetGroup(), LLSelectMgr::sendOwner(), and LLViewerStats::ST_RELEASE_COUNT.

void handle_detach_from_avatar ( void user_data  ) 

Definition at line 5813 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLViewerObject::getLocalID(), LLViewerJointAttachment::getObject(), LLAgent::getRegionHost(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by LLVOAvatar::buildCharacter().

void handle_disconnect_viewer ( void  ) 

Definition at line 7019 of file llviewermenu.cpp.

References do_disconnect().

void handle_dump_attachments ( void  ) 

Definition at line 6311 of file llviewermenu.cpp.

References gAgent, LLAgent::getAvatarObject(), llendl, llinfos, LLVOAvatar::mAttachmentPoints, NULL, S32, and LLVector3::zero.

Referenced by init_debug_avatar_menu().

void handle_dump_avatar_local_textures ( void  ) 

Definition at line 6870 of file llviewermenu.cpp.

References LLVOAvatar::dumpLocalTextures(), gAgent, and LLAgent::getAvatarObject().

Referenced by init_debug_avatar_menu().

void handle_dump_capabilities_info ( void  ) 

Definition at line 2563 of file llviewermenu.cpp.

References gAgent, LLAgent::getRegion(), and LLViewerRegion::logActiveCapabilities().

Referenced by init_client_menu().

void handle_dump_focus ( void  ) 

Definition at line 2581 of file llviewermenu.cpp.

References LLFocusMgr::getKeyboardFocus(), LLView::getName(), gFocusMgr, llendl, and llinfos.

Referenced by init_debug_ui_menu().

void handle_dump_followcam ( void  ) 

Definition at line 5227 of file llviewermenu.cpp.

References LLFollowCamMgr::dump().

Referenced by init_debug_world_menu().

void handle_dump_group_info ( void  ) 

Definition at line 2554 of file llviewermenu.cpp.

References gAgent, llendl, llinfos, LLAgent::mGroupID, LLAgent::mGroupName, LLAgent::mGroupPowers, and LLAgent::mGroupTitle.

Referenced by init_client_menu().

void handle_dump_image_list ( void  ) 

Definition at line 6285 of file llviewermenu.cpp.

References LLViewerImageList::dump(), and gImageList.

void handle_dump_region_object_cache ( void  ) 

Definition at line 2572 of file llviewermenu.cpp.

References LLViewerRegion::dumpCache(), gAgent, and LLAgent::getRegion().

Referenced by init_debug_world_menu().

void handle_duplicate_in_place ( void  ) 

Definition at line 3378 of file llviewermenu.cpp.

References f, gSelectMgr, llendl, llinfos, LLSelectMgr::selectDuplicate(), and TRUE.

void handle_export ( void  ) 

void handle_export_menus_to_xml ( void  ) 

Definition at line 1117 of file llviewermenu.cpp.

References LLFilePicker::FFSAVE_XML, LLFilePicker::getFirstFile(), LLFilePicker::getSaveFile(), LLMenuBarGL::getXML(), gMenuBarView, LLFilePicker::instance(), llendl, llofstream, and llwarns.

Referenced by init_debug_xui_menu().

void handle_export_selected ( void  ) 

Definition at line 4747 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectExportSelected, _PREHASH_ObjectID, _PREHASH_RequestID, _PREHASH_VolumeDetail, LLMessageSystem::addS16Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLUUID::generate(), LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getID(), LLAgent::getRegion(), LLSelectMgr::getSelection(), gExportDialog, gExportDirectory, gExporterRequestID, gMessageSystem, gSelectMgr, llendl, llinfos, LLUploadDialog::modalUploadDialog(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

void handle_focus ( void  ) 

Definition at line 5589 of file llviewermenu.cpp.

References ANIMATE, LLAgent::cameraZoomIn(), f, FALSE, gAgent, gDisconnected, LLToolMgr::getCurrentToolset(), LLAgent::getFocusOnAvatar(), gLastHitObjectID, gLastHitObjectOffset, gLastHitPosGlobal, gToolCamera, gToolMgr, gViewerWindow, LLViewerWindow::moveCursorToCenter(), LLToolset::selectTool(), LLAgent::setFocusGlobal(), and LLAgent::setFocusOnAvatar().

void handle_follow ( void userdata  ) 

Definition at line 2022 of file llviewermenu.cpp.

References gAgent, gLastHitObjectID, and LLAgent::startFollowPilot().

void handle_force_delete ( void  ) 

Definition at line 4583 of file llviewermenu.cpp.

References gSelectMgr, and LLSelectMgr::selectForceDelete().

Referenced by init_server_menu().

void handle_force_parcel_owner_to_me ( void  ) 

Definition at line 3490 of file llviewermenu.cpp.

References gAgent, LLAgent::getID(), gParcelMgr, and LLViewerParcelMgr::sendParcelGodForceOwner().

Referenced by init_server_menu().

void handle_force_parcel_to_content ( void  ) 

Definition at line 3495 of file llviewermenu.cpp.

References gParcelMgr, and LLViewerParcelMgr::sendParcelGodForceToContent().

Referenced by init_server_menu().

void handle_force_unlock ( void  ) 

Definition at line 5158 of file llviewermenu.cpp.

References LLSelectedObjectFunctor::apply(), f, FLAGS_OBJECT_ANY_OWNER, FLAGS_OBJECT_COPY, FLAGS_OBJECT_MODIFY, FLAGS_OBJECT_MOVE, FLAGS_OBJECT_YOU_OWNER, func, LLSelectMgr::getSelection(), gSelectMgr, LLViewerObject::mFlags, LLUUID::null, LLSelectMgr::sendOwner(), and TRUE.

void handle_fullscreen_debug ( void  ) 

Definition at line 5182 of file llviewermenu.cpp.

References LLViewerWindow::getWindowHeight(), LLViewerWindow::getWindowWidth(), gViewerWindow, llendl, llinfos, mouse_x_from_center(), and mouse_y_from_center().

void handle_gestures_old ( void  ) 

bool handle_give_money_dialog (  ) 

Definition at line 5043 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), complete_give_money(), gAgent, LLAgent::getBusy(), LLSelectMgr::getSelection(), gSelectMgr, and gViewerWindow.

Referenced by LLPayObject::handleEvent(), and LLToolPie::selectionPropertiesReceived().

bool handle_go_to (  ) 

Definition at line 2106 of file llviewermenu.cpp.

References ANIMATE, LLViewerParcelMgr::deselectLand(), gAgent, LLAgent::getAvatarObject(), LLControlGroup::getBOOL(), LLAgent::getFocusTargetGlobal(), LLVOAvatar::getID(), gLastHitPosGlobal, gParcelMgr, gSavedSettings, llformat(), LLVector3d::mdV, send_generic_message(), LLAgent::setFocusGlobal(), LLAgent::setFocusOnAvatar(), TRUE, LLFirstUse::useGoTo(), VX, VY, and VZ.

Referenced by LLToolPie::handleDoubleClick(), and LLGoToObject::handleEvent().

void handle_god_mode ( void  ) 

Definition at line 2622 of file llviewermenu.cpp.

References gAgent, and LLAgent::requestEnterGodMode().

Referenced by init_server_menu().

void handle_god_request_avatar_geometry ( void  ) 

Definition at line 3573 of file llviewermenu.cpp.

References gAgent, gSelectMgr, LLAgent::isGodlike(), NULL, and LLSelectMgr::sendGodlikeRequest().

Referenced by init_debug_avatar_menu().

void handle_god_request_havok ( void  ) 

Definition at line 3539 of file llviewermenu.cpp.

References gAgent, gSelectMgr, LLAgent::isGodlike(), and LLSelectMgr::sendGodlikeRequest().

void handle_grab_texture ( void  ) 

Definition at line 6884 of file llviewermenu.cpp.

References LLAssetType::AT_TEXTURE, LLSaleInfo::DEFAULT, LLInventoryModel::findCategoryUUIDForType(), gAgent, gAgentID, LLUUID::generate(), LLInventoryView::getActiveInventory(), LLAgent::getAvatarObject(), LLFocusMgr::getFocusCallback(), LLFocusMgr::getKeyboardFocus(), LLInventoryView::getPanel(), gFocusMgr, gInventory, LLVOAvatar::grabLocalTexture(), LLInventoryItem::II_FLAGS_NONE, LLPermissions::init(), LLPermissions::initMasks(), LLInventoryType::IT_TEXTURE, llendl, llinfos, llwarns, LLInventoryModel::notifyObservers(), LLUUID::null, LLInventoryPanel::openSelected(), PERM_ALL, PERM_MOVE, PERM_NONE, PERM_TRANSFER, S32, LLFocusMgr::setKeyboardFocus(), LLInventoryPanel::setSelection(), TAKE_FOCUS_NO, LLVOAvatar::TEX_EYES_BAKED, LLVOAvatar::TEX_HEAD_BAKED, LLVOAvatar::TEX_LOWER_BAKED, LLVOAvatar::TEX_SKIRT_BAKED, LLVOAvatar::TEX_UPPER_BAKED, time_corrected(), TRUE, and LLInventoryModel::updateItem().

Referenced by init_debug_baked_texture_menu().

void handle_leave_god_mode ( void  ) 

Definition at line 2627 of file llviewermenu.cpp.

References gAgent, and LLAgent::requestLeaveGodMode().

Referenced by init_server_menu().

void handle_leave_group ( void  ) 

Definition at line 2384 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), callback_leave_group(), gAgent, LLAgent::getGroupID(), gViewerWindow, LLAgent::mGroupName, and LLUUID::null.

void handle_load_from_xml ( void  ) 

Definition at line 7126 of file llviewermenu.cpp.

References LLUICtrlFactory::buildFloater(), LLFilePicker::FFLOAD_XML, LLFilePicker::getFirstFile(), LLFilePicker::getOpenFile(), gUICtrlFactory, and LLFilePicker::instance().

Referenced by init_debug_xui_menu().

void handle_move ( void  ) 

Definition at line 5667 of file llviewermenu.cpp.

References ANIMATE, LLAgent::cameraZoomIn(), f, FALSE, gAgent, gBasicToolset, LLToolMgr::getCurrentToolset(), LLAgent::getFocusOnAvatar(), gLastHitObjectID, gLastHitObjectOffset, gLastHitPosGlobal, gToolGrab, gToolMgr, gViewerWindow, LLViewerWindow::moveCursorToCenter(), LLToolset::selectTool(), LLToolMgr::setCurrentToolset(), LLAgent::setFocusGlobal(), and LLAgent::setFocusOnAvatar().

void handle_object_asset_ids ( void  ) 

Definition at line 3481 of file llviewermenu.cpp.

References gAgent, gSelectMgr, LLAgent::isGodlike(), and LLSelectMgr::sendGodlikeRequest().

Referenced by init_server_menu().

void handle_object_lock ( void  ) 

Definition at line 3476 of file llviewermenu.cpp.

References FALSE, gSelectMgr, PERM_MODIFY, PERM_OWNER, and LLSelectMgr::selectionSetObjectPermissions().

Referenced by init_server_menu().

bool handle_object_open (  ) 

Definition at line 1726 of file llviewermenu.cpp.

References LLViewerObjectList::findObject(), gLastHitObjectID, gObjectList, and LLFloaterOpenObject::show().

Referenced by LLObjectOpen::handleEvent(), and LLToolPie::selectionPropertiesReceived().

void handle_object_owner_permissive ( void  ) 

Definition at line 3455 of file llviewermenu.cpp.

References gAgent, gSelectMgr, LLAgent::isGodlike(), PERM_ALL, PERM_BASE, PERM_OWNER, LLSelectMgr::selectionSetObjectPermissions(), and TRUE.

Referenced by init_server_menu().

void handle_object_owner_self ( void  ) 

Definition at line 3466 of file llviewermenu.cpp.

References gAgent, LLAgent::getGroupID(), LLAgent::getID(), gSelectMgr, LLAgent::isGodlike(), LLSelectMgr::sendOwner(), and TRUE.

Referenced by init_server_menu().

void handle_rebake_textures ( void  ) 

Definition at line 7142 of file llviewermenu.cpp.

References LLVOAvatar::forceBakeAllTextures(), gAgent, and LLAgent::getAvatarObject().

Referenced by init_debug_avatar_menu().

void handle_region_clear_temp_asset_data ( void  ) 

Definition at line 2530 of file llviewermenu.cpp.

References llendl, llinfos, and send_generic_message().

void handle_region_dump_settings ( void  ) 

Definition at line 2538 of file llviewermenu.cpp.

References gAgent, LLViewerRegion::getAllowDamage(), LLViewerRegion::getAllowDirectTeleport(), LLViewerRegion::getAllowLandmark(), LLViewerRegion::getAllowSetHome(), LLViewerRegion::getBlockFly(), LLAgent::getRegion(), LLViewerRegion::getResetHomeOnTeleport(), LLViewerRegion::getSunFixed(), LLViewerRegion::getWaterHeight(), llendl, and llinfos.

Referenced by init_client_menu().

void handle_region_dump_temp_asset_data ( void  ) 

Definition at line 2522 of file llviewermenu.cpp.

References llendl, llinfos, and send_generic_message().

Referenced by init_server_menu().

void handle_reload_settings ( void  ) 

Definition at line 4786 of file llviewermenu.cpp.

References FALSE, gColors, gDirUtilp, LLDir::getExpandedFilename(), gSavedSettings, gSettingsFileName, LL_PATH_APP_SETTINGS, llendl, llinfos, LLControlGroup::loadFromFile(), LLControlGroup::resetToDefaults(), TRUE, and TYPE_COL4U.

void handle_repeat_duplicate ( void  ) 

Definition at line 3386 of file llviewermenu.cpp.

References gSelectMgr, and LLSelectMgr::repeatDuplicate().

void handle_reset_selection ( void  ) 

Definition at line 6212 of file llviewermenu.cpp.

References LLFloaterResetQueue::create(), and queue_actions().

void handle_reset_view (  ) 

Definition at line 3256 of file llviewermenu.cpp.

References LLFloaterCustomize::askToSaveAllIfDirty(), CAMERA_MODE_CUSTOMIZE_AVATAR, gAgent, LLAgent::getCameraMode(), gFloaterCustomize, NULL, reset_view_final(), and TRUE.

Referenced by click_popup_done(), LLViewResetView::handleEvent(), LLOverlayBar::onClickResetView(), LLFloaterCustomize::onClose(), and toggle_build_mode().

void handle_save_to_xml ( void  ) 

Definition at line 7099 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), LLFilePicker::FFSAVE_XML, LLFilePicker::getFirstFile(), LLFloaterView::getFrontmost(), LLFilePicker::getSaveFile(), LLFloater::getTitle(), gFloaterView, gUICtrlFactory, gViewerWindow, LLFilePicker::instance(), LLStringBase< char >::replaceChar(), LLUICtrlFactory::saveToXML(), and LLStringBase< char >::toLower().

Referenced by init_debug_xui_menu().

void handle_selected_texture_info ( void  ) 

Definition at line 6230 of file llviewermenu.cpp.

References LLFloaterChat::addChat(), gAgent, LLViewerImage::getID(), LLSelectMgr::getSelection(), gSelectMgr, height, i, LLAgent::isGodlike(), llformat(), S32, and width.

Referenced by init_debug_rendering_menu().

void handle_send_postcard ( void  ) 

void handle_set_not_run_selection ( void  ) 

Definition at line 6224 of file llviewermenu.cpp.

References LLFloaterNotRunQueue::create(), and queue_actions().

void handle_set_run_selection ( void  ) 

Definition at line 6218 of file llviewermenu.cpp.

References LLFloaterRunQueue::create(), and queue_actions().

void handle_show_inventory ( void  ) 

void handle_show_newest_map ( void  ) 

Definition at line 3231 of file llviewermenu.cpp.

References FALSE, NULL, and LLFloaterWorldMap::show().

void handle_show_overlay_title ( void  ) 

Definition at line 3582 of file llviewermenu.cpp.

References gSavedSettings, gShowOverlayTitle, and LLControlGroup::setBOOL().

bool handle_sit_or_stand (  ) 

Definition at line 2861 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentRequestSit, _PREHASH_Offset, _PREHASH_SessionID, _PREHASH_TargetID, _PREHASH_TargetObject, LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), AGENT_CONTROL_STAND_UP, LLViewerObjectList::findObject(), gAgent, LLAgent::getID(), LLPrimitive::getPCode(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gLastHitNonFloraObjectID, gMessageSystem, gObjectList, gViewerWindow, LLViewerWindow::lastNonFloraObjectHitOffset(), LL_PCODE_VOLUME, LLViewerObject::mID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLViewerRegion::sendReliableMessage(), LLAgent::setControlFlags(), LLVector3::setVec(), and sitting_on_selection().

Referenced by LLObjectSitOrStand::handleEvent(), and LLToolPie::pickAndShowMenu().

void handle_slurl_test ( void  ) 

Definition at line 7137 of file llviewermenu.cpp.

References LLFloaterHtml::getInstance(), and LLFloaterHtml::show().

Referenced by init_debug_ui_menu().

void handle_stopall ( void  ) 

void handle_take (  ) 

Definition at line 3842 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), LLAssetType::AT_OBJECT, LLAssetType::AT_TRASH, confirm_take(), FALSE, LLInventoryModel::findCategoryUUIDForType(), LLInventoryModel::getCategory(), LLSelectMgr::getSelection(), gInventory, gInventoryLibraryRoot, gSelectMgr, gViewerWindow, LLUUID::isNull(), LLInventoryModel::isObjectDescendentOf(), LLUUID::notNull(), LLViewerObject::permMove(), LLViewerObject::permYouOwner(), LLUUID::setNull(), and TRUE.

Referenced by LLToolsBuyOrTake::handleEvent().

void handle_talk_to ( void userdata  ) 

void handle_test_female ( void  ) 

Definition at line 6296 of file llviewermenu.cpp.

References wear_outfit_by_name().

Referenced by init_debug_avatar_menu().

void handle_test_load_url ( void  ) 

Definition at line 7053 of file llviewermenu.cpp.

References LLWeb::loadURL().

void handle_test_male ( void  ) 

Definition at line 6290 of file llviewermenu.cpp.

References wear_outfit_by_name().

Referenced by init_debug_avatar_menu().

void handle_toggle_flycam ( void  ) 

Definition at line 5237 of file llviewermenu.cpp.

References NULL, LLFloaterJoystick::show(), LLViewerJoystick::sOverrideCamera, TRUE, and LLViewerJoystick::updateCamera().

Referenced by init_client_menu(), and reset_view_final().

void handle_toggle_hacked_godmode ( void  ) 

Definition at line 2684 of file llviewermenu.cpp.

References gHackGodmode, GOD_MAINTENANCE, GOD_NOT, and set_god_level().

Referenced by init_client_menu().

void handle_toggle_pg ( void  ) 

Definition at line 6302 of file llviewermenu.cpp.

References gAgent, LLAgent::isTeen(), llendl, llinfos, NULL, LLFloaterWorldMap::reloadIcons(), S32, and LLAgent::setTeen().

Referenced by init_debug_avatar_menu().

void handle_upload ( void data  ) 

Definition at line 447 of file llviewermenufile.cpp.

References LLUICtrlFactory::buildFloater(), gUICtrlFactory, and upload_pick().

void handle_viewer_disable_message_log ( void  ) 

Definition at line 5252 of file llviewermenu.cpp.

References gMessageSystem, and LLMessageSystem::stopLogging().

Referenced by init_client_menu().

void handle_viewer_enable_message_log ( void  ) 

Definition at line 5247 of file llviewermenu.cpp.

References gMessageSystem, and LLMessageSystem::startLogging().

Referenced by init_client_menu().

void handle_web_search_demo ( void  ) 

void init_client_menu ( LLMenuGL menu  ) 

Definition at line 817 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::appendMenu(), LLMenuGL::appendSeparator(), check_admin_override(), check_flycam(), check_toggle_hacked_godmode(), LLMenuGL::createJumpKeys(), LLGroupMgr::debugClearAllGroups(), drop_packet(), force_breakpoint(), gDebugView, gDisplayCameraPos, gDisplayFOV, gDisplayWindInfo, get_visibility(), gInProductionGrid, gShowObjectUpdates, gTextureView, gVelocityBar, handle_admin_override_toggle(), handle_clothing(), handle_compress_image(), handle_crash(), handle_dump_capabilities_info(), handle_dump_group_info(), handle_region_dump_settings(), handle_toggle_flycam(), handle_toggle_hacked_godmode(), handle_viewer_disable_message_log(), handle_viewer_enable_message_log(), init_debug_avatar_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), init_debug_world_menu(), init_debug_xui_menu(), KEY_F2, MASK_ALT, MASK_CONTROL, MASK_SHIFT, LLDebugView::mDebugConsolep, menu_check_control(), menu_toggle_control(), LLDebugView::mFastTimerView, LLDebugView::mFrameStatView, LLDebugView::mMemoryView, NULL, reload_personal_settings_overrides(), LLAgentPilot::saveRecord(), LLFloaterSettingsDebug::show(), LLAgentPilot::sLoop, LLFrameStats::startLogging(), LLAgentPilot::startPlayback(), LLAgentPilot::startRecord(), LLFrameStats::stopLogging(), LLAgentPilot::stopPlayback(), LLFrameStats::timedLogging10(), LLFrameStats::timedLogging30(), LLFrameStats::timedLogging60(), toggle_visibility(), and velocity_interpolate().

Referenced by init_menus().

void init_debug_avatar_menu ( LLMenuGL menu  ) 

Definition at line 1412 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::appendMenu(), LLAgent::clearVisualParams(), LLMenuGL::createJumpKeys(), LLVOAvatar::dumpArchetypeXML(), enable_god_customer_service(), gAllowIdleAFK, gAllowSelectAvatar, gDebugAvatarRotation, handle_debug_avatar_textures(), handle_dump_attachments(), handle_dump_avatar_local_textures(), handle_god_request_avatar_geometry(), handle_rebake_textures(), handle_test_female(), handle_test_male(), handle_toggle_pg(), init_debug_baked_texture_menu(), MASK_ALT, MASK_CONTROL, MASK_SHIFT, NULL, reload_vertex_shader(), LLAgent::sDebugDisplayTarget, LLVOAvatar::sDebugInvisible, LLHUDEffectLookAt::sDebugLookAt, LLHUDEffectPointAt::sDebugPointAt, LLViewerJoint::sDisableLOD, LLVOAvatar::sJointDebug, slow_mo_animations(), LLVOAvatar::sShowAnimationDebug, LLVOAvatar::sShowCollisionVolumes, and LLVOAvatar::sShowFootPlane.

Referenced by init_client_menu().

void init_debug_baked_texture_menu ( LLMenuGL menu  ) 

Definition at line 1465 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::createJumpKeys(), enable_grab_texture(), handle_grab_texture(), LLVOAvatar::TEX_EYES_BAKED, LLVOAvatar::TEX_HEAD_BAKED, LLVOAvatar::TEX_LOWER_BAKED, LLVOAvatar::TEX_SKIRT_BAKED, and LLVOAvatar::TEX_UPPER_BAKED.

Referenced by init_debug_avatar_menu().

void init_debug_rendering_menu ( LLMenuGL menu  ) 

Definition at line 1184 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::appendMenu(), LLMenuGL::appendSeparator(), LLMenuGL::createJumpKeys(), gDebugSelect, gFeatureManagerp, gGLManager, gHideSelectedObjects, gPeriodicSlowFrame, gRandomizeFramerate, gUseWireframe, gVectorizePerfTest, handle_selected_texture_info(), LLPipeline::hasRenderTypeControl(), LLFeatureList::isFeatureAvailable(), KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, MASK_ALT, MASK_CONTROL, MASK_SHIFT, menu_check_control(), menu_check_variable(), menu_toggle_control(), menu_toggle_variable(), LLGLManager::mHasOcclusionQuery, NULL, LLPipeline::RENDER_DEBUG_BBOXES, LLPipeline::RENDER_DEBUG_COMPOSITION, LLPipeline::RENDER_DEBUG_FACE_AREA, LLPipeline::RENDER_DEBUG_FEATURE_DYNAMIC_TEXTURES, LLPipeline::RENDER_DEBUG_FEATURE_FLEXIBLE, LLPipeline::RENDER_DEBUG_FEATURE_FOG, LLPipeline::RENDER_DEBUG_FEATURE_FOOT_SHADOWS, LLPipeline::RENDER_DEBUG_FEATURE_FR_INFO, LLPipeline::RENDER_DEBUG_FEATURE_HIGHLIGHTED, LLPipeline::RENDER_DEBUG_FEATURE_PALETTE, LLPipeline::RENDER_DEBUG_FEATURE_SELECTED, LLPipeline::RENDER_DEBUG_FEATURE_UI, LLPipeline::RENDER_DEBUG_GLOW, LLPipeline::RENDER_DEBUG_LIGHT_TRACE, LLPipeline::RENDER_DEBUG_OCCLUSION, LLPipeline::RENDER_DEBUG_OCTREE, LLPipeline::RENDER_DEBUG_PARTICLES, LLPipeline::RENDER_DEBUG_PICKING, LLPipeline::RENDER_DEBUG_POINTS, LLPipeline::RENDER_DEBUG_SHADOW_MAP, LLPipeline::RENDER_DEBUG_TEXTURE_ANIM, LLPipeline::RENDER_DEBUG_TEXTURE_AREA, LLPipeline::RENDER_DEBUG_TEXTURE_PRIORITY, LLPipeline::RENDER_DEBUG_VERIFY, LLPipeline::RENDER_TYPE_ALPHA, LLPipeline::RENDER_TYPE_AVATAR, LLPipeline::RENDER_TYPE_BUMP, LLPipeline::RENDER_TYPE_CLOUDS, LLPipeline::RENDER_TYPE_GRASS, LLPipeline::RENDER_TYPE_GROUND, LLPipeline::RENDER_TYPE_PARTICLES, LLPipeline::RENDER_TYPE_SIMPLE, LLPipeline::RENDER_TYPE_SKY, LLPipeline::RENDER_TYPE_TERRAIN, LLPipeline::RENDER_TYPE_TREE, LLPipeline::RENDER_TYPE_VOLUME, LLPipeline::RENDER_TYPE_WATER, LLViewerImage::sDontLoadVolumeTextures, LLView::setEnabled(), LLPipeline::toggleRenderDebug(), LLPipeline::toggleRenderDebugControl(), LLPipeline::toggleRenderDebugFeature(), LLPipeline::toggleRenderDebugFeatureControl(), and LLPipeline::toggleRenderTypeControl().

Referenced by init_client_menu().

void init_debug_ui_menu ( LLMenuGL menu  ) 

Definition at line 1139 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::appendSeparator(), check_show_xui_names(), LLMenuGL::createJumpKeys(), dump_inventory(), dump_select_mgr(), dump_volume_mgr(), edit_ui(), gDebugClicks, gDebugSelectMgr, gDebugTextEditorTips, gDebugWindowProc, gHandleKeysAsync, handle_dump_focus(), handle_slurl_test(), MASK_ALT, MASK_CONTROL, MASK_SHIFT, menu_check_control(), menu_toggle_control(), NULL, output_statistics(), print_agent_nvpairs(), print_object_info(), LLView::sDebugKeys, LLView::sDebugMouseHandling, LLView::sDebugRects, and toggle_show_xui_names().

Referenced by init_client_menu().

void init_debug_world_menu ( LLMenuGL menu  ) 

Definition at line 1091 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::createJumpKeys(), handle_dump_followcam(), handle_dump_region_object_cache(), MASK_ALT, MASK_CONTROL, menu_check_control(), menu_toggle_control(), and NULL.

Referenced by init_client_menu().

void init_debug_xui_menu ( LLMenuGL menu  ) 

Definition at line 1171 of file llviewermenu.cpp.

References LLMenuGL::append(), check_show_xui_names(), LLMenuGL::createJumpKeys(), handle_export_menus_to_xml(), handle_load_from_xml(), handle_save_to_xml(), NULL, LLFloaterEditUI::show(), LLFloaterTest::show(), and toggle_show_xui_names().

Referenced by init_client_menu().

void init_landmark_menu ( LLMenuGL menu  ) 

Definition at line 758 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::appendSeparator(), LLAssetType::AT_LANDMARK, clear_landmark_menu(), LLDynamicArray< Type, BlockSize >::count(), count, create_new_landmark(), LLInventoryModel::findCategoryUUIDForType(), LLDynamicArray< Type, BlockSize >::get(), LLInventoryModel::getDirectDescendentsOf(), gInventory, i, landmark_menu_action(), manage_landmarks(), NULL, and S32.

Referenced by build_landmark_menu().

void init_menus (  ) 

Definition at line 614 of file llviewermenu.cpp.

References LLView::addChild(), LLMenuBarGL::appendMenu(), LLUICtrlFactory::buildMenu(), LLUICtrlFactory::buildPieMenu(), LLPanel::childSetLabelArg(), CLIENT_MENU_NAME, LLMenuGL::createJumpKeys(), FALSE, gAFKMenu, gAgent, gAttachPieMenu, gAttachScreenPieMenu, gAttachSubMenu, gBusyMenu, gColors, gDetachPieMenu, gDetachScreenPieMenu, gDetachSubMenu, LLPanel::getChildByName(), LLView::getChildByName(), LLMenuGL::getChildMenuByName(), LLControlGroup::getColor(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLViewerWindow::getRootView(), LLRectBase< Type >::getWidth(), gInProductionGrid, gLandmarkObserver, gMenuBarView, gMenuHolder, gMenuParcelObserver, gPieAttachment, gPieAvatar, gPieLand, gPieObject, gPieRate, gPieSelf, gPopupMenuView, gUICtrlFactory, gViewerWindow, init_client_menu(), init_server_menu(), initialize_menus(), LLAgent::isTeen(), MENU_BAR_HEIGHT, S32, SERVER_MENU_NAME, LLMenuGL::setBackgroundColor(), LLView::setFollowsAll(), LLView::setRect(), LLMenuGL::setVisible(), LLView::setVisible(), show_debug_menus(), LLMenuGL::sMenuContainer, top, TRUE, LLMenuGL::updateParent(), and width.

Referenced by LLViewerWindow::initWorldUI().

void init_server_menu ( LLMenuGL menu  ) 

Definition at line 1475 of file llviewermenu.cpp.

References LLMenuGL::append(), LLMenuGL::appendMenu(), LLMenuGL::appendSeparator(), LLMenuGL::createJumpKeys(), enable_god_basic(), enable_god_customer_service(), force_take_copy(), handle_claim_public_land(), handle_force_delete(), handle_force_parcel_owner_to_me(), handle_force_parcel_to_content(), handle_god_mode(), handle_leave_god_mode(), handle_object_asset_ids(), handle_object_lock(), handle_object_owner_permissive(), handle_object_owner_self(), handle_region_dump_temp_asset_data(), KEY_DELETE, MASK_ALT, MASK_CONTROL, MASK_SHIFT, NULL, LLPanelRegionTools::onSaveState(), and LLFloaterGodTools::show().

Referenced by init_menus().

void initialize_menus (  ) 

Definition at line 7525 of file llviewermenu.cpp.

References addMenu(), and init_menu_file().

Referenced by init_menus().

void invite_to_group ( const LLUUID dest_id  ) 

Definition at line 4964 of file llviewermenu.cpp.

References callback_invite_to_group(), LLViewerObjectList::findObject(), gAgent, LLAgent::getID(), gObjectList, GP_MEMBER_INVITE, LLPrimitive::isAvatar(), and LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::showInstance().

Referenced by LLAvatarInviteToGroup::handleEvent().

BOOL is_agent_friend ( const LLUUID agent_id  ) 

Definition at line 2776 of file llviewermenu.cpp.

References LLAvatarTracker::instance(), and NULL.

Referenced by LLIMMgr::defaultIMTypeForAgent(), LLNetMap::draw(), LLAvatarAddFriend::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), is_agent_mappable(), and LLPanelAvatar::setAvatarID().

BOOL is_agent_mappable ( const LLUUID agent_id  ) 

Definition at line 2781 of file llviewermenu.cpp.

References LLRelationship::GRANT_MAP_LOCATION, LLAvatarTracker::instance(), and is_agent_friend().

Referenced by LLPanelAvatar::setAvatarID().

BOOL is_inventory_visible ( void user_data  ) 

Definition at line 3221 of file llviewermenu.cpp.

References FALSE, and LLView::getVisible().

BOOL is_selection_buy_not_take (  ) 

Definition at line 4084 of file llviewermenu.cpp.

References FALSE, LLSelectMgr::getSelection(), gSelectMgr, LLViewerObject::permYouOwner(), and TRUE.

Referenced by LLToolsEnableBuyOrTake::handleEvent(), and LLToolsBuyOrTake::handleEvent().

void label_sit_or_stand ( LLString label,
void  
)

void label_touch ( LLString label,
void  
)

Definition at line 1713 of file llviewermenu.cpp.

References LLSelectMgr::getSelection(), gSelectMgr, LLSelectNode::mTouchName, and LLSelectNode::mValid.

void landmark_menu_action ( void  ) 

Definition at line 3048 of file llviewermenu.cpp.

References FALSE, LLInventoryModel::getItem(), LLInventoryObject::getName(), gInventory, and open_landmark().

Referenced by clear_landmark_menu(), and init_landmark_menu().

void load_url_local_file ( const char *  file_name  ) 

Definition at line 2714 of file llviewermenu.cpp.

References LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), gAgent, gDirUtilp, LLDir::getAppRODataDir(), LLDir::getDirDelimiter(), LLWindow::getFullscreen(), gViewerWindow, LLWeb::loadURL(), LLViewerWindow::mWindow, LLViewerWindow::toggleFullscreen(), and TRUE.

Referenced by callback_show_file(), login_alert_status(), and LLScriptEdCore::onHelpWebDialog().

void login_done ( S32  which,
void user 
)

Definition at line 2359 of file llviewermenu.cpp.

References LLPanelLogin::close(), llendl, and llinfos.

void manage_landmarks ( void  ) 

Definition at line 3005 of file llviewermenu.cpp.

References LLUIInstanceMgr< LLFloaterLandmark, LLFloaterLandmark >::showInstance().

Referenced by init_landmark_menu().

BOOL menu_check_build_tool ( void user_data  ) 

Definition at line 4780 of file llviewermenu.cpp.

References LLToolMgr::getCurrentToolset(), gToolMgr, LLToolset::isToolSelected(), and S32.

BOOL menu_check_control ( void user_data  ) 

Definition at line 6386 of file llviewermenu.cpp.

References LLControlGroup::getBOOL(), and gSavedSettings.

Referenced by init_client_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), and init_debug_world_menu().

BOOL menu_check_variable ( void user_data  ) 

Definition at line 6398 of file llviewermenu.cpp.

Referenced by init_debug_rendering_menu().

void menu_toggle_control ( void user_data  ) 

Definition at line 6350 of file llviewermenu.cpp.

References FALSE, LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().

Referenced by init_client_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), and init_debug_world_menu().

void menu_toggle_variable ( void user_data  ) 

Definition at line 6392 of file llviewermenu.cpp.

Referenced by init_debug_rendering_menu().

BOOL menu_ui_enabled ( void user_data  ) 

Definition at line 6343 of file llviewermenu.cpp.

References LLControlGroup::getBOOL(), and gSavedSettings.

void near_attach_object ( BOOL  success,
void user_data 
)

Definition at line 5715 of file llviewermenu.cpp.

References gAgent, LLAgent::getAvatarObject(), gSelectMgr, LLVOAvatar::mAttachmentPoints, NULL, LLSelectMgr::sendAttach(), and LLObjectAttachToAvatar::setObjectSelection().

Referenced by confirm_replace_attachment().

void near_sit_down_point ( BOOL  success,
void  
)

Definition at line 2904 of file llviewermenu.cpp.

References AGENT_CONTROL_SIT_ON_GROUND, FALSE, gAgent, LLAgent::setControlFlags(), LLAgent::setFlying(), and LLFirstUse::useSit().

Referenced by LLLandSit::handleEvent().

void near_sit_object (  ) 

Referenced by process_avatar_sit_response().

BOOL object_attached ( void user_data  ) 

Definition at line 6065 of file llviewermenu.cpp.

References LLViewerJointAttachment::getObject(), and NULL.

Referenced by LLVOAvatar::buildCharacter(), and LLMakeOutfitDialog::LLMakeOutfitDialog().

BOOL object_selected_and_point_valid ( void user_data  ) 

Definition at line 6026 of file llviewermenu.cpp.

References FALSE, LLSelectMgr::getSelection(), gSelectMgr, LL_PCODE_VOLUME, LLViewerObject::mChildList, and NULL.

Referenced by LLVOAvatar::buildCharacter(), and LLObjectEnableWear::handleEvent().

void pre_init_menus (  ) 

Definition at line 585 of file llviewermenu.cpp.

References gColors, LLControlGroup::getColor(), LLMenuGL::setDefaultBackgroundColor(), LLMenuItemGL::setDisabledColor(), LLMenuItemGL::setEnabledColor(), LLMenuItemGL::setHighlightBGColor(), and LLMenuItemGL::setHighlightFGColor().

Referenced by LLViewerWindow::initWorldUI().

void print_object_info ( void  ) 

Definition at line 4691 of file llviewermenu.cpp.

References gSelectMgr, and LLSelectMgr::selectionDump().

Referenced by init_debug_ui_menu().

void print_packets_lost ( void  ) 

Definition at line 3082 of file llviewermenu.cpp.

References gWorldPointer.

void process_grant_godlike_powers ( LLMessageSystem msg,
void **   
)

Definition at line 2696 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GodLevel, _PREHASH_GrantData, _PREHASH_SessionID, gAgent, LLAgent::getID(), LLAgent::getSessionID(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), llendl, llwarns, and set_god_level().

Referenced by register_viewer_callbacks().

void queue_actions ( LLFloaterScriptQueue q,
const std::string &  noscriptmsg,
const std::string &  nomodmsg 
)

Definition at line 6149 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), func, LLSelectMgr::getSelection(), gSelectMgr, gViewerWindow, llendl, llerrs, llwarns, and LLFloaterScriptQueue::start().

Referenced by handle_reset_selection(), handle_set_not_run_selection(), handle_set_run_selection(), and LLToolsSelectedScriptAction::handleEvent().

void reload_personal_settings_overrides ( void  ) 

Definition at line 6836 of file llviewermenu.cpp.

References gDirUtilp, LLDir::getExpandedFilename(), gSavedSettings, LL_PATH_PER_SL_ACCOUNT, llendl, llinfos, and LLControlGroup::loadFromFile().

Referenced by init_client_menu().

void reload_ui ( void  ) 

Definition at line 3059 of file llviewermenu.cpp.

References gUICtrlFactory, and LLUICtrlFactory::rebuild().

void reload_vertex_shader ( void  ) 

Definition at line 6850 of file llviewermenu.cpp.

Referenced by init_debug_avatar_menu().

void request_friendship ( const LLUUID agent_id  ) 

Definition at line 2821 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), LLViewerObjectList::findObject(), LLViewerObject::getNVPair(), LLNameValue::getString(), gObjectList, gViewerWindow, LLPrimitive::isAvatar(), LLPanelFriends::requestFriendship(), and LLNotifyBox::showXml().

Referenced by LLAvatarAddFriend::handleEvent().

void reset_view_final ( BOOL  proceed,
void  
)

Definition at line 3279 of file llviewermenu.cpp.

References LLAgent::changeCameraToDefault(), LLFloater::close(), gAgent, gBasicToolset, LLView::getVisible(), gFloaterTools, gToolMgr, gViewerWindow, handle_toggle_flycam(), NULL, LLAgent::resetView(), LLToolMgr::setCurrentToolset(), LLViewerWindow::showCursor(), and LLViewerJoystick::sOverrideCamera.

Referenced by handle_reset_view().

S32 selection_price (  ) 

Definition at line 4101 of file llviewermenu.cpp.

References LLSelectMgr::getSelection(), gSelectMgr, LLViewerObject::permYouOwner(), and S32.

Referenced by LLToolsBuyOrTake::handleEvent().

void set_god_level ( U8  god_level  ) 

Definition at line 2632 of file llviewermenu.cpp.

References LLViewerObjectList::dirtyAllObjectInventory(), gAgent, gColors, LLControlGroup::getColor(), LLAgent::getGodLevel(), gIMMgr, gInProductionGrid, gMenuBarView, gObjectList, GOD_NOT, gParcelMgr, gStatusBar, gWorldMap, llformat(), LLViewerParcelMgr::notifyObservers(), LLIMMgr::refresh(), LLFloaterDirectory::requestClassifieds(), LLWorldMap::reset(), S32, LLPanel::setBackgroundColor(), LLMenuGL::setBackgroundColor(), LLWorldMap::setCurrentLayer(), LLAgent::setGodLevel(), show_debug_menus(), and LLNotifyBox::showXml().

Referenced by handle_toggle_hacked_godmode(), and process_grant_godlike_powers().

void show_buy_currency ( const char *  extra  ) 

Definition at line 4130 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), BUY_CURRENCY_URL, callback_show_buy_currency(), gViewerWindow, and NULL.

void show_debug_menus (  ) 

Definition at line 4697 of file llviewermenu.cpp.

References CLIENT_MENU_NAME, LLControlGroup::getBOOL(), gMenuBarView, gSavedSettings, SERVER_MENU_NAME, LLMenuGL::setItemEnabled(), LLMenuGL::setItemVisible(), and LLFirstUse::useDebugMenus().

Referenced by handle_admin_override_toggle(), init_menus(), set_god_level(), and toggle_debug_menus().

void show_permissions_control ( void  ) 

Definition at line 2939 of file llviewermenu.cpp.

References LLPermissionsView::addPermissionsData(), LLFloaterPermissionsMgr::mPermissions, LLUUID::null, and LLFloaterPermissionsMgr::show().

BOOL sitting_on_selection (  ) 

Definition at line 4183 of file llviewermenu.cpp.

References FALSE, gAgent, LLAgent::getAvatarObject(), LLSelectNode::getObject(), LLXform::getRoot(), LLSelectMgr::getSelection(), gSelectMgr, LLVOAvatar::mIsSitting, and LLSelectNode::mValid.

Referenced by enable_take(), handle_sit_or_stand(), and LLObjectEnableSitOrStand::handleEvent().

void slow_mo_animations ( void  ) 

Definition at line 6855 of file llviewermenu.cpp.

References f, FALSE, gAgent, LLAgent::getAvatarObject(), LLCharacter::setAnimTimeFactor(), and TRUE.

Referenced by init_debug_avatar_menu().

bool toggle_build_mode (  ) 

Definition at line 1773 of file llviewermenu.cpp.

References ANIMATE, LLAgent::cameraOrbitOver(), LLAgent::cameraZoomIn(), DEG_TO_RAD, f, FALSE, gAgent, gBasicToolset, LLAgent::getAtAxis(), LLControlGroup::getBOOL(), LLToolMgr::getCurrentToolset(), LLAgent::getFocusOnAvatar(), LLAgent::getPositionGlobal(), gSavedSettings, gToolCreate, gToolMgr, handle_reset_view(), LLToolMgr::inEdit(), LLToolset::selectTool(), LLToolMgr::setCurrentToolset(), LLAgent::setFocusGlobal(), LLAgent::setFocusOnAvatar(), and LLFirstUse::useBuild().

Referenced by LLViewBuildMode::handleEvent(), and LLToolBar::onClickBuild().

void toggle_build_options ( void user_data  ) 

void toggle_cull_small ( void  ) 

Definition at line 6753 of file llviewermenu.cpp.

void toggle_debug_menus ( void  ) 

Definition at line 4718 of file llviewermenu.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, LLControlGroup::setBOOL(), and show_debug_menus().

Referenced by LLViewerWindow::handleKey().

void toggle_glow ( void  ) 

void toggle_map ( void user_data  ) 

Definition at line 4726 of file llviewermenu.cpp.

References LLFloater::close(), LLControlGroup::getBOOL(), gFloaterMap, gSavedSettings, LLFloater::open(), and LLControlGroup::setBOOL().

void toggle_show_xui_names ( void  ) 

Definition at line 6738 of file llviewermenu.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().

Referenced by init_debug_ui_menu(), and init_debug_xui_menu().

void toggle_vertex_shaders ( void  ) 

void toggle_visibility ( void  ) 

Definition at line 7152 of file llviewermenu.cpp.

References LLView::getVisible(), and LLView::setVisible().

Referenced by init_client_menu().

void toggle_water_audio ( void   ) 

void toggle_wind_audio ( void   ) 

Definition at line 3211 of file llviewermenu.cpp.

References LLAudioEngine::enableWind(), gAudiop, and LLAudioEngine::isWindEnabled().

void update_fov ( S32  increments  ) 

Definition at line 3131 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentFOV, _PREHASH_AgentID, _PREHASH_CircuitCode, _PREHASH_FOVBlock, _PREHASH_GenCounter, _PREHASH_SessionID, _PREHASH_VerticalAngle, LLMessageSystem::addF32Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), f, gAgent, gCamera, LLViewerCamera::getDefaultFOV(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, llclamp(), MAX_FIELD_OF_VIEW, MIN_FIELD_OF_VIEW, LLMessageSystem::mOurCircuitCode, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLAgent::sendReliableMessage(), LLViewerCamera::setDefaultFOV(), and LLCamera::setView().

Referenced by LLViewZoomIn::handleEvent(), and LLViewZoomOut::handleEvent().

void upload_done_callback ( const LLUUID uuid,
void user_data,
S32  result,
LLExtStat  ext_status 
)

Definition at line 802 of file llviewermenufile.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AggregatePermInventory, _PREHASH_AggregatePermNextOwner, _PREHASH_Amount, _PREHASH_Description, _PREHASH_DestID, _PREHASH_MoneyData, _PREHASH_MoneyTransferRequest, _PREHASH_SessionID, _PREHASH_SourceID, _PREHASH_TransactionType, LLMessageSystem::addS32Fast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU8(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLViewerWindow::alertXml(), LLAggregatePermissions::AP_EMPTY, LLAssetType::AT_ANIMATION, LLAssetType::AT_NONE, LLAssetType::AT_SOUND, LLAssetType::AT_TEXTURE, LLFloaterBuyCurrency::buyCurrency(), can_afford_transaction(), create_inventory_item(), DB_INV_ITEM_NAME_STR_LEN, LLStatusBar::debitBalance(), FALSE, LLInventoryModel::findCategoryUUIDForType(), gAgent, LLAssetInfo::getDescription(), LLFilePicker::getDirname(), LLAssetStorage::getErrorString(), LLViewerRegion::getHost(), LLAgent::getID(), LLAssetInfo::getName(), LLFilePicker::getNextFile(), LLGlobalEconomy::getPriceUpload(), LLAgent::getRegion(), LLAgent::getSessionID(), gGlobalEconomy, gInventory, gMessageSystem, gStatusBar, gViewerWindow, LLFilePicker::instance(), LLInventoryType::IT_NONE, llendl, llformat(), llinfos, llmin(), llwarns, LLInventoryType::lookupHumanReadable(), LLResourceData::mAssetInfo, LLResourceData::mInventoryType, LLResourceData::mNextOwnerPerm, LLUploadDialog::modalUploadFinished(), LLResourceData::mPreferredLocation, LLAssetInfo::mTransactionID, LLAssetInfo::mType, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NOT_WEARABLE, LLUUID::null, NULL, PERM_MOVE, PERM_NONE, PERM_TRANSFER, LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), S32, LLMessageSystem::sendReliable(), LLStringBase< char >::stripNonprintable(), TRANS_UPLOAD_CHARGE, LLStringBase< char >::trim(), TRUE, and upload_new_resource().

Referenced by upload_new_resource().

const char* upload_pick ( void data  ) 

char* upload_pick(void* data)

If applicable, brings up a file chooser in which the user selects a file to upload for a particular task. If the file is valid for the given action, returns the string to the full path filename, else returns NULL. Data is the load filter for the type of file as defined in LLFilePicker.

Definition at line 102 of file llviewermenufile.cpp.

References LLViewerWindow::alertXml(), build_extensions_string(), LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), check_for_invalid_wav_formats(), FALSE, LLFilePicker::FFLOAD_ALL, LLFilePicker::FFLOAD_WAV, gAgent, gDirUtilp, LLDir::getDirDelimiter(), LLFilePicker::getFirstFile(), LLFilePicker::getOpenFile(), gViewerWindow, LLFilePicker::instance(), llendl, llinfos, MAX_STRING, NULL, TRUE, and type.

Referenced by handle_upload(), LLFileUploadAnim::handleEvent(), LLFileUploadSound::handleEvent(), and LLFileUploadImage::handleEvent().

void velocity_interpolate ( void data  ) 

Definition at line 3094 of file llviewermenu.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, _PREHASH_VelocityInterpolateOff, _PREHASH_VelocityInterpolateOn, LLMessageSystem::addUUIDFast(), gAgent, LLControlGroup::getBOOL(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, gSavedSettings, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLAgent::sendReliableMessage(), and LLControlGroup::setBOOL().

Referenced by init_client_menu().


Variable Documentation

const char* ALL_FILE_EXTENSIONS = "*.*" [static]

Definition at line 272 of file llviewermenu.cpp.

Referenced by build_extensions_string().

const LLString CLIENT_MENU_NAME("Client")

Referenced by init_menus(), and show_debug_menus().

LLMenuItemCallGL* gAFKMenu = NULL

Definition at line 286 of file llviewermenu.cpp.

Referenced by LLAgent::clearAFK(), init_menus(), and LLAgent::setAFK().

BOOL gAllowSelectAvatar

Definition at line 108 of file llselectmgr.cpp.

Referenced by LLSelectMgr::addAsFamily(), LLToolSelect::handleObjectSelection(), and init_debug_avatar_menu().

LLPieMenu* gAttachBodyPartPieMenus[8]

Definition at line 280 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

LLPieMenu* gAttachPieMenu = NULL

Definition at line 279 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter(), and init_menus().

LLPieMenu* gAttachScreenPieMenu = NULL

Definition at line 278 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter(), and init_menus().

LLMenuGL* gAttachSubMenu = NULL

Definition at line 274 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter(), and init_menus().

LLMenuItemCallGL* gBusyMenu = NULL

Definition at line 287 of file llviewermenu.cpp.

Referenced by LLAgent::clearBusy(), init_menus(), and LLAgent::setBusy().

BOOL gDebugAvatarRotation

Definition at line 139 of file llvoavatar.cpp.

Referenced by init_debug_avatar_menu(), and LLVOAvatar::updateCharacter().

BOOL gDebugClicks

Definition at line 59 of file llwindow.cpp.

BOOL gDebugSelectMgr

Definition at line 105 of file llselectmgr.cpp.

Referenced by LLSelectMgr::deselectAllIfTooFar(), and init_debug_ui_menu().

BOOL gDebugTextEditorTips

Definition at line 67 of file lltexteditor.cpp.

Referenced by init_debug_ui_menu().

BOOL gDebugWindowProc

Definition at line 60 of file llwindow.cpp.

Referenced by cleanup_saved_settings(), init_debug_ui_menu(), and saved_settings_to_globals().

LLPieMenu* gDetachBodyPartPieMenus[8]

Definition at line 283 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

LLPieMenu* gDetachPieMenu = NULL

Definition at line 281 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter(), and init_menus().

LLPieMenu* gDetachScreenPieMenu = NULL

Definition at line 282 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter(), and init_menus().

LLMenuGL* gDetachSubMenu = NULL

Definition at line 275 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter(), and init_menus().

LLUploadDialog* gExportDialog = NULL

Definition at line 4745 of file llviewermenu.cpp.

Referenced by exported_item_complete(), exported_j2c_complete(), and handle_export_selected().

LLString gExportDirectory

Definition at line 4743 of file llviewermenu.cpp.

Referenced by export_complete(), and handle_export_selected().

LLUUID gExporterRequestID

Definition at line 4742 of file llviewermenu.cpp.

Referenced by enable_export_selected(), export_complete(), and handle_export_selected().

BOOL gHideSelectedObjects

Definition at line 107 of file llselectmgr.cpp.

LLMenuGL* gLandmarkMenu = NULL

Definition at line 285 of file llviewermenu.cpp.

Referenced by build_landmark_menu(), and cleanup_menus().

LLLandmarkObserver* gLandmarkObserver = NULL [static]

Definition at line 558 of file llviewermenu.cpp.

Referenced by cleanup_menus(), and init_menus().

LLMenuBarGL* gMenuBarView = NULL

Definition at line 243 of file llviewermenu.cpp.

LLViewerMenuHolderGL* gMenuHolder = NULL

Definition at line 244 of file llviewermenu.cpp.

Referenced by addMenu(), LLVOAvatar::buildCharacter(), LLMenuParcelObserver::changed(), cleanup_menus(), LLFileEnableCloseWindow::handleEvent(), LLFileEnableUpload::handleEvent(), LLFileEnableSaveAs::handleEvent(), LLEditEnableTakeOff::handleEvent(), LLViewCheckHUDAttachments::handleEvent(), LLViewCheckRenderType::handleEvent(), LLViewCheckBeaconEnabled::handleEvent(), LLViewCheckHighlightTransparent::handleEvent(), LLViewCheckShowHoverTips::handleEvent(), LLWorldEnableTeleportHome::handleEvent(), LLWorldEnableSetHomeLocation::handleEvent(), LLWorldEnableCreateLandmark::handleEvent(), LLToolsEnableToolNotPie::handleEvent(), LLViewEnableMouselook::handleEvent(), LLToolsEnableSaveToObjectInventory::handleEvent(), LLToolsEnableSaveToInventory::handleEvent(), LLToolsEnableTakeCopy::handleEvent(), LLEditableSelected::handleEvent(), LLSomethingSelectedNoHUD::handleEvent(), LLSomethingSelected::handleEvent(), LLAttachmentEnableDetach::handleEvent(), LLAttachmentEnableDrop::handleEvent(), LLWorldEnableBuyLand::handleEvent(), LLFloaterVisible::handleEvent(), LLShowFloater::handleEvent(), LLObjectEnableSitOrStand::handleEvent(), LLEnablePayObject::handleEvent(), LLWorldCheckAlwaysRun::handleEvent(), LLEditEnableRedo::handleEvent(), LLEditEnableUndo::handleEvent(), LLEditEnableSelectAll::handleEvent(), LLEditEnableDeselect::handleEvent(), LLViewEnableLastChatter::handleEvent(), LLObjectDelete::handleEvent(), LLObjectEnableDelete::handleEvent(), LLEditDelete::handleEvent(), LLEditEnableDelete::handleEvent(), LLEditEnablePaste::handleEvent(), LLEditEnableCopy::handleEvent(), LLEditEnableCut::handleEvent(), LLToolsEnableUnlink::handleEvent(), LLToolsEnableLink::handleEvent(), LLToolsEnableBuyOrTake::handleEvent(), LLObjectEnableReturn::handleEvent(), LLEditEnableDuplicate::handleEvent(), LLEditEnableCustomizeAvatar::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), LLSelfEnableStandUp::handleEvent(), LLObjectEnableBuy::handleEvent(), LLAvatarEnableFreezeEject::handleEvent(), LLAvatarEnableDebug::handleEvent(), LLAvatarVisibleDebug::handleEvent(), LLObjectEnableMute::handleEvent(), LLSelfEnableRemoveAllAttachments::handleEvent(), LLEnableEdit::handleEvent(), LLLandEnableBuyPass::handleEvent(), LLViewCheckBuildMode::handleEvent(), LLObjectEnableOpen::handleEvent(), LLObjectEnableTouch::handleEvent(), LLObjectEnableReportAbuse::handleEvent(), LLViewerWindow::handleKey(), init_menu_file(), init_menus(), LLViewerWindow::initWorldUI(), LLToolPie::pickAndShowMenu(), process_economy_data(), and LLAgent::resetView().

LLMenuParcelObserver* gMenuParcelObserver = NULL [static]

Definition at line 557 of file llviewermenu.cpp.

Referenced by cleanup_menus(), and init_menus().

BOOL gOcclusionCull

BOOL gPeriodicSlowFrame

Definition at line 448 of file viewer.cpp.

Referenced by init_debug_rendering_menu(), and main_loop().

LLPieMenu* gPieAttachment = NULL

Definition at line 251 of file llviewermenu.cpp.

Referenced by cleanup_menus(), LLWornItemFetchedObserver::done(), init_menus(), and LLToolPie::pickAndShowMenu().

LLPieMenu* gPieAvatar = NULL

Definition at line 249 of file llviewermenu.cpp.

Referenced by cleanup_menus(), init_menus(), and LLToolPie::pickAndShowMenu().

LLPieMenu* gPieLand = NULL

Definition at line 252 of file llviewermenu.cpp.

Referenced by cleanup_menus(), init_menus(), and LLToolPie::pickAndShowMenu().

LLPieMenu* gPieObject = NULL

Definition at line 250 of file llviewermenu.cpp.

Referenced by cleanup_menus(), LLSelectMgr::deselectAllIfTooFar(), dialog_refresh_all(), LLObjectDelete::handleEvent(), LLEditDelete::handleEvent(), init_menus(), and LLToolPie::pickAndShowMenu().

LLPieMenu* gPieRate = NULL

Definition at line 277 of file llviewermenu.cpp.

Referenced by LLSelectMgr::deselectAllIfTooFar(), and init_menus().

LLPieMenu* gPieSelf = NULL

Definition at line 248 of file llviewermenu.cpp.

Referenced by cleanup_menus(), init_menus(), and LLToolPie::pickAndShowMenu().

LLMenuGL* gPopupMenuView = NULL

Definition at line 245 of file llviewermenu.cpp.

Referenced by cleanup_menus(), LLToolCompGun::handleHover(), init_menus(), and LLSelectMgr::processObjectProperties().

BOOL gRandomizeFramerate

Definition at line 447 of file viewer.cpp.

Referenced by init_debug_rendering_menu(), and main_loop().

BOOL gRenderAvatar

Definition at line 104 of file lldrawpoolavatar.cpp.

Referenced by LLDrawPoolAvatar::renderAvatars(), and LLDrawPoolAvatar::renderForSelect().

BOOL gRenderLightGlows

BOOL gShowOverlayTitle

Definition at line 236 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::draw(), handle_show_overlay_title(), and LLViewerWindow::LLViewerWindow().

LLMenuGL* gTakeOffClothes = NULL

Definition at line 276 of file llviewermenu.cpp.

BOOL gVectorizePerfTest

Definition at line 4720 of file viewer.cpp.

Referenced by init_debug_rendering_menu(), and LLViewerJointMesh::updateGeometry().

const LLString LANDMARK_MENU_NAME("Landmarks")

BOOL modifiable

Definition at line 6128 of file llviewermenu.cpp.

Referenced by LLPreviewNotecard::onLoadComplete(), and LLPreviewGesture::refresh().

LLFloaterScriptQueue* mQueue

Definition at line 6129 of file llviewermenu.cpp.

const LLString SAVE_INTO_INVENTORY("Save Object Back to My Inventory")

Referenced by LLSelectMgr::processObjectProperties().

const LLString SAVE_INTO_TASK_INVENTORY("Save Object Back to Object Contents")

BOOL scripted

Definition at line 6127 of file llviewermenu.cpp.

const LLString SERVER_MENU_NAME("Server")

Referenced by init_menus(), and show_debug_menus().

std::vector<LLPointer<view_listener_t> > sMenus [static]

Definition at line 1589 of file llviewermenu.cpp.

Referenced by addMenu(), and cleanup_menus().


Generated on Thu Jul 1 06:10:47 2010 for Second Life Viewer by  doxygen 1.4.7