diff options
author | McCabe Maxsted | 2009-11-07 16:21:26 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-11-07 16:21:26 -0700 |
commit | 5a376379b6eeca8ecb709d5415ac130a1a99b4be (patch) | |
tree | 08da468b4bbf8025cf9da3cc2f2f12ff45d6ef00 /linden/indra/newview/rlvdefines.h | |
parent | Changed default UIScaleFactor to 1.002 as a workaround to some font rendering... (diff) | |
download | meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.zip meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.tar.gz meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.tar.bz2 meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.tar.xz |
Applied RLVa-1.0.5e_20091107_Imprudence-1.2.0-diff.patch
Diffstat (limited to 'linden/indra/newview/rlvdefines.h')
-rw-r--r-- | linden/indra/newview/rlvdefines.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/linden/indra/newview/rlvdefines.h b/linden/indra/newview/rlvdefines.h index 118ba31..a35d109 100644 --- a/linden/indra/newview/rlvdefines.h +++ b/linden/indra/newview/rlvdefines.h | |||
@@ -41,14 +41,14 @@ | |||
41 | 41 | ||
42 | // Version of the specifcation we support | 42 | // Version of the specifcation we support |
43 | const S32 RLV_VERSION_MAJOR = 1; | 43 | const S32 RLV_VERSION_MAJOR = 1; |
44 | const S32 RLV_VERSION_MINOR = 21; | 44 | const S32 RLV_VERSION_MINOR = 22; |
45 | const S32 RLV_VERSION_PATCH = 0; | 45 | const S32 RLV_VERSION_PATCH = 0; |
46 | const S32 RLV_VERSION_BUILD = 0; | 46 | const S32 RLV_VERSION_BUILD = 0; |
47 | 47 | ||
48 | // Implementation version | 48 | // Implementation version |
49 | const S32 RLVa_VERSION_MAJOR = 1; | 49 | const S32 RLVa_VERSION_MAJOR = 1; |
50 | const S32 RLVa_VERSION_MINOR = 0; | 50 | const S32 RLVa_VERSION_MINOR = 0; |
51 | const S32 RLVa_VERSION_PATCH = 4; | 51 | const S32 RLVa_VERSION_PATCH = 5; |
52 | const S32 RLVa_VERSION_BUILD = 4; | 52 | const S32 RLVa_VERSION_BUILD = 4; |
53 | 53 | ||
54 | // The official viewer version we're patching against | 54 | // The official viewer version we're patching against |
@@ -59,12 +59,15 @@ const S32 RLVa_VERSION_BUILD = 4; | |||
59 | #define RLV_WARNS LL_WARNS("RLV") | 59 | #define RLV_WARNS LL_WARNS("RLV") |
60 | #define RLV_INFOS LL_INFOS("RLV") | 60 | #define RLV_INFOS LL_INFOS("RLV") |
61 | #define RLV_DEBUGS LL_DEBUGS("RLV") | 61 | #define RLV_DEBUGS LL_DEBUGS("RLV") |
62 | #define RLV_ENDL LL_ENDL | ||
62 | 63 | ||
63 | #if LL_RELEASE_WITH_DEBUG_INFO || LL_DEBUG | 64 | #if LL_RELEASE_WITH_DEBUG_INFO || LL_DEBUG |
64 | // Turn on extended debugging information | 65 | // Turn on extended debugging information |
65 | #define RLV_DEBUG | 66 | #define RLV_DEBUG |
66 | // Make sure we halt execution on errors | 67 | // Make sure we halt execution on errors |
67 | #define RLV_ERRS LL_ERRS("RLV") | 68 | #define RLV_ERRS LL_ERRS("RLV") |
69 | // Keep our asserts separate from LL's | ||
70 | #define RLV_ASSERT(f) if (!(f)) RLV_ERRS << "ASSERT (" << #f << ")" << RLV_ENDL; | ||
68 | // Uncomment to enable the Advanced / RLVa / Unit Tests menu (non-public) | 71 | // Uncomment to enable the Advanced / RLVa / Unit Tests menu (non-public) |
69 | //#define RLV_DEBUG_TESTS | 72 | //#define RLV_DEBUG_TESTS |
70 | #else | 73 | #else |
@@ -72,6 +75,8 @@ const S32 RLVa_VERSION_BUILD = 4; | |||
72 | //#define RLV_DEBUG | 75 | //#define RLV_DEBUG |
73 | // Don't halt execution on errors in release | 76 | // Don't halt execution on errors in release |
74 | #define RLV_ERRS LL_WARNS("RLV") | 77 | #define RLV_ERRS LL_WARNS("RLV") |
78 | // We don't want to check assertions in release builds | ||
79 | #define RLV_ASSERT(f) | ||
75 | #endif // LL_RELEASE_WITH_DEBUG_INFO || LL_DEBUG | 80 | #endif // LL_RELEASE_WITH_DEBUG_INFO || LL_DEBUG |
76 | 81 | ||
77 | #define RLV_ROOT_FOLDER "#RLV" | 82 | #define RLV_ROOT_FOLDER "#RLV" |
@@ -111,6 +116,8 @@ enum ERlvBehaviour { | |||
111 | RLV_BHVR_ADDOUTFIT, // "addoutfit" | 116 | RLV_BHVR_ADDOUTFIT, // "addoutfit" |
112 | RLV_BHVR_REMOUTFIT, // "remoutfit" | 117 | RLV_BHVR_REMOUTFIT, // "remoutfit" |
113 | RLV_BHVR_GETOUTFIT, // "getoutfit" | 118 | RLV_BHVR_GETOUTFIT, // "getoutfit" |
119 | RLV_BHVR_ADDATTACH, // "addattach" | ||
120 | RLV_BHVR_REMATTACH, // "remattach" | ||
114 | RLV_BHVR_GETATTACH, // "getattach" | 121 | RLV_BHVR_GETATTACH, // "getattach" |
115 | RLV_BHVR_SHOWINV, // "showinv" | 122 | RLV_BHVR_SHOWINV, // "showinv" |
116 | RLV_BHVR_VIEWNOTE, // "viewnote" | 123 | RLV_BHVR_VIEWNOTE, // "viewnote" |
@@ -152,6 +159,8 @@ enum ERlvBehaviour { | |||
152 | RLV_BHVR_DEFAULTWEAR, // "defaultwear" | 159 | RLV_BHVR_DEFAULTWEAR, // "defaultwear" |
153 | RLV_BHVR_VERSIONNUM, // "versionnum" | 160 | RLV_BHVR_VERSIONNUM, // "versionnum" |
154 | RLV_BHVR_PERMISSIVE, // "permissive" | 161 | RLV_BHVR_PERMISSIVE, // "permissive" |
162 | RLV_BHVR_VIEWSCRIPT, // "viewscript" | ||
163 | RLV_BHVR_VIEWTEXTURE, // "viewtexture" | ||
155 | 164 | ||
156 | RLV_BHVR_COUNT, | 165 | RLV_BHVR_COUNT, |
157 | RLV_BHVR_UNKNOWN | 166 | RLV_BHVR_UNKNOWN |
@@ -185,6 +194,12 @@ enum ERlvExceptionCheck { | |||
185 | RLV_CHECK_DEFAULT // Permissive or strict will be determined by currently enforced restrictions | 194 | RLV_CHECK_DEFAULT // Permissive or strict will be determined by currently enforced restrictions |
186 | }; | 195 | }; |
187 | 196 | ||
197 | enum ERlvLockMask { | ||
198 | RLV_LOCK_ADD = 0x01, | ||
199 | RLV_LOCK_REMOVE = 0x02, | ||
200 | RLV_LOCK_ANY = RLV_LOCK_ADD | RLV_LOCK_REMOVE | ||
201 | }; | ||
202 | |||
188 | // ============================================================================ | 203 | // ============================================================================ |
189 | // Settings | 204 | // Settings |
190 | 205 | ||