#include "llviewerprecompiledheaders.h"
#include "llstartup.h"
#include <sys/stat.h>
#include "audioengine.h"
#include "llares.h"
#include "llcachename.h"
#include "llviewercontrol.h"
#include "lldir.h"
#include "llerrorcontrol.h"
#include "llfiltersd2xmlrpc.h"
#include "llfocusmgr.h"
#include "llhttpsender.h"
#include "imageids.h"
#include "lllandmark.h"
#include "llloginflags.h"
#include "llmd5.h"
#include "llmemorystream.h"
#include "llmessageconfig.h"
#include "llmoveview.h"
#include "llregionhandle.h"
#include "llsd.h"
#include "llsdserialize.h"
#include "llsdutil.h"
#include "llsecondlifeurls.h"
#include "llstring.h"
#include "lluserrelations.h"
#include "llversionviewer.h"
#include "llvfs.h"
#include "llxorcipher.h"
#include "message.h"
#include "v3math.h"
#include "llagent.h"
#include "llagentpilot.h"
#include "llfloateravatarpicker.h"
#include "llcallbacklist.h"
#include "llcallingcard.h"
#include "llcolorscheme.h"
#include "llconsole.h"
#include "llcontainerview.h"
#include "llfloaterstats.h"
#include "lldebugview.h"
#include "lldrawable.h"
#include "lleventnotifier.h"
#include "llface.h"
#include "llfeaturemanager.h"
#include "llfirstuse.h"
#include "llfloateractivespeakers.h"
#include "llfloatercamera.h"
#include "llfloaterchat.h"
#include "llfloatergesture.h"
#include "llfloaterhud.h"
#include "llfloaterland.h"
#include "llfloatertopobjects.h"
#include "llfloatertos.h"
#include "llfloaterworldmap.h"
#include "llframestats.h"
#include "llframestatview.h"
#include "llgesturemgr.h"
#include "llgroupmgr.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llhttpclient.h"
#include "llimagebmp.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
#include "llpanellogin.h"
#include "llmutelist.h"
#include "llnotify.h"
#include "llpanelavatar.h"
#include "llpaneldirbrowser.h"
#include "llpaneldirland.h"
#include "llpanelevent.h"
#include "llpanelclassified.h"
#include "llpanelpick.h"
#include "llpanelplace.h"
#include "llpanelgrouplandmoney.h"
#include "llpanelgroupnotices.h"
#include "llpreview.h"
#include "llpreviewscript.h"
#include "llselectmgr.h"
#include "llsky.h"
#include "llsrv.h"
#include "llstatview.h"
#include "lltrans.h"
#include "llsurface.h"
#include "lltexturecache.h"
#include "lltexturefetch.h"
#include "lltoolmgr.h"
#include "llui.h"
#include "llurldispatcher.h"
#include "llurlsimstring.h"
#include "llurlhistory.h"
#include "llurlwhitelist.h"
#include "lluserauth.h"
#include "llvieweraudio.h"
#include "llviewerassetstorage.h"
#include "llviewercamera.h"
#include "llviewerdisplay.h"
#include "llviewergenericmessage.h"
#include "llviewergesture.h"
#include "llviewerimagelist.h"
#include "llviewermedia.h"
#include "llviewermenu.h"
#include "llviewermessage.h"
#include "llviewernetwork.h"
#include "llviewerobjectlist.h"
#include "llviewerparcelmedia.h"
#include "llviewerparcelmgr.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llviewerthrottle.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llvoclouds.h"
#include "llweb.h"
#include "llworld.h"
#include "llworldmap.h"
#include "llxfermanager.h"
#include "pipeline.h"
#include "llappviewer.h"
#include "llfasttimerview.h"
#include "llfloatermap.h"
#include "llvoiceclient.h"
#include "llnamelistctrl.h"
#include "llnamebox.h"
#include "llnameeditor.h"
#include "llpostprocess.h"
#include "llwlparammanager.h"
#include "llwaterparammanager.h"
Go to the source code of this file.
Classes | |
class | LLGestureInventoryFetchObserver |
Functions | |
void | login_show () |
void | login_callback (S32 option, void *userdata) |
LLString | load_password_from_disk () |
void | save_password_to_disk (const char *hashed_password) |
BOOL | is_hex_string (U8 *str, S32 len) |
void | show_first_run_dialog () |
void | first_run_dialog_callback (S32 option, void *userdata) |
void | set_startup_status (const F32 frac, const char *string, const char *msg) |
void | login_alert_status (S32 option, void *user_data) |
void | update_app (BOOL mandatory, const std::string &message) |
void | update_dialog_callback (S32 option, void *userdata) |
void | login_packet_failed (void **, S32 result) |
void | use_circuit_callback (void **, S32 result) |
void | register_viewer_callbacks (LLMessageSystem *msg) |
void | init_stat_view () |
void | asset_callback_nothing (LLVFS *, const LLUUID &, LLAssetType::EType, void *, S32) |
void | dialog_choose_gender_first_start () |
void | callback_choose_gender (S32 option, void *userdata) |
void | init_start_screen (S32 location_id) |
void | release_start_screen () |
void | reset_login () |
void | callback_cache_name (const LLUUID &id, const char *firstname, const char *lastname, BOOL is_group, void *data) |
void | update_texture_fetch () |
BOOL | idle_startup () |
void | login_alert_done (S32 option, void *user_data) |
Variables | |
BOOL | gAgentMovementCompleted = FALSE |
const char * | SCREEN_HOME_FILENAME = "screen_home.bmp" |
const char * | SCREEN_LAST_FILENAME = "screen_last.bmp" |
S32 | gStartImageWidth |
S32 | gStartImageHeight |
LLPointer< LLImageGL > | gStartImageGL |
static LLHost | gAgentSimHost |
static BOOL | gSkipOptionalUpdate = FALSE |
static bool | gGotUseCircuitCodeAck = false |
LLString | gInitialOutfit |
LLString | gInitialOutfitGender |
static bool | gUseCircuitCallbackCalled = false |
static std::vector< std::string > | sAuthUris |
static S32 | sAuthUriNum = -1 |
const char * | COMMON_GESTURES_FOLDER = "Common Gestures" |
const char * | MALE_GESTURES_FOLDER = "Male Gestures" |
const char * | FEMALE_GESTURES_FOLDER = "Female Gestures" |
const char * | MALE_OUTFIT_FOLDER = "Male Shape & Outfit" |
const char * | FEMALE_OUTFIT_FOLDER = "Female Shape & Outfit" |
const S32 | OPT_USE_INITIAL_OUTFIT = -2 |
const S32 | OPT_CLOSED_WINDOW = -1 |
const S32 | OPT_MALE = 0 |
const S32 | OPT_FEMALE = 1 |
Copyright (c) 2004-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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 llstartup.cpp.
void asset_callback_nothing | ( | LLVFS * | , | |
const LLUUID & | , | |||
LLAssetType::EType | , | |||
void * | , | |||
S32 | ||||
) |
Definition at line 3556 of file llstartup.cpp.
void callback_cache_name | ( | const LLUUID & | id, | |
const char * | firstname, | |||
const char * | lastname, | |||
BOOL | is_group, | |||
void * | data | |||
) |
Definition at line 241 of file llstartup.cpp.
References dialog_refresh_all(), LLNameEditor::refreshAll(), LLNameBox::refreshAll(), and LLNameListCtrl::refreshAll().
Referenced by idle_startup().
void callback_choose_gender | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 3572 of file llstartup.cpp.
References LLInventoryModel::collectDescendentsIf(), COMMON_GESTURES_FOLDER, LLDynamicArray< Type, BlockSize >::count(), LLAgent::createStandardWearables(), LLInventoryModel::EXCLUDE_TRASH, FEMALE_GESTURES_FOLDER, FEMALE_OUTFIT_FOLDER, gAgent, gInventory, MALE_GESTURES_FOLDER, MALE_OUTFIT_FOLDER, LLUUID::null, OPT_CLOSED_WINDOW, OPT_FEMALE, OPT_MALE, S32, LLAgent::setGenderChosen(), TRUE, and wear_outfit_by_name().
Referenced by dialog_choose_gender_first_start().
void dialog_choose_gender_first_start | ( | ) |
Definition at line 3640 of file llstartup.cpp.
References LLViewerWindow::alertXml(), callback_choose_gender(), gAgent, gNoRender, gViewerWindow, LLAgent::isGenderChosen(), and NULL.
Referenced by idle_startup().
void first_run_dialog_callback | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 2554 of file llstartup.cpp.
References CREATE_ACCOUNT_URL, LLPanelLogin::giveFocus(), LL_DEBUGS, LL_ENDL, and LLWeb::loadURL().
Referenced by show_first_run_dialog().
BOOL idle_startup | ( | ) |
Definition at line 301 of file llstartup.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentMovementComplete, _PREHASH_AttachedSound, _PREHASH_AttachedSoundGainChange, _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_EconomyDataRequest, _PREHASH_ID, _PREHASH_MoneyBalanceRequest, _PREHASH_MoneyData, _PREHASH_PreloadSound, _PREHASH_SessionID, _PREHASH_SoundTrigger, _PREHASH_TransactionID, _PREHASH_UseCircuitCode, LLGestureManager::activateGestureWithAsset(), LLAvatarTracker::addBuddyList(), LLInventoryModel::addChangedMask(), LLInventoryModel::addObserver(), LLCacheName::addObserver(), LLWorld::addRegion(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLViewerWindow::alertXml(), LLInventoryObserver::ALL, LLSD::asInteger(), LLSD::asString(), audio_update_volume(), LLUserAuth::authenticate(), LLUserAuth::authResponse(), LLInventoryModel::buildParentChildMap(), LLAgent::calcCameraPositionTargetGlobal(), callback_cache_name(), LLCallbackList::callFunctions(), LLMessageSystem::checkAllMessages(), LLAgent::clearAFK(), LLPanelLogin::close(), LLStringBase< char >::convertToF32(), LLHUDManager::createViewerEffect(), LLViewerImageList::decodeAllImages(), dialog_choose_gender_first_start(), LLURLDispatcher::dispatchFromTextEditor(), LLStartUp::dispatchURL(), display_startup(), LLViewerImageList::doPrefetchImages(), LLUserAuth::E_COULDNT_RESOLVE_HOST, LLUserAuth::E_DOWNLOADING, LLUserAuth::E_NO_RESPONSE_YET, LLUserAuth::E_OK, LLUserAuth::E_SSL_CACERT, LLUserAuth::E_SSL_CONNECT_ERROR, LLUserAuth::E_SSL_PEER_CERTIFICATE, LLUserAuth::E_UNHANDLED_ERROR, LLAppViewer::earlyExit(), LLMessageSystem::enableCircuit(), LLUserAuth::errorMessage(), FALSE, LLInventoryFetchObserver::fetchItems(), LLMD5::finalize(), LLFile::fopen(), LLAppViewer::forceQuit(), from_region_handle(), LLSDSerialize::fromNotation(), gAcceptCriticalMessage, gAcceptTOS, gAgent, gAgentID, gAgentMovementCompleted, gAgentPilot, gAgentSessionID, gAssetStorage, gAudiop, gCacheName, gCloudTextureID, gDebugInfo, gDebugView, gDirUtilp, gDisabledMessage, gDisplaySwapBuffers, LLAgent::getAvatarObject(), LLControlGroup::getBOOL(), LLDir::getChatLogsDir(), LLControlGroup::getColor4(), LLViewerWindow::getDisplayAspectRatio(), LLAgent::getEffectColor(), LLFrameTimer::getElapsedTimeF32(), LLTimer::getElapsedTimeF32(), LLMessageSystem::getErrorCode(), LLDir::getExpandedFilename(), LLControlGroup::getF32(), LLPanelLogin::getFields(), LLWindow::getFullscreen(), LLViewerRegion::getHost(), LLAgent::getID(), LLViewerWindow::getInitAlert(), LLMuteList::getInstance(), LLSingleton< LLHUDManager >::getInstance(), LLSingleton< LLViewerCamera >::getInstance(), LLSingleton< LLViewerStats >::getInstance(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLUserAuth >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLSingleton< LLFeatureManager >::getInstance(), LLUserAuth::getLastTransferRateBPS(), LLDir::getLindenUserDir(), LLControlGroup::getLLSD(), LLPanelLogin::getLocation(), LLAppViewer::getLoginURIs(), LLViewerThrottle::getMaxBandwidth(), LLMessageSystem::getMessageName(), LLViewerRegion::getOriginGlobal(), LLDir::getOSUserAppDir(), LLDir::getPerAccountChatLogsDir(), LLViewerWindow::getPlatformWindow(), LLAgent::getPositionGlobal(), LLAgent::getRegion(), LLWorld::getRegionFromHandle(), LLUserAuth::getResponse(), LLControlGroup::getS32(), LLAppViewer::getSecondLifeTitle(), LLAppViewer::getSerialNumber(), LLPanelLogin::getServer(), LLAgent::getSessionID(), LLAppViewer::getSettingsFileName(), LLStartUp::getStartupState(), LLTrans::getString(), LLControlGroup::getString(), LLControlGroup::getU32(), LLControlGroup::getVector3d(), LLFeatureManager::getVersion(), LLAgent::getWearablesLoaded(), LLViewerWindow::getWindow(), LLViewerWindow::getWindowDisplayHeight(), LLViewerWindow::getWindowHeight(), LLViewerWindow::getWindowWidth(), gEventNotifier, gFloaterMap, gFloaterWorldMap, gFocusMgr, gForegroundTime, gFrameCount, gFrameIntervalSeconds, gFrameStats, gFrameTime, gFrameTimeSeconds, gGestureManager, gGotUseCircuitCodeAck, gGridChoice, gGridInfo, gGridName, gHideLinks, gIdleCallbacks, gImageList, gInventory, gInventoryLibraryOwner, gInventoryLibraryRoot, LLPanelLogin::giveFocus(), gKeyboard, gLastExecEvent, gLoginHandler, gLoginMenuBarView, gMACAddress, gMessageSystem, gMoonTextureID, gNoRender, gPacificDaylightTime, gRenderStartTime, GRID_INFO_OTHER, gSavedPerAccountSettings, gSavedSettings, gServicePump, gSkipOptionalUpdate, gSky, gStartTime, gSunTextureID, gUseCircuitCallbackCalled, gUTCOffset, gVFS, gViewerThrottle, gViewerWindow, gVoiceClient, gXferManager, LLViewerWindow::handlePerFrameHover(), LLMD5::hex_digest(), i, LLViewerStats::incStat(), LLSky::init(), LLAgent::init(), LLAudioEngine::init(), init(), init_audio(), init_colors(), init_start_screen(), init_stat_view(), LLWaterParamManager::initClass(), LLWLParamManager::initClass(), LLPostProcess::initClass(), LLDrawable::initClass(), LLFace::initClass(), LLViewerParcelMedia::initClass(), LLViewerMedia::initClass(), LLMessageConfig::initClass(), LLSurface::initClasses(), LLAgent::initOriginGlobal(), LLToolMgr::initTools(), LLViewerObject::initVOClasses(), LLViewerWindow::initWorldUI(), LLAvatarTracker::instance(), LLAppViewer::instance(), invalid_message_callback(), LLAgent::isFirstLogin(), LLAgent::isGenderChosen(), LLUUID::isNull(), LLHost::isOk(), LLMessageSystem::isOK(), kAUDIO_NUM_SOURCES, LLTimer::knownBadTimer(), LL_DEBUGS, LL_ENDL, LL_ERRS, LLHUDObject::LL_HUD_EFFECT_POINT, LL_INFOS, ll_init_ares(), LL_PATH_APP_SETTINGS, LL_PATH_PER_SL_ACCOUNT, ll_vector3_from_sd(), LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_WARNS, llassert, llclamp(), llformat(), LLEventNotifier::load(), LLViewerThrottle::load(), LLAgentPilot::load(), load_password_from_disk(), LLClassifiedInfo::loadCategories(), LLEventInfo::loadCategories(), LLURLHistory::loadFile(), LLAppViewer::loadNameCache(), LLAppViewer::loadSettingsFromDirectory(), LLInventoryModel::loadSkeleton(), LLWeb::loadURL(), LLUI::locateSkin(), login_alert_done(), login_show(), LLError::logToFixedBuffer(), MAC_ADDRESS_BYTES, MAX_STRING, MD5HEX_STR_SIZE, LLDebugView::mDebugConsolep, LLAgent::mDrawDistance, LLDebugView::mFastTimerView, LLLoginHandler::mFirstName, LLDebugView::mFloaterStatsp, LLAgent::mInventoryRootID, LLFile::mkdir(), LLGridData::mLabel, LLLoginHandler::mLastName, LLAgent::mMOTD, LLMessageSystem::mOurCircuitCode, LLViewerWindow::moveProgressViewToFront(), LLMessageSystem::mPacketRing, ms_sleep(), LLAgent::mSecureSessionID, LLURLSimString::mSimName, LLMemType::MTYPE_STARTUP, LLLoginHandler::mWebLoginKey, LLViewerWindow::mWindow, LLURLSimString::mX, MX_PACKET_TOO_SHORT, MX_UNREGISTERED_MESSAGE, MX_WROTE_PAST_BUFFER_SIZE, LLURLSimString::mY, LLURLSimString::mZ, NET_USE_OS_ASSIGNED_PORT, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLInventoryModel::notifyObservers(), LLUUID::notNull(), LLUUID::null, NULL, null_message_callback(), LLAgent::observeFriends(), LLFloaterWorldMap::observeFriends(), LLFloaterWorldMap::observeInventory(), LLURLSimString::parse(), LLLoginHandler::parseDirectLogin(), LLXMLNode::parseFile(), LLVFS::pokeFiles(), process_agent_movement_complete(), process_attached_sound(), process_attached_sound_gain_change(), process_preload_sound(), process_sound_trigger(), LLMessageSystem::processAcks(), register_viewer_callbacks(), LLLandmark::registerCallbacks(), LLAvatarTracker::registerCallbacks(), LLInventoryModel::registerCallbacks(), LLXferManager::registerCallbacks(), LLStringBase< char >::replaceChar(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLFrameTimer::reset(), LLUserAuth::reset(), LLTimer::reset(), reset_login(), LLAgent::resetAxes(), LLWindow::resetBusyCount(), LLAgent::resetCamera(), LLKeyboard::resetKeys(), LLViewerStats::resetStats(), LLAppViewer::resetURIs(), LLSRV::rewriteURI(), S32, LLPanelAvatar::sAllowFirstLife, sAuthUriNum, sAuthUris, save_password_to_disk(), LLControlGroup::saveToFile(), tut::sd(), SEC_TO_MICROSEC, send_complete_agent_movement(), LLAgent::sendAgentDataUpdateRequest(), LLHUDManager::sendEffects(), LLMessageSystem::sendReliable(), LLAgent::sendReliableMessage(), LLViewerWindow::sendShapeToSim(), LLHost::set(), LLUUID::set(), set_startup_status(), set_underclothes_menu_options(), LLXferManager::setAckThrottleBPS(), LLCamera::setAspect(), LLControlGroup::setBOOL(), LLAgent::setCameraPosAndFocusGlobal(), LLDir::setChatLogsDir(), LLHUDEffect::setColor(), LLWindow::setCursor(), LLHTTPSender::setDefaultSender(), LLPacketRing::setDropPercentage(), LLView::setEnabled(), LLMessageSystem::setExceptionFunc(), LLPanelLogin::setFields(), LLFrameStats::setFilename(), LLAgent::setFirstLogin(), LLAgent::setFocusOnAvatar(), LLAgent::setGenderChosen(), LLMessageSystem::setHandlerFuncFast(), LLAgent::setHomePosRegion(), LLPacketRing::setInBandwidth(), LLFocusMgr::setKeyboardFocus(), LLWorld::setLandFarClip(), LLDir::setLindenUserDir(), LLTextEditor::setLinkColor(), LLViewerThrottle::setMaxBandwidth(), LLXferManager::setMaxIncomingXfers(), LLMessageSystem::setMaxMessageTime(), LLAudioEngine::setMuted(), LLViewerWindow::setNormalControlsVisible(), LLPacketRing::setOutBandwidth(), LLDir::setPerAccountChatLogsDir(), LLAgent::setPositionAgent(), LLHUDObject::setPositionGlobal(), LLViewerWindow::setProgressCancelButtonVisible(), LLAgent::setRegion(), LLControlGroup::setS32(), LLViewerRegion::setSeedCapability(), LLViewerWindow::setShowProgress(), LLStartUp::setStartupState(), LLURLSimString::setString(), LLControlGroup::setString(), LLFrameStats::setSummaryFilename(), LLAgent::setTeen(), LLMessageSystem::setTimeDecodes(), LLMessageSystem::setTimeDecodesSpamThreshold(), LLControlGroup::setU32(), LLCacheName::setUpstream(), LLAssetStorage::setUpstream(), LLTextEditor::setURLCallbacks(), LLXferManager::setUseAckThrottling(), LLPacketRing::setUseInThrottle(), LLPacketRing::setUseOutThrottle(), LLCamera::setViewHeightInPixels(), LLFloater::setVisible(), LLView::setVisible(), LLFloaterMap::setVisible(), LLMenuGL::setVisible(), LLFloaterHUD::show(), LLFloaterTOS::show(), LLWindow::show(), LLInventoryView::showAgentInventory(), LLViewerWindow::showCursor(), LLUIFactory< T, LLUISingleton< T, VISIBILITY_POLICY >, VISIBILITY_POLICY >::showInstance(), LLURLSimString::sInstance, LLSD::size(), LLStartUp::sSLURLCommand, LLViewerStats::ST_WEARABLES_TOO_LONG, START_LOCATION_ID_HOME, START_LOCATION_ID_LAST, START_LOCATION_ID_URL, start_messaging_system(), start_xfer_manager(), LLMessageSystem::startLogging(), LLAppViewer::startMainloopTimeout(), LLModalDialog::startModal(), LLAgentPilot::startPlayback(), STATE_AGENT_SEND, STATE_AGENT_WAIT, STATE_CLEANUP, STATE_FIRST, STATE_INVENTORY_SEND, STATE_LOGIN_AUTH_INIT, STATE_LOGIN_AUTHENTICATE, STATE_LOGIN_CLEANUP, STATE_LOGIN_DOWNLOADING, STATE_LOGIN_NO_DATA_YET, STATE_LOGIN_PROCESS_RESPONSE, STATE_LOGIN_SHOW, STATE_LOGIN_WAIT, STATE_MEDIA_INIT, STATE_MISC, STATE_PRECACHE, STATE_SEED_CAP_GRANTED, STATE_SEED_GRANTED_WAIT, STATE_STARTED, STATE_UPDATE_CHECK, STATE_WEARABLES_WAIT, STATE_WORLD_INIT, STATE_WORLD_WAIT, LLAgent::sTeleportErrorMessages, LLAgent::stopCameraAnimation(), LLFloaterHUD::sTutorialUrl, time_corrected(), to_region_handle(), LLInventoryView::toggleVisibility(), LLFloaterTOS::TOS_CRITICAL_MESSAGE, LLFloaterTOS::TOS_TOS, totalTime(), LLStringBase< char >::trim(), TRUE, UI_CURSOR_ARROW, UI_CURSOR_WAIT, LLMD5::update(), update_app(), update_texture_fetch(), LLMortician::updateClass(), LLViewerImageList::updateImages(), use_circuit_callback(), LLVoiceClient::userAuthorized(), and xml_escape_string().
Referenced by LLAppViewer::idle().
void init_start_screen | ( | S32 | location_id | ) |
Definition at line 3662 of file llstartup.cpp.
References FALSE, gDirUtilp, LLControlGroup::getBOOL(), LLDir::getDirDelimiter(), LLDir::getLindenUserDir(), gSavedSettings, gStartImageHeight, gStartImageWidth, LL_DEBUGS, LL_ENDL, LL_INFOS, LL_WARNS, LLPointer< Type >::notNull(), NULL, S32, SCREEN_HOME_FILENAME, SCREEN_LAST_FILENAME, and START_LOCATION_ID_LAST.
Referenced by idle_startup().
void init_stat_view | ( | ) |
Definition at line 3020 of file llstartup.cpp.
References LLView::addChildAtEnd(), LLStatView::addStat(), LLFloaterStats::addStatView(), FALSE, gDebugView, LLRectBase< Type >::getHeight(), LLSingleton< LLViewerStats >::getInstance(), LLView::getRect(), LLRectBase< Type >::getWidth(), gFrameStats, gImageList, gObjectList, gPipeline, LLStatBar::mDisplayBar, LLStatBar::mDisplayHistory, LLStatBar::mDisplayMean, LLDebugView::mFloaterStatsp, LLDebugView::mFrameStatView, LLStatBar::mLabelSpacing, LLStatBar::mMaxBar, LLStatBar::mMinBar, LLViewerObjectList::mNumNewObjectsStat, LLViewerObjectList::mNumObjectsStat, LLStatBar::mPerSec, LLStatBar::mPrecision, LLFrameStatView::mShowPercent, LLStatBar::mTickSpacing, LLPipeline::mTrianglesDrawnStat, NULL, r, LLFloaterStats::reshape(), LLStatBar::setLabel(), LLStatBar::setUnitLabel(), LLFrameStatView::setup(), LLViewerImageList::sFormattedMemStat, LLViewerImageList::sGLBoundMemStat, LLViewerImageList::sGLTexMemStat, LLViewerImageList::sNumImagesStat, LLViewerImageList::sNumRawImagesStat, LLViewerImageList::sRawMemStat, and TRUE.
Referenced by idle_startup().
Definition at line 2515 of file llstartup.cpp.
Referenced by load_password_from_disk().
LLString load_password_from_disk | ( | void | ) |
void login_alert_done | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 3786 of file llstartup.cpp.
References LLPanelLogin::giveFocus().
Referenced by idle_startup(), and LLFloaterTOS::onCancel().
void login_alert_status | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 2575 of file llstartup.cpp.
References LLPanelLogin::giveFocus(), LL_ENDL, LL_WARNS, LLWeb::loadURL(), LLStartUp::setStartupState(), LLURLSimString::setString(), LLURLSimString::sLocationStringHome, STATE_LOGIN_CLEANUP, and SUPPORT_URL.
Referenced by use_circuit_callback().
void login_callback | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 2386 of file llstartup.cpp.
References LLPanelLogin::close(), FALSE, LLPanelLogin::getFields(), LLControlGroup::getString(), gSavedSettings, LLAppViewer::instance(), LL_ENDL, LL_WARNS, NULL, S32, save_password_to_disk(), LLControlGroup::saveToFile(), LLControlGroup::setBOOL(), LLStartUp::setStartupState(), STATE_LOGIN_CLEANUP, TRUE, and LLAppViewer::userQuit().
Referenced by login_show().
void login_packet_failed | ( | void ** | , | |
S32 | result | |||
) |
void login_show | ( | ) |
Definition at line 2338 of file llstartup.cpp.
References LLPanelLogin::addServer(), LLControlGroup::getBOOL(), LLViewerWindow::getVirtualWindowRect(), gGridChoice, gGridInfo, gGridName, GRID_INFO_ADITI, GRID_INFO_AGNI, GRID_INFO_ARUNA, GRID_INFO_DURGA, GRID_INFO_GANGA, GRID_INFO_LOCAL, GRID_INFO_MITRA, GRID_INFO_MOHINI, GRID_INFO_NANDI, GRID_INFO_OTHER, GRID_INFO_RADHA, GRID_INFO_RAVI, GRID_INFO_SHAKTI, GRID_INFO_SIVA, GRID_INFO_SOMA, GRID_INFO_UMA, GRID_INFO_VAAK, GRID_INFO_YAMI, gSavedSettings, gViewerWindow, LL_DEBUGS, LL_ENDL, LL_INFOS, login_callback(), NULL, LLPanelLogin::show(), and TRUE.
Referenced by idle_startup().
void register_viewer_callbacks | ( | LLMessageSystem * | msg | ) |
Definition at line 2832 of file llstartup.cpp.
References _PREHASH_AgentDataUpdate, _PREHASH_AgentGroupDataUpdate, _PREHASH_AgentWearablesUpdate, _PREHASH_AlertMessage, _PREHASH_AvatarAnimation, _PREHASH_AvatarAppearance, _PREHASH_AvatarSitResponse, _PREHASH_CameraConstraint, _PREHASH_ChatFromSimulator, _PREHASH_CoarseLocationUpdate, _PREHASH_CreateGroupReply, _PREHASH_DeRezAck, _PREHASH_DerezContainer, _PREHASH_DisableSimulator, _PREHASH_EconomyData, _PREHASH_EjectGroupMemberReply, _PREHASH_EnableSimulator, _PREHASH_FeatureDisabled, _PREHASH_GrantGodlikePowers, _PREHASH_GroupAccountDetailsReply, _PREHASH_GroupAccountSummaryReply, _PREHASH_GroupAccountTransactionsReply, _PREHASH_GroupMembersReply, _PREHASH_GroupProfileReply, _PREHASH_HealthMessage, _PREHASH_ImageData, _PREHASH_ImagePacket, _PREHASH_ImprovedInstantMessage, _PREHASH_ImprovedTerseObjectUpdate, _PREHASH_JoinGroupReply, _PREHASH_KickUser, _PREHASH_KillObject, _PREHASH_LayerData, _PREHASH_LeaveGroupReply, _PREHASH_MeanCollisionAlert, _PREHASH_MoneyBalanceReply, _PREHASH_NameValuePair, _PREHASH_ObjectProperties, _PREHASH_ObjectPropertiesFamily, _PREHASH_ObjectUpdate, _PREHASH_ParcelOverlay, _PREHASH_ParcelProperties, _PREHASH_RemoveNameValuePair, _PREHASH_ReplyTaskInventory, _PREHASH_ScriptQuestion, _PREHASH_ScriptRunningReply, _PREHASH_SimulatorViewerTimeMessage, _PREHASH_TeleportFinish, _PREHASH_UserInfoReply, _PREHASH_ViewerEffect, LLFloaterTopObjects::handle_land_reply(), NULL, process_accept_callingcard(), process_agent_alert_message(), process_alert_message(), process_avatar_animation(), process_avatar_appearance(), process_avatar_sit_response(), process_cached_object_update(), process_camera_constraint(), process_chat_from_simulator(), process_clear_follow_cam_properties(), process_compressed_object_update(), process_covenant_reply(), process_crossed_region(), process_decline_callingcard(), process_derez_ack(), process_derez_container(), process_disable_simulator(), process_economy_data(), process_enable_simulator(), process_feature_disabled_message(), process_frozen_message(), process_generic_message(), process_grant_godlike_powers(), process_health_message(), process_improved_im(), process_initiate_download(), process_kick_user(), process_kill_object(), process_layer_data(), process_load_url(), process_logout_reply(), process_mean_collision_alert_message(), process_money_balance_reply(), process_name_value(), process_object_update(), process_offer_callingcard(), process_places_reply(), process_region_handshake(), process_remove_name_value(), process_script_dialog(), process_script_question(), process_script_teleport_request(), process_set_follow_cam_properties(), process_sim_stats(), process_teleport_failed(), process_teleport_finish(), process_teleport_local(), process_teleport_progress(), process_teleport_start(), process_terse_object_update_improved(), process_time_synch(), process_user_info_reply(), LLAgent::processAgentCachedTextureResponse(), LLAgent::processAgentDataUpdate(), LLAgent::processAgentDropGroup(), LLAgent::processAgentGroupDataUpdate(), LLAgent::processAgentInitialWearablesUpdate(), LLPanelAvatar::processAvatarClassifiedReply(), LLPanelAvatar::processAvatarGroupsReply(), LLPanelAvatar::processAvatarInterestsReply(), LLPanelAvatar::processAvatarNotesReply(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLPanelAvatar::processAvatarPicksReply(), LLPanelAvatar::processAvatarPropertiesReply(), LLPanelClassified::processClassifiedInfoReply(), LLWorld::processCoarseUpdate(), LLGroupMgr::processCreateGroupReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPlacesReply(), LLGroupMgr::processEjectGroupMemberReply(), LLPanelEvent::processEventInfoReply(), LLSelectMgr::processForceObjectSelect(), LLPanelGroupLandMoney::processGroupAccountDetailsReply(), LLPanelGroupLandMoney::processGroupAccountSummaryReply(), LLPanelGroupLandMoney::processGroupAccountTransactionsReply(), LLGroupMgr::processGroupMembersReply(), LLPanelGroupNotices::processGroupNoticesListReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLViewerImageList::processImageNotInDatabase(), LLGroupMgr::processJoinGroupReply(), LLGroupMgr::processLeaveGroupReply(), LLWorldMap::processMapBlockReply(), LLWorldMap::processMapItemReply(), LLWorldMap::processMapLayerReply(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLViewerParcelMgr::processParcelAccessListReply(), LLViewerParcelMgr::processParcelDwellReply(), LLPanelPlace::processParcelInfoReply(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLViewerParcelMgr::processParcelOverlay(), LLViewerParcelMgr::processParcelProperties(), LLPanelPick::processPickInfoReply(), LLVOAvatar::processRebakeAvatarTextures(), LLViewerRegion::processRegionInfo(), LLAgent::processScriptControlChange(), LLLiveLSLEditor::processScriptRunningReply(), LLViewerObject::processTaskInv(), LLHUDManager::processViewerEffect(), LLViewerImageList::receiveImageHeader(), LLViewerImageList::receiveImagePacket(), LLMessageSystem::setHandlerFunc(), and LLMessageSystem::setHandlerFuncFast().
Referenced by idle_startup().
void release_start_screen | ( | ) |
Definition at line 3716 of file llstartup.cpp.
References LL_DEBUGS, LL_ENDL, and NULL.
Referenced by LLAppViewer::cleanup().
void reset_login | ( | ) |
Definition at line 3731 of file llstartup.cpp.
References FALSE, gFloaterMap, gLoginMenuBarView, gViewerWindow, LLView::setEnabled(), LLViewerWindow::setNormalControlsVisible(), LLStartUp::setStartupState(), LLFloaterMap::setVisible(), LLMenuGL::setVisible(), STATE_LOGIN_SHOW, and TRUE.
Referenced by idle_startup(), and use_circuit_callback().
void save_password_to_disk | ( | const char * | hashed_password | ) |
void set_startup_status | ( | const F32 | frac, | |
const char * | string, | |||
const char * | msg | |||
) |
Definition at line 2567 of file llstartup.cpp.
References gViewerWindow, LLViewerWindow::setProgressMessage(), LLViewerWindow::setProgressPercent(), and LLViewerWindow::setProgressString().
Referenced by idle_startup().
void show_first_run_dialog | ( | ) |
Definition at line 2549 of file llstartup.cpp.
References LLViewerWindow::alertXml(), first_run_dialog_callback(), gViewerWindow, and NULL.
void update_app | ( | BOOL | mandatory, | |
const std::string & | message | |||
) |
Definition at line 2597 of file llstartup.cpp.
References LLViewerWindow::alertXml(), LLControlGroup::getString(), gSavedSettings, gViewerWindow, NULL, LLControlGroup::saveToFile(), TRUE, and update_dialog_callback().
Referenced by idle_startup().
void update_dialog_callback | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 2659 of file llstartup.cpp.
References LLURI::asString(), LLURI::buildHTTP(), LLSD::emptyMap(), FALSE, LLAppViewer::forceQuit(), gDirUtilp, LLDir::getAppRODataDir(), LLDir::getDirDelimiter(), LLAppViewer::getSecondLifeTitle(), LLControlGroup::getString(), LLDir::getTempFilename(), gGridName, gHideLinks, gSavedSettings, LLAppViewer::instance(), LL_DEBUGS, LL_ENDL, LL_WARNS, NULL, OSMB_OK, OSMessageBox(), LLAppViewer::removeMarkerFile(), LLStartUp::setStartupState(), LLControlGroup::setString(), LLURLSimString::sInstance, and STATE_LOGIN_AUTH_INIT.
Referenced by update_app().
void update_texture_fetch | ( | ) |
Definition at line 288 of file llstartup.cpp.
References LLAppViewer::getImageDecodeThread(), LLAppViewer::getTextureCache(), LLAppViewer::getTextureFetch(), gImageList, LLTextureFetch::update(), LLWorkerThread::update(), LLTextureCache::update(), and LLViewerImageList::updateImages().
Referenced by idle_startup().
void use_circuit_callback | ( | void ** | , | |
S32 | result | |||
) |
Definition at line 2810 of file llstartup.cpp.
References LLViewerWindow::alertXml(), gGotUseCircuitCodeAck, gUseCircuitCallbackCalled, gViewerWindow, LLApp::isExiting(), LL_ENDL, LL_WARNS, login_alert_status(), NULL, and reset_login().
Referenced by idle_startup().
const char* COMMON_GESTURES_FOLDER = "Common Gestures" |
const char* FEMALE_GESTURES_FOLDER = "Female Gestures" |
const char* FEMALE_OUTFIT_FOLDER = "Female Shape & Outfit" |
BOOL gAgentMovementCompleted = FALSE |
Definition at line 186 of file llstartup.cpp.
Referenced by idle_startup(), and process_agent_movement_complete().
LLHost gAgentSimHost [static] |
Definition at line 203 of file llstartup.cpp.
bool gGotUseCircuitCodeAck = false [static] |
Definition at line 206 of file llstartup.cpp.
Referenced by idle_startup(), and use_circuit_callback().
Definition at line 207 of file llstartup.cpp.
Definition at line 208 of file llstartup.cpp.
BOOL gSkipOptionalUpdate = FALSE [static] |
Definition at line 59 of file llprogressview.cpp.
Referenced by LLProgressView::draw(), and init_start_screen().
Definition at line 58 of file llprogressview.cpp.
Referenced by LLProgressView::draw(), and init_start_screen().
bool gUseCircuitCallbackCalled = false [static] |
Definition at line 210 of file llstartup.cpp.
Referenced by idle_startup(), and use_circuit_callback().
const char* MALE_GESTURES_FOLDER = "Male Gestures" |
const char* MALE_OUTFIT_FOLDER = "Male Shape & Outfit" |
const S32 OPT_CLOSED_WINDOW = -1 |
const S32 OPT_FEMALE = 1 |
const S32 OPT_USE_INITIAL_OUTFIT = -2 |
Definition at line 3567 of file llstartup.cpp.
S32 sAuthUriNum = -1 [static] |
std::vector<std::string> sAuthUris [static] |
const char* SCREEN_HOME_FILENAME = "screen_home.bmp" |
Definition at line 188 of file llstartup.cpp.
Referenced by init_start_screen(), and process_alert_core().
const char* SCREEN_LAST_FILENAME = "screen_last.bmp" |
Definition at line 189 of file llstartup.cpp.
Referenced by init_start_screen(), render_disconnected_background(), and LLAppViewer::saveFinalSnapshot().