PageRenderTime 116ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llprimitive/legacy_object_types.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 77 lines | 9 code | 11 blank | 57 comment | 0 complexity | a887501899ce168d40cfa33e329fb5ea MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file legacy_object_types.h
  3. * @brief Byte codes for basic object and primitive types
  4. *
  5. * $LicenseInfo:firstyear=2001&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. #ifndef LL_LEGACY_OBJECT_TYPES_H
  27. #define LL_LEGACY_OBJECT_TYPES_H
  28. const S8 PLAYER = 'c';
  29. //const S8 BASIC_SHOT = 's';
  30. //const S8 BIG_SHOT = 'S';
  31. //const S8 TREE_SHOT = 'g';
  32. //const S8 PHYSICAL_BALL = 'b';
  33. const S8 TREE = 'T';
  34. const S8 TREE_NEW = 'R';
  35. //const S8 SPARK = 'p';
  36. //const S8 SMOKE = 'q';
  37. //const S8 BOX = 'x';
  38. //const S8 CYLINDER = 'y';
  39. //const S8 CONE = 'o';
  40. //const S8 SPHERE = 'h';
  41. //const S8 BIRD = 'r'; // ascii 114
  42. //const S8 ATOR = 'a';
  43. //const S8 ROCK = 'k';
  44. const S8 GRASS = 'd';
  45. const S8 PART_SYS = 'P';
  46. //const S8 ORACLE = 'O';
  47. //const S8 TEXTBUBBLE = 't'; // Text bubble to show communication
  48. //const S8 DEMON = 'M'; // Maxwell's demon for scarfing legacy_object_types.h
  49. //const S8 CUBE = 'f';
  50. //const S8 LSL_TEST = 'L';
  51. //const S8 PRISM = '1';
  52. //const S8 PYRAMID = '2';
  53. //const S8 TETRAHEDRON = '3';
  54. //const S8 HALF_CYLINDER = '4';
  55. //const S8 HALF_CONE = '5';
  56. //const S8 HALF_SPHERE = '6';
  57. const S8 PRIMITIVE_VOLUME = 'v';
  58. // Misc constants
  59. //const F32 AVATAR_RADIUS = 0.5f;
  60. //const F32 SHOT_RADIUS = 0.05f;
  61. //const F32 BIG_SHOT_RADIUS = 0.05f;
  62. //const F32 TREE_SIZE = 5.f;
  63. //const F32 BALL_SIZE = 4.f;
  64. //const F32 SHOT_VELOCITY = 100.f;
  65. //const F32 GRENADE_BLAST_RADIUS = 5.f;
  66. #endif