diff options
author | Jacek Antonelli | 2008-08-15 23:44:46 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:46 -0500 |
commit | 38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch) | |
tree | adca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/newview/llfirstuse.h | |
parent | README.txt (diff) | |
download | meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2 meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz |
Second Life viewer sources 1.13.2.12
Diffstat (limited to 'linden/indra/newview/llfirstuse.h')
-rw-r--r-- | linden/indra/newview/llfirstuse.h | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/linden/indra/newview/llfirstuse.h b/linden/indra/newview/llfirstuse.h new file mode 100644 index 0000000..86992cb --- /dev/null +++ b/linden/indra/newview/llfirstuse.h | |||
@@ -0,0 +1,102 @@ | |||
1 | /** | ||
2 | * @file llfirstuse.h | ||
3 | * @brief Methods that spawn "first-use" dialogs. | ||
4 | * | ||
5 | * Copyright (c) 2003-2007, Linden Research, Inc. | ||
6 | * | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
8 | * to you under the terms of the GNU General Public License, version 2.0 | ||
9 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
10 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
11 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
12 | * online at http://secondlife.com/developers/opensource/gplv2 | ||
13 | * | ||
14 | * There are special exceptions to the terms and conditions of the GPL as | ||
15 | * it is applied to this Source Code. View the full text of the exception | ||
16 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
17 | * online at http://secondlife.com/developers/opensource/flossexception | ||
18 | * | ||
19 | * By copying, modifying or distributing this software, you acknowledge | ||
20 | * that you have read and understood your obligations described above, | ||
21 | * and agree to abide by those obligations. | ||
22 | * | ||
23 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
24 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
25 | * COMPLETENESS OR PERFORMANCE. | ||
26 | */ | ||
27 | |||
28 | #ifndef LL_LLFIRSTUSE_H | ||
29 | #define LL_LLFIRSTUSE_H | ||
30 | |||
31 | #include <vector> | ||
32 | #include "llstring.h" | ||
33 | |||
34 | /* | ||
35 | 1. On first use of 'sit here', explain how to get up and rotate view. | ||
36 | |||
37 | 2. On first use of map, explain dbl-click = telport, how hubs/beacons work, | ||
38 | click-drag to move map | ||
39 | |||
40 | 3. First use of pie 'Go To', explain other ways to move around | ||
41 | |||
42 | 4. First use of 'Create' or 'Edit', explain build toolbar, that you can create | ||
43 | things if build enabled, edit things you own, and that you can ESC to exit it. | ||
44 | |||
45 | 5. First use of 'Talk to' explain difference between that and regular chat, | ||
46 | reduced range, how to leave conversation, arrow keys to orbit. | ||
47 | |||
48 | 6. First lft-click that does nothing (land,object): Explain that rgt-click | ||
49 | gives menu, lft-click interacts or moves if physical | ||
50 | |||
51 | 7. On first receipt of money (not rez/derez) explain that objects or people may | ||
52 | give you money, and how to give someone or something money ('Pay...'). | ||
53 | |||
54 | 8. After first teleporting and being sent to nearest hub, a dialog explaining | ||
55 | how to find and move toward the beacon. | ||
56 | |||
57 | 9. On first accept/auto-accept permissions, explain that some objects may be | ||
58 | activated by entering mouselook 'M', or may override your movement keys with | ||
59 | other functions. | ||
60 | |||
61 | 10. FIrst use of 'wear' or drag object from inventory onto self: 'You can | ||
62 | attach objects to your body by dragging ontl yourelf of rgt-clk->wear from | ||
63 | object or from inventory. | ||
64 | |||
65 | 11. FIrst time you run the client on a system without QuickTime installed. | ||
66 | |||
67 | 12. First time you create a flexible object. | ||
68 | */ | ||
69 | |||
70 | class LLFirstUse | ||
71 | { | ||
72 | public: | ||
73 | // Add a config variable to be reset on resetFirstUse() | ||
74 | static void addConfigVariable(const LLString& var); | ||
75 | |||
76 | // Sets all controls back to show the dialogs. | ||
77 | static void disableFirstUse(); | ||
78 | |||
79 | // These methods are called each time the appropriate action is | ||
80 | // taken. The functions themselves handle only showing the dialog | ||
81 | // the first time, or subsequent times if the user wishes. | ||
82 | static void useBalanceIncrease(S32 delta); | ||
83 | static void useBalanceDecrease(S32 delta); | ||
84 | static void useSit(); | ||
85 | static void useMap(); | ||
86 | static void useGoTo(); | ||
87 | static void useBuild(); | ||
88 | static void useLeftClickNoHit(); | ||
89 | static void useTeleport(); | ||
90 | static void useOverrideKeys(); | ||
91 | static void useAttach(); | ||
92 | static void useAppearance(); | ||
93 | static void useInventory(); | ||
94 | static void useSandbox(); | ||
95 | static void useFlexible(); | ||
96 | |||
97 | protected: | ||
98 | static std::set<LLString> sConfigVariables; | ||
99 | }; | ||
100 | |||
101 | #endif | ||
102 | // EOF | ||