PageRenderTime 27ms CodeModel.GetById 10ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/llmessage/llteleportflags.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 63 lines | 30 code | 8 blank | 25 comment | 0 complexity | 0e7f22cc0e4655f6034d2995feb372ac MD5 | raw file
 1/** 
 2 * @file llteleportflags.h
 3 * @brief Teleport flags
 4 *
 5 * $LicenseInfo:firstyear=2002&license=viewerlgpl$
 6 * Second Life Viewer Source Code
 7 * Copyright (C) 2010, Linden Research, Inc.
 8 * 
 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation;
12 * version 2.1 of the License only.
13 * 
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * Lesser General Public License for more details.
18 * 
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 * 
23 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
24 * $/LicenseInfo$
25 */
26
27#ifndef LL_LLTELEPORTFLAGS_H
28#define LL_LLTELEPORTFLAGS_H
29
30const U32 TELEPORT_FLAGS_DEFAULT 			= 0;
31const U32 TELEPORT_FLAGS_SET_HOME_TO_TARGET	= 1 << 0;	// newbie leaving prelude
32const U32 TELEPORT_FLAGS_SET_LAST_TO_TARGET	= 1 << 1;
33const U32 TELEPORT_FLAGS_VIA_LURE 			= 1 << 2;
34const U32 TELEPORT_FLAGS_VIA_LANDMARK 		= 1 << 3;
35const U32 TELEPORT_FLAGS_VIA_LOCATION		= 1 << 4;
36const U32 TELEPORT_FLAGS_VIA_HOME			= 1 << 5;
37const U32 TELEPORT_FLAGS_VIA_TELEHUB		= 1 << 6;
38const U32 TELEPORT_FLAGS_VIA_LOGIN			= 1 << 7;
39const U32 TELEPORT_FLAGS_VIA_GODLIKE_LURE	= 1 << 8;
40const U32 TELEPORT_FLAGS_GODLIKE 			= 1 << 9;
41const U32 TELEPORT_FLAGS_911 				= 1 << 10;
42const U32 TELEPORT_FLAGS_DISABLE_CANCEL		= 1 << 11;	// Used for llTeleportAgentHome()
43const U32 TELEPORT_FLAGS_VIA_REGION_ID  	= 1 << 12;
44const U32 TELEPORT_FLAGS_IS_FLYING			= 1 << 13;
45const U32 TELEPORT_FLAGS_SHOW_RESET_HOME	= 1 << 14;
46const U32 TELEPORT_FLAGS_FORCE_REDIRECT		= 1 << 15; // used to force a redirect to some random location - used when kicking someone from land.
47
48const U32 TELEPORT_FLAGS_MASK_VIA =   TELEPORT_FLAGS_VIA_LURE 
49									| TELEPORT_FLAGS_VIA_LANDMARK
50									| TELEPORT_FLAGS_VIA_LOCATION
51									| TELEPORT_FLAGS_VIA_HOME
52									| TELEPORT_FLAGS_VIA_TELEHUB
53									| TELEPORT_FLAGS_VIA_LOGIN
54									| TELEPORT_FLAGS_VIA_REGION_ID;
55	
56
57
58
59const U32 LURE_FLAG_NORMAL_LURE  	= 1 << 0;
60const U32 LURE_FLAG_GODLIKE_LURE 	= 1 << 1;
61const U32 LURE_FLAG_GODLIKE_PURSUIT = 1 << 2;
62
63#endif