diff options
author | Justin Clarke Casey | 2008-09-12 20:12:03 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-12 20:12:03 +0000 |
commit | 52a4c4d82f9c5b808e6c61fd51c1c70e42865565 (patch) | |
tree | f63a4ea443597b2d79ad6c2b7acff058c4437425 /OpenSim/Framework/Constants.cs | |
parent | remove hidden faces inside prim meshes to improve memory use and startup time (diff) | |
download | opensim-SC_OLD-52a4c4d82f9c5b808e6c61fd51c1c70e42865565.zip opensim-SC_OLD-52a4c4d82f9c5b808e6c61fd51c1c70e42865565.tar.gz opensim-SC_OLD-52a4c4d82f9c5b808e6c61fd51c1c70e42865565.tar.bz2 opensim-SC_OLD-52a4c4d82f9c5b808e6c61fd51c1c70e42865565.tar.xz |
* Check in first part of http://opensimulator.org/mantis/view.php?id=2073
* This patch aims to introduce look at direction persistence between logins. It won't be active until the second part of the patch is committed in about two weeks time. At
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database. As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
Diffstat (limited to 'OpenSim/Framework/Constants.cs')
-rw-r--r-- | OpenSim/Framework/Constants.cs | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 316d2a3..61eb35e 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs | |||
@@ -24,6 +24,7 @@ | |||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | using System; | ||
27 | 28 | ||
28 | namespace OpenSim.Framework | 29 | namespace OpenSim.Framework |
29 | { | 30 | { |
@@ -40,5 +41,50 @@ namespace OpenSim.Framework | |||
40 | EstateBans = 20, | 41 | EstateBans = 20, |
41 | EstateManagers = 24 | 42 | EstateManagers = 24 |
42 | } | 43 | } |
44 | |||
45 | [Flags]public enum TeleportFlags : uint | ||
46 | { | ||
47 | /// <summary>No flags set, or teleport failed</summary> | ||
48 | Default = 0, | ||
49 | /// <summary>Set when newbie leaves help island for first time</summary> | ||
50 | SetHomeToTarget = 1 << 0, | ||
51 | /// <summary></summary> | ||
52 | SetLastToTarget = 1 << 1, | ||
53 | /// <summary>Via Lure</summary> | ||
54 | ViaLure = 1 << 2, | ||
55 | /// <summary>Via Landmark</summary> | ||
56 | ViaLandmark = 1 << 3, | ||
57 | /// <summary>Via Location</summary> | ||
58 | ViaLocation = 1 << 4, | ||
59 | /// <summary>Via Home</summary> | ||
60 | ViaHome = 1 << 5, | ||
61 | /// <summary>Via Telehub</summary> | ||
62 | ViaTelehub = 1 << 6, | ||
63 | /// <summary>Via Login</summary> | ||
64 | ViaLogin = 1 << 7, | ||
65 | /// <summary>Linden Summoned</summary> | ||
66 | ViaGodlikeLure = 1 << 8, | ||
67 | /// <summary>Linden Forced me</summary> | ||
68 | Godlike = 1 << 9, | ||
69 | /// <summary></summary> | ||
70 | NineOneOne = 1 << 10, | ||
71 | /// <summary>Agent Teleported Home via Script</summary> | ||
72 | DisableCancel = 1 << 11, | ||
73 | /// <summary></summary> | ||
74 | ViaRegionID = 1 << 12, | ||
75 | /// <summary></summary> | ||
76 | IsFlying = 1 << 13, | ||
77 | /// <summary></summary> | ||
78 | ResetHome = 1 << 14, | ||
79 | /// <summary>forced to new location for example when avatar is banned or ejected</summary> | ||
80 | ForceRedirect = 1 << 15, | ||
81 | /// <summary>Teleport Finished via a Lure</summary> | ||
82 | FinishedViaLure = 1 << 26, | ||
83 | /// <summary>Finished, Sim Changed</summary> | ||
84 | FinishedViaNewSim = 1 << 28, | ||
85 | /// <summary>Finished, Same Sim</summary> | ||
86 | FinishedViaSameSim = 1 << 29 | ||
87 | } | ||
88 | |||
43 | } | 89 | } |
44 | } \ No newline at end of file | 90 | } |