/indra/llmessage/lltaskname.h

https://bitbucket.org/lindenlab/viewer-beta/ · C++ Header · 60 lines · 14 code · 3 blank · 43 comment · 0 complexity · 4ffa237cff48597c9601c0b15c6018ed MD5 · raw file

  1. /**
  2. * @file lltaskname.h
  3. * @brief This contains the current list of valid tasks and is inluded
  4. * into both simulator and viewer
  5. *
  6. * $LicenseInfo:firstyear=2000&license=viewerlgpl$
  7. * Second Life Viewer Source Code
  8. * Copyright (C) 2010, Linden Research, Inc.
  9. *
  10. * This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Lesser General Public
  12. * License as published by the Free Software Foundation;
  13. * version 2.1 of the License only.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Lesser General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with this library; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  25. * $/LicenseInfo$
  26. */
  27. #ifndef LL_LLTASKNAME_H
  28. #define LL_LLTASKNAME_H
  29. // Current valid tasks
  30. // If you add a taskname here you will have to
  31. // 1) Add an initializer to init_object() in llscript.cpp
  32. // 1.1) Add to object_type_to_task_name() in llregion.cpp
  33. // 2) Add display code to LLStupidObject::render2(LLAgent* agentp) in llstupidobject.cpp
  34. // 3) Add any additional code to support new opcodes you create
  35. typedef enum e_lltask_name
  36. {
  37. LLTASK_NULL = 0, // Not a valid task
  38. LLTASK_AGENT = 1, // The player's agent in Linden World
  39. LLTASK_CHILD_AGENT = 2, // Child agents sent to adjacent regions
  40. // LLTASK_BASIC_SHOT, // Simple shot that moves in a straight line
  41. // LLTASK_BIG_SHOT, // Big shot that uses gravity
  42. LLTASK_TREE = 5, // A tree
  43. // LLTASK_BIRD, // a bird
  44. // LLTASK_ATOR, // a predator
  45. // LLTASK_SMOKE, // Smoke poof
  46. // LLTASK_SPARK, // Little spark
  47. // LLTASK_ROCK, // Rock
  48. LLTASK_GRASS = 11, // Grass
  49. LLTASK_PSYS = 12, // particle system test example
  50. // LLTASK_ORACLE,
  51. // LLTASK_DEMON, // Maxwell's demon
  52. // LLTASK_LSL_TEST, // Linden Scripting Language Test Object
  53. LLTASK_PRIMITIVE = 16,
  54. // LLTASK_GHOST = 17, // a ghost (Boo!)
  55. LLTASK_TREE_NEW = 18
  56. } ELLTaskName;
  57. #endif