PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
28#ifndef LL_LLTASKNAME_H
29#define LL_LLTASKNAME_H
30
31// Current valid tasks
32// If you add a taskname here you will have to 
33// 1) Add an initializer to init_object() in llscript.cpp
34// 1.1) Add to object_type_to_task_name() in llregion.cpp
35// 2) Add display code to LLStupidObject::render2(LLAgent* agentp) in llstupidobject.cpp
36// 3) Add any additional code to support new opcodes you create
37
38typedef enum e_lltask_name
39{
40	LLTASK_NULL				= 0, // Not a valid task
41	LLTASK_AGENT			= 1, // The player's agent in Linden World
42	LLTASK_CHILD_AGENT		= 2, // Child agents sent to adjacent regions
43//	LLTASK_BASIC_SHOT,		// Simple shot that moves in a straight line
44//	LLTASK_BIG_SHOT,		// Big shot that uses gravity
45	LLTASK_TREE				= 5, // A tree
46//	LLTASK_BIRD,			// a bird
47//	LLTASK_ATOR,			// a predator
48//	LLTASK_SMOKE,			// Smoke poof
49//	LLTASK_SPARK,			// Little spark
50//	LLTASK_ROCK,			// Rock
51	LLTASK_GRASS			= 11, // Grass
52	LLTASK_PSYS				= 12, // particle system test example 
53//	LLTASK_ORACLE,
54//	LLTASK_DEMON,			// Maxwell's demon
55//	LLTASK_LSL_TEST,		// Linden Scripting Language Test Object
56	LLTASK_PRIMITIVE		= 16,
57//	LLTASK_GHOST			= 17, // a ghost (Boo!)
58	LLTASK_TREE_NEW			= 18
59} ELLTaskName;
60#endif