diff options
author | Diva Canto | 2015-08-30 20:06:53 -0700 |
---|---|---|
committer | Diva Canto | 2015-08-30 20:06:53 -0700 |
commit | 1d6b33bc2da3b312cff1d1802a73aacdf72b0385 (patch) | |
tree | 393736b501aac3b31eb0810bb72d926c7f14fbf8 /OpenSim/Region/Physics/Manager/VehicleConstants.cs | |
parent | Moved instantiation of SceneCommunicationService object to inside the scene c... (diff) | |
download | opensim-SC_OLD-1d6b33bc2da3b312cff1d1802a73aacdf72b0385.zip opensim-SC_OLD-1d6b33bc2da3b312cff1d1802a73aacdf72b0385.tar.gz opensim-SC_OLD-1d6b33bc2da3b312cff1d1802a73aacdf72b0385.tar.bz2 opensim-SC_OLD-1d6b33bc2da3b312cff1d1802a73aacdf72b0385.tar.xz |
Major renaming of Physics dlls / folders. No functional changes, just renames.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/VehicleConstants.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/VehicleConstants.cs | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/OpenSim/Region/Physics/Manager/VehicleConstants.cs b/OpenSim/Region/Physics/Manager/VehicleConstants.cs deleted file mode 100644 index f0775c1..0000000 --- a/OpenSim/Region/Physics/Manager/VehicleConstants.cs +++ /dev/null | |||
@@ -1,121 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
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. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | |||
30 | namespace OpenSim.Region.Physics.Manager | ||
31 | { | ||
32 | public enum Vehicle : int | ||
33 | { | ||
34 | /// <summary> | ||
35 | /// Turns off Vehicle Support | ||
36 | /// </summary> | ||
37 | TYPE_NONE = 0, | ||
38 | |||
39 | /// <summary> | ||
40 | /// No Angular motor, High Left right friction, No Hover, Linear Deflection 1, no angular deflection | ||
41 | /// no vertical attractor, No banking, Identity rotation frame | ||
42 | /// </summary> | ||
43 | TYPE_SLED = 1, | ||
44 | |||
45 | /// <summary> | ||
46 | /// Needs Motors to be driven by timer or control events High left/right friction, No angular friction | ||
47 | /// Linear Motor wins in a second, decays in 60 seconds. Angular motor wins in a second, decays in 8/10ths of a second | ||
48 | /// linear deflection 2 seconds | ||
49 | /// Vertical Attractor locked UP | ||
50 | /// </summary> | ||
51 | TYPE_CAR = 2, | ||
52 | TYPE_BOAT = 3, | ||
53 | TYPE_AIRPLANE = 4, | ||
54 | TYPE_BALLOON = 5, | ||
55 | LINEAR_FRICTION_TIMESCALE = 16, | ||
56 | /// <summary> | ||
57 | /// vector of timescales for exponential decay of angular velocity about three axis | ||
58 | /// </summary> | ||
59 | ANGULAR_FRICTION_TIMESCALE = 17, | ||
60 | /// <summary> | ||
61 | /// linear velocity vehicle will try for | ||
62 | /// </summary> | ||
63 | LINEAR_MOTOR_DIRECTION = 18, | ||
64 | |||
65 | /// <summary> | ||
66 | /// Offset from center of mass where linear motor forces are added | ||
67 | /// </summary> | ||
68 | LINEAR_MOTOR_OFFSET = 20, | ||
69 | /// <summary> | ||
70 | /// angular velocity that vehicle will try for | ||
71 | /// </summary> | ||
72 | ANGULAR_MOTOR_DIRECTION = 19, | ||
73 | HOVER_HEIGHT = 24, | ||
74 | HOVER_EFFICIENCY = 25, | ||
75 | HOVER_TIMESCALE = 26, | ||
76 | BUOYANCY = 27, | ||
77 | LINEAR_DEFLECTION_EFFICIENCY = 28, | ||
78 | LINEAR_DEFLECTION_TIMESCALE = 29, | ||
79 | LINEAR_MOTOR_TIMESCALE = 30, | ||
80 | LINEAR_MOTOR_DECAY_TIMESCALE = 31, | ||
81 | |||
82 | /// <summary> | ||
83 | /// slide between 0 and 1 | ||
84 | /// </summary> | ||
85 | ANGULAR_DEFLECTION_EFFICIENCY = 32, | ||
86 | ANGULAR_DEFLECTION_TIMESCALE = 33, | ||
87 | ANGULAR_MOTOR_TIMESCALE = 34, | ||
88 | ANGULAR_MOTOR_DECAY_TIMESCALE = 35, | ||
89 | VERTICAL_ATTRACTION_EFFICIENCY = 36, | ||
90 | VERTICAL_ATTRACTION_TIMESCALE = 37, | ||
91 | BANKING_EFFICIENCY = 38, | ||
92 | BANKING_MIX = 39, | ||
93 | BANKING_TIMESCALE = 40, | ||
94 | REFERENCE_FRAME = 44, | ||
95 | BLOCK_EXIT = 45, | ||
96 | ROLL_FRAME = 46 | ||
97 | |||
98 | } | ||
99 | |||
100 | [Flags] | ||
101 | public enum VehicleFlag | ||
102 | { | ||
103 | NO_DEFLECTION_UP = 1, | ||
104 | LIMIT_ROLL_ONLY = 2, | ||
105 | HOVER_WATER_ONLY = 4, | ||
106 | HOVER_TERRAIN_ONLY = 8, | ||
107 | HOVER_GLOBAL_HEIGHT = 16, | ||
108 | HOVER_UP_ONLY = 32, | ||
109 | LIMIT_MOTOR_UP = 64, | ||
110 | MOUSELOOK_STEER = 128, | ||
111 | MOUSELOOK_BANK = 256, | ||
112 | CAMERA_DECOUPLED = 512, | ||
113 | NO_X = 1024, | ||
114 | NO_Y = 2048, | ||
115 | NO_Z = 4096, | ||
116 | LOCK_HOVER_HEIGHT = 8192, | ||
117 | NO_DEFLECTION = 16392, | ||
118 | LOCK_ROTATION = 32784 | ||
119 | } | ||
120 | |||
121 | } | ||