LSL_Constants.cs 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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 OpenSim 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. using System;
  28. using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
  29. using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
  30. using LSLInteger = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
  31. namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
  32. {
  33. public partial class ScriptBaseClass : MarshalByRefObject
  34. {
  35. // LSL CONSTANTS
  36. public LSLInteger TRUE = new LSLInteger(1);
  37. public LSLInteger FALSE = new LSLInteger(0);
  38. public const int STATUS_PHYSICS = 1;
  39. public const int STATUS_ROTATE_X = 2;
  40. public const int STATUS_ROTATE_Y = 4;
  41. public const int STATUS_ROTATE_Z = 8;
  42. public const int STATUS_PHANTOM = 16;
  43. public const int STATUS_SANDBOX = 32;
  44. public const int STATUS_BLOCK_GRAB = 64;
  45. public const int STATUS_DIE_AT_EDGE = 128;
  46. public const int STATUS_RETURN_AT_EDGE = 256;
  47. public const int STATUS_CAST_SHADOWS = 512;
  48. public const int AGENT = 1;
  49. public const int ACTIVE = 2;
  50. public const int PASSIVE = 4;
  51. public const int SCRIPTED = 8;
  52. public const int CONTROL_FWD = 1;
  53. public const int CONTROL_BACK = 2;
  54. public const int CONTROL_LEFT = 4;
  55. public const int CONTROL_RIGHT = 8;
  56. public const int CONTROL_UP = 16;
  57. public const int CONTROL_DOWN = 32;
  58. public const int CONTROL_ROT_LEFT = 256;
  59. public const int CONTROL_ROT_RIGHT = 512;
  60. public const int CONTROL_LBUTTON = 268435456;
  61. public const int CONTROL_ML_LBUTTON = 1073741824;
  62. //Permissions
  63. public const int PERMISSION_DEBIT = 2;
  64. public const int PERMISSION_TAKE_CONTROLS = 4;
  65. public const int PERMISSION_REMAP_CONTROLS = 8;
  66. public const int PERMISSION_TRIGGER_ANIMATION = 16;
  67. public const int PERMISSION_ATTACH = 32;
  68. public const int PERMISSION_RELEASE_OWNERSHIP = 64;
  69. public const int PERMISSION_CHANGE_LINKS = 128;
  70. public const int PERMISSION_CHANGE_JOINTS = 256;
  71. public const int PERMISSION_CHANGE_PERMISSIONS = 512;
  72. public const int PERMISSION_TRACK_CAMERA = 1024;
  73. public const int AGENT_FLYING = 1;
  74. public const int AGENT_ATTACHMENTS = 2;
  75. public const int AGENT_SCRIPTED = 4;
  76. public const int AGENT_MOUSELOOK = 8;
  77. public const int AGENT_SITTING = 16;
  78. public const int AGENT_ON_OBJECT = 32;
  79. public const int AGENT_AWAY = 64;
  80. public const int AGENT_WALKING = 128;
  81. public const int AGENT_IN_AIR = 256;
  82. public const int AGENT_TYPING = 512;
  83. public const int AGENT_CROUCHING = 1024;
  84. public const int AGENT_BUSY = 2048;
  85. public const int AGENT_ALWAYS_RUN = 4096;
  86. //Particle Systems
  87. public const int PSYS_PART_INTERP_COLOR_MASK = 1;
  88. public const int PSYS_PART_INTERP_SCALE_MASK = 2;
  89. public const int PSYS_PART_BOUNCE_MASK = 4;
  90. public const int PSYS_PART_WIND_MASK = 8;
  91. public const int PSYS_PART_FOLLOW_SRC_MASK = 16;
  92. public const int PSYS_PART_FOLLOW_VELOCITY_MASK = 32;
  93. public const int PSYS_PART_TARGET_POS_MASK = 64;
  94. public const int PSYS_PART_TARGET_LINEAR_MASK = 128;
  95. public const int PSYS_PART_EMISSIVE_MASK = 256;
  96. public const int PSYS_PART_FLAGS = 0;
  97. public const int PSYS_PART_START_COLOR = 1;
  98. public const int PSYS_PART_START_ALPHA = 2;
  99. public const int PSYS_PART_END_COLOR = 3;
  100. public const int PSYS_PART_END_ALPHA = 4;
  101. public const int PSYS_PART_START_SCALE = 5;
  102. public const int PSYS_PART_END_SCALE = 6;
  103. public const int PSYS_PART_MAX_AGE = 7;
  104. public const int PSYS_SRC_ACCEL = 8;
  105. public const int PSYS_SRC_PATTERN = 9;
  106. public const int PSYS_SRC_INNERANGLE = 10;
  107. public const int PSYS_SRC_OUTERANGLE = 11;
  108. public const int PSYS_SRC_TEXTURE = 12;
  109. public const int PSYS_SRC_BURST_RATE = 13;
  110. public const int PSYS_SRC_BURST_PART_COUNT = 15;
  111. public const int PSYS_SRC_BURST_RADIUS = 16;
  112. public const int PSYS_SRC_BURST_SPEED_MIN = 17;
  113. public const int PSYS_SRC_BURST_SPEED_MAX = 18;
  114. public const int PSYS_SRC_MAX_AGE = 19;
  115. public const int PSYS_SRC_TARGET_KEY = 20;
  116. public const int PSYS_SRC_OMEGA = 21;
  117. public const int PSYS_SRC_ANGLE_BEGIN = 22;
  118. public const int PSYS_SRC_ANGLE_END = 23;
  119. public const int PSYS_SRC_PATTERN_DROP = 1;
  120. public const int PSYS_SRC_PATTERN_EXPLODE = 2;
  121. public const int PSYS_SRC_PATTERN_ANGLE = 4;
  122. public const int PSYS_SRC_PATTERN_ANGLE_CONE = 8;
  123. public const int PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY = 16;
  124. public const int VEHICLE_TYPE_NONE = 0;
  125. public const int VEHICLE_TYPE_SLED = 1;
  126. public const int VEHICLE_TYPE_CAR = 2;
  127. public const int VEHICLE_TYPE_BOAT = 3;
  128. public const int VEHICLE_TYPE_AIRPLANE = 4;
  129. public const int VEHICLE_TYPE_BALLOON = 5;
  130. public const int VEHICLE_LINEAR_FRICTION_TIMESCALE = 16;
  131. public const int VEHICLE_ANGULAR_FRICTION_TIMESCALE = 17;
  132. public const int VEHICLE_LINEAR_MOTOR_DIRECTION = 18;
  133. public const int VEHICLE_LINEAR_MOTOR_OFFSET = 20;
  134. public const int VEHICLE_ANGULAR_MOTOR_DIRECTION = 19;
  135. public const int VEHICLE_HOVER_HEIGHT = 24;
  136. public const int VEHICLE_HOVER_EFFICIENCY = 25;
  137. public const int VEHICLE_HOVER_TIMESCALE = 26;
  138. public const int VEHICLE_BUOYANCY = 27;
  139. public const int VEHICLE_LINEAR_DEFLECTION_EFFICIENCY = 28;
  140. public const int VEHICLE_LINEAR_DEFLECTION_TIMESCALE = 29;
  141. public const int VEHICLE_LINEAR_MOTOR_TIMESCALE = 30;
  142. public const int VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE = 31;
  143. public const int VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32;
  144. public const int VEHICLE_ANGULAR_DEFLECTION_TIMESCALE = 33;
  145. public const int VEHICLE_ANGULAR_MOTOR_TIMESCALE = 34;
  146. public const int VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE = 35;
  147. public const int VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36;
  148. public const int VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37;
  149. public const int VEHICLE_BANKING_EFFICIENCY = 38;
  150. public const int VEHICLE_BANKING_MIX = 39;
  151. public const int VEHICLE_BANKING_TIMESCALE = 40;
  152. public const int VEHICLE_REFERENCE_FRAME = 44;
  153. public const int VEHICLE_FLAG_NO_DEFLECTION_UP = 1;
  154. public const int VEHICLE_FLAG_LIMIT_ROLL_ONLY = 2;
  155. public const int VEHICLE_FLAG_HOVER_WATER_ONLY = 4;
  156. public const int VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 8;
  157. public const int VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 16;
  158. public const int VEHICLE_FLAG_HOVER_UP_ONLY = 32;
  159. public const int VEHICLE_FLAG_LIMIT_MOTOR_UP = 64;
  160. public const int VEHICLE_FLAG_MOUSELOOK_STEER = 128;
  161. public const int VEHICLE_FLAG_MOUSELOOK_BANK = 256;
  162. public const int VEHICLE_FLAG_CAMERA_DECOUPLED = 512;
  163. public const int INVENTORY_ALL = -1;
  164. public const int INVENTORY_NONE = -1;
  165. public const int INVENTORY_TEXTURE = 0;
  166. public const int INVENTORY_SOUND = 1;
  167. public const int INVENTORY_LANDMARK = 3;
  168. public const int INVENTORY_CLOTHING = 5;
  169. public const int INVENTORY_OBJECT = 6;
  170. public const int INVENTORY_NOTECARD = 7;
  171. public const int INVENTORY_SCRIPT = 10;
  172. public const int INVENTORY_BODYPART = 13;
  173. public const int INVENTORY_ANIMATION = 20;
  174. public const int INVENTORY_GESTURE = 21;
  175. public const int ATTACH_CHEST = 1;
  176. public const int ATTACH_HEAD = 2;
  177. public const int ATTACH_LSHOULDER = 3;
  178. public const int ATTACH_RSHOULDER = 4;
  179. public const int ATTACH_LHAND = 5;
  180. public const int ATTACH_RHAND = 6;
  181. public const int ATTACH_LFOOT = 7;
  182. public const int ATTACH_RFOOT = 8;
  183. public const int ATTACH_BACK = 9;
  184. public const int ATTACH_PELVIS = 10;
  185. public const int ATTACH_MOUTH = 11;
  186. public const int ATTACH_CHIN = 12;
  187. public const int ATTACH_LEAR = 13;
  188. public const int ATTACH_REAR = 14;
  189. public const int ATTACH_LEYE = 15;
  190. public const int ATTACH_REYE = 16;
  191. public const int ATTACH_NOSE = 17;
  192. public const int ATTACH_RUARM = 18;
  193. public const int ATTACH_RLARM = 19;
  194. public const int ATTACH_LUARM = 20;
  195. public const int ATTACH_LLARM = 21;
  196. public const int ATTACH_RHIP = 22;
  197. public const int ATTACH_RULEG = 23;
  198. public const int ATTACH_RLLEG = 24;
  199. public const int ATTACH_LHIP = 25;
  200. public const int ATTACH_LULEG = 26;
  201. public const int ATTACH_LLLEG = 27;
  202. public const int ATTACH_BELLY = 28;
  203. public const int ATTACH_RPEC = 29;
  204. public const int ATTACH_LPEC = 30;
  205. public const int LAND_LEVEL = 0;
  206. public const int LAND_RAISE = 1;
  207. public const int LAND_LOWER = 2;
  208. public const int LAND_SMOOTH = 3;
  209. public const int LAND_NOISE = 4;
  210. public const int LAND_REVERT = 5;
  211. public const int LAND_SMALL_BRUSH = 1;
  212. public const int LAND_MEDIUM_BRUSH = 2;
  213. public const int LAND_LARGE_BRUSH = 3;
  214. //Agent Dataserver
  215. public const int DATA_ONLINE = 1;
  216. public const int DATA_NAME = 2;
  217. public const int DATA_BORN = 3;
  218. public const int DATA_RATING = 4;
  219. public const int DATA_SIM_POS = 5;
  220. public const int DATA_SIM_STATUS = 6;
  221. public const int DATA_SIM_RATING = 7;
  222. public const int DATA_PAYINFO = 8;
  223. public const int ANIM_ON = 1;
  224. public const int LOOP = 2;
  225. public const int REVERSE = 4;
  226. public const int PING_PONG = 8;
  227. public const int SMOOTH = 16;
  228. public const int ROTATE = 32;
  229. public const int SCALE = 64;
  230. public const int ALL_SIDES = -1;
  231. public const int LINK_SET = -1;
  232. public const int LINK_ROOT = 1;
  233. public const int LINK_ALL_OTHERS = -2;
  234. public const int LINK_ALL_CHILDREN = -3;
  235. public const int LINK_THIS = -4;
  236. public const int CHANGED_INVENTORY = 1;
  237. public const int CHANGED_COLOR = 2;
  238. public const int CHANGED_SHAPE = 4;
  239. public const int CHANGED_SCALE = 8;
  240. public const int CHANGED_TEXTURE = 16;
  241. public const int CHANGED_LINK = 32;
  242. public const int CHANGED_ALLOWED_DROP = 64;
  243. public const int CHANGED_OWNER = 128;
  244. public const int CHANGED_REGION_RESTART = 256;
  245. public const int TYPE_INVALID = 0;
  246. public const int TYPE_INTEGER = 1;
  247. public const int TYPE_double = 2;
  248. public const int TYPE_STRING = 3;
  249. public const int TYPE_KEY = 4;
  250. public const int TYPE_VECTOR = 5;
  251. public const int TYPE_ROTATION = 6;
  252. //XML RPC Remote Data Channel
  253. public const int REMOTE_DATA_CHANNEL = 1;
  254. public const int REMOTE_DATA_REQUEST = 2;
  255. public const int REMOTE_DATA_REPLY = 3;
  256. //llHTTPRequest
  257. public const int HTTP_METHOD = 0;
  258. public const int HTTP_MIMETYPE = 1;
  259. public const int HTTP_BODY_MAXLENGTH = 2;
  260. public const int HTTP_VERIFY_CERT = 3;
  261. public const int PRIM_MATERIAL = 2;
  262. public const int PRIM_PHYSICS = 3;
  263. public const int PRIM_TEMP_ON_REZ = 4;
  264. public const int PRIM_PHANTOM = 5;
  265. public const int PRIM_POSITION = 6;
  266. public const int PRIM_SIZE = 7;
  267. public const int PRIM_ROTATION = 8;
  268. public const int PRIM_TYPE = 9;
  269. public const int PRIM_TEXTURE = 17;
  270. public const int PRIM_COLOR = 18;
  271. public const int PRIM_BUMP_SHINY = 19;
  272. public const int PRIM_FULLBRIGHT = 20;
  273. public const int PRIM_FLEXIBLE = 21;
  274. public const int PRIM_TEXGEN = 22;
  275. public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake
  276. public const int PRIM_POINT_LIGHT = 23; // Huh?
  277. public const int PRIM_GLOW = 25;
  278. public const int PRIM_TEXGEN_DEFAULT = 0;
  279. public const int PRIM_TEXGEN_PLANAR = 1;
  280. public const int PRIM_TYPE_BOX = 0;
  281. public const int PRIM_TYPE_CYLINDER = 1;
  282. public const int PRIM_TYPE_PRISM = 2;
  283. public const int PRIM_TYPE_SPHERE = 3;
  284. public const int PRIM_TYPE_TORUS = 4;
  285. public const int PRIM_TYPE_TUBE = 5;
  286. public const int PRIM_TYPE_RING = 6;
  287. public const int PRIM_TYPE_SCULPT = 7;
  288. public const int PRIM_HOLE_DEFAULT = 0;
  289. public const int PRIM_HOLE_CIRCLE = 16;
  290. public const int PRIM_HOLE_SQUARE = 32;
  291. public const int PRIM_HOLE_TRIANGLE = 48;
  292. public const int PRIM_MATERIAL_STONE = 0;
  293. public const int PRIM_MATERIAL_METAL = 1;
  294. public const int PRIM_MATERIAL_GLASS = 2;
  295. public const int PRIM_MATERIAL_WOOD = 3;
  296. public const int PRIM_MATERIAL_FLESH = 4;
  297. public const int PRIM_MATERIAL_PLASTIC = 5;
  298. public const int PRIM_MATERIAL_RUBBER = 6;
  299. public const int PRIM_MATERIAL_LIGHT = 7;
  300. public const int PRIM_SHINY_NONE = 0;
  301. public const int PRIM_SHINY_LOW = 1;
  302. public const int PRIM_SHINY_MEDIUM = 2;
  303. public const int PRIM_SHINY_HIGH = 3;
  304. public const int PRIM_BUMP_NONE = 0;
  305. public const int PRIM_BUMP_BRIGHT = 1;
  306. public const int PRIM_BUMP_DARK = 2;
  307. public const int PRIM_BUMP_WOOD = 3;
  308. public const int PRIM_BUMP_BARK = 4;
  309. public const int PRIM_BUMP_BRICKS = 5;
  310. public const int PRIM_BUMP_CHECKER = 6;
  311. public const int PRIM_BUMP_CONCRETE = 7;
  312. public const int PRIM_BUMP_TILE = 8;
  313. public const int PRIM_BUMP_STONE = 9;
  314. public const int PRIM_BUMP_DISKS = 10;
  315. public const int PRIM_BUMP_GRAVEL = 11;
  316. public const int PRIM_BUMP_BLOBS = 12;
  317. public const int PRIM_BUMP_SIDING = 13;
  318. public const int PRIM_BUMP_LARGETILE = 14;
  319. public const int PRIM_BUMP_STUCCO = 15;
  320. public const int PRIM_BUMP_SUCTION = 16;
  321. public const int PRIM_BUMP_WEAVE = 17;
  322. public const int PRIM_SCULPT_TYPE_SPHERE = 1;
  323. public const int PRIM_SCULPT_TYPE_TORUS = 2;
  324. public const int PRIM_SCULPT_TYPE_PLANE = 3;
  325. public const int PRIM_SCULPT_TYPE_CYLINDER = 4;
  326. public const int MASK_BASE = 0;
  327. public const int MASK_OWNER = 1;
  328. public const int MASK_GROUP = 2;
  329. public const int MASK_EVERYONE = 3;
  330. public const int MASK_NEXT = 4;
  331. public const int PERM_TRANSFER = 8192;
  332. public const int PERM_MODIFY = 16384;
  333. public const int PERM_COPY = 32768;
  334. public const int PERM_MOVE = 524288;
  335. public const int PERM_ALL = 2147483647;
  336. public const int PARCEL_MEDIA_COMMAND_STOP = 0;
  337. public const int PARCEL_MEDIA_COMMAND_PAUSE = 1;
  338. public const int PARCEL_MEDIA_COMMAND_PLAY = 2;
  339. public const int PARCEL_MEDIA_COMMAND_LOOP = 3;
  340. public const int PARCEL_MEDIA_COMMAND_TEXTURE = 4;
  341. public const int PARCEL_MEDIA_COMMAND_URL = 5;
  342. public const int PARCEL_MEDIA_COMMAND_TIME = 6;
  343. public const int PARCEL_MEDIA_COMMAND_AGENT = 7;
  344. public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8;
  345. public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9;
  346. public const int PAY_HIDE = -1;
  347. public const int PAY_DEFAULT = -2;
  348. public const string NULL_KEY = "00000000-0000-0000-0000-000000000000";
  349. public const string EOF = "\n\n\n";
  350. public const double PI = 3.14159274f;
  351. public const double TWO_PI = 6.28318548f;
  352. public const double PI_BY_TWO = 1.57079637f;
  353. public const double DEG_TO_RAD = 0.01745329238f;
  354. public const double RAD_TO_DEG = 57.29578f;
  355. public const double SQRT2 = 1.414213538f;
  356. public const int STRING_TRIM_HEAD = 1;
  357. public const int STRING_TRIM_TAIL = 2;
  358. public const int STRING_TRIM = 3;
  359. public const int LIST_STAT_RANGE = 0;
  360. public const int LIST_STAT_MIN = 1;
  361. public const int LIST_STAT_MAX = 2;
  362. public const int LIST_STAT_MEAN = 3;
  363. public const int LIST_STAT_MEDIAN = 4;
  364. public const int LIST_STAT_STD_DEV = 5;
  365. public const int LIST_STAT_SUM = 6;
  366. public const int LIST_STAT_SUM_SQUARES = 7;
  367. public const int LIST_STAT_NUM_COUNT = 8;
  368. public const int LIST_STAT_GEOMETRIC_MEAN = 9;
  369. public const int LIST_STAT_HARMONIC_MEAN = 100;
  370. //ParcelPrim Categories
  371. public const int PARCEL_COUNT_TOTAL = 0;
  372. public const int PARCEL_COUNT_OWNER = 1;
  373. public const int PARCEL_COUNT_GROUP = 2;
  374. public const int PARCEL_COUNT_OTHER = 3;
  375. public const int PARCEL_COUNT_SELECTED = 4;
  376. public const int PARCEL_COUNT_TEMP = 5;
  377. public const int DEBUG_CHANNEL = 0x7FFFFFFF;
  378. public const int PUBLIC_CHANNEL = 0x00000000;
  379. public const int OBJECT_NAME = 1;
  380. public const int OBJECT_DESC = 2;
  381. public const int OBJECT_POS = 3;
  382. public const int OBJECT_ROT = 4;
  383. public const int OBJECT_VELOCITY = 5;
  384. public const int OBJECT_OWNER = 6;
  385. public const int OBJECT_GROUP = 7;
  386. public const int OBJECT_CREATOR = 8;
  387. // Can not be public const?
  388. public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
  389. public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0);
  390. }
  391. }