llstartup.h File Reference

startup routines and logic declaration More...

#include "llimagegl.h"

Include dependency graph for llstartup.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLStartUp

Enumerations

enum  EStartupState {
  STATE_FIRST, STATE_MEDIA_INIT, STATE_LOGIN_SHOW, STATE_LOGIN_WAIT,
  STATE_LOGIN_CLEANUP, STATE_UPDATE_CHECK, STATE_LOGIN_AUTH_INIT, STATE_LOGIN_AUTHENTICATE,
  STATE_LOGIN_NO_DATA_YET, STATE_LOGIN_DOWNLOADING, STATE_LOGIN_PROCESS_RESPONSE, STATE_WORLD_INIT,
  STATE_SEED_GRANTED_WAIT, STATE_SEED_CAP_GRANTED, STATE_WORLD_WAIT, STATE_AGENT_SEND,
  STATE_AGENT_WAIT, STATE_INVENTORY_SEND, STATE_MISC, STATE_PRECACHE,
  STATE_WEARABLES_WAIT, STATE_CLEANUP, STATE_STARTED
}

Functions

BOOL idle_startup ()
LLString load_password_from_disk ()
void release_start_screen ()
void login_alert_done (S32 option, void *user_data)

Variables

const char * SCREEN_HOME_FILENAME
const char * SCREEN_LAST_FILENAME
BOOL gAgentMovementCompleted
LLPointer< LLImageGLgStartImageGL


Detailed Description

startup routines and logic declaration

LicenseInfo
firstyear=2004&license=viewergpl

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.h.


Enumeration Type Documentation

Enumerator:
STATE_FIRST 
STATE_MEDIA_INIT 
STATE_LOGIN_SHOW 
STATE_LOGIN_WAIT 
STATE_LOGIN_CLEANUP 
STATE_UPDATE_CHECK 
STATE_LOGIN_AUTH_INIT 
STATE_LOGIN_AUTHENTICATE 
STATE_LOGIN_NO_DATA_YET 
STATE_LOGIN_DOWNLOADING 
STATE_LOGIN_PROCESS_RESPONSE 
STATE_WORLD_INIT 
STATE_SEED_GRANTED_WAIT 
STATE_SEED_CAP_GRANTED 
STATE_WORLD_WAIT 
STATE_AGENT_SEND 
STATE_AGENT_WAIT 
STATE_INVENTORY_SEND 
STATE_MISC 
STATE_PRECACHE 
STATE_WEARABLES_WAIT 
STATE_CLEANUP 
STATE_STARTED 

Definition at line 47 of file llstartup.h.


Function Documentation

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().

Here is the caller graph for this function:

LLString load_password_from_disk (  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void release_start_screen (  ) 


Variable Documentation

Definition at line 186 of file llstartup.cpp.

Referenced by idle_startup(), and process_agent_movement_complete().

Definition at line 201 of file llstartup.cpp.

const char* SCREEN_HOME_FILENAME

Definition at line 188 of file llstartup.cpp.

Referenced by init_start_screen(), and process_alert_core().

const char* SCREEN_LAST_FILENAME


Generated on Fri May 16 08:37:12 2008 for SecondLife by  doxygen 1.5.5