PageRenderTime 143ms CodeModel.GetById 7ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/llprimitive/material_codes.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 54 lines | 22 code | 5 blank | 27 comment | 0 complexity | f9b4dfb87f2b18e9d86fcd053d47f800 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file material_codes.h
  3. * @brief Material_codes definitions
  4. *
  5. * $LicenseInfo:firstyear=2000&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_MATERIAL_CODES_H
  27. #define LL_MATERIAL_CODES_H
  28. class LLUUID;
  29. // material types
  30. const U8 LL_MCODE_STONE = 0;
  31. const U8 LL_MCODE_METAL = 1;
  32. const U8 LL_MCODE_GLASS = 2;
  33. const U8 LL_MCODE_WOOD = 3;
  34. const U8 LL_MCODE_FLESH = 4;
  35. const U8 LL_MCODE_PLASTIC = 5;
  36. const U8 LL_MCODE_RUBBER = 6;
  37. const U8 LL_MCODE_LIGHT = 7;
  38. const U8 LL_MCODE_END = 8;
  39. const U8 LL_MCODE_MASK = 0x0F;
  40. // *NOTE: Define these in .cpp file to reduce duplicate instances
  41. extern const LLUUID LL_DEFAULT_STONE_UUID;
  42. extern const LLUUID LL_DEFAULT_METAL_UUID;
  43. extern const LLUUID LL_DEFAULT_GLASS_UUID;
  44. extern const LLUUID LL_DEFAULT_WOOD_UUID;
  45. extern const LLUUID LL_DEFAULT_FLESH_UUID;
  46. extern const LLUUID LL_DEFAULT_PLASTIC_UUID;
  47. extern const LLUUID LL_DEFAULT_RUBBER_UUID;
  48. extern const LLUUID LL_DEFAULT_LIGHT_UUID;
  49. #endif