aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llviewerregion.h
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llviewerregion.h')
-rw-r--r--linden/indra/newview/llviewerregion.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/linden/indra/newview/llviewerregion.h b/linden/indra/newview/llviewerregion.h
index 8ac5de2..6407f0c 100644
--- a/linden/indra/newview/llviewerregion.h
+++ b/linden/indra/newview/llviewerregion.h
@@ -83,13 +83,14 @@ public:
83 void setOriginGlobal(const LLVector3d &origin); 83 void setOriginGlobal(const LLVector3d &origin);
84 void setAgentOffset(const LLVector3d &offset); 84 void setAgentOffset(const LLVector3d &offset);
85 85
86 void setAllowDamage(BOOL b); 86 void setAllowDamage(BOOL b) { setFlags(b, REGION_FLAGS_ALLOW_DAMAGE); }
87 void setAllowLandmark(BOOL b); 87 void setAllowLandmark(BOOL b) { setFlags(b, REGION_FLAGS_ALLOW_LANDMARK); }
88 void setAllowSetHome(BOOL b); 88 void setAllowSetHome(BOOL b) { setFlags(b, REGION_FLAGS_ALLOW_SET_HOME); }
89 void setResetHomeOnTeleport(BOOL b); 89 void setResetHomeOnTeleport(BOOL b) { setFlags(b, REGION_FLAGS_RESET_HOME_ON_TELEPORT); }
90 void setSunFixed(BOOL b); 90 void setSunFixed(BOOL b) { setFlags(b, REGION_FLAGS_SUN_FIXED); }
91 void setBlockFly(BOOL b); 91 void setBlockFly(BOOL b) { setFlags(b, REGION_FLAGS_BLOCK_FLY); }
92 void setAllowDirectTeleport(BOOL b); 92 void setAllowDirectTeleport(BOOL b) { setFlags(b, REGION_FLAGS_ALLOW_DIRECT_TELEPORT); }
93
93 94
94 inline BOOL getAllowDamage() const; 95 inline BOOL getAllowDamage() const;
95 inline BOOL getAllowLandmark() const; 96 inline BOOL getAllowLandmark() const;
@@ -248,6 +249,7 @@ public:
248protected: 249protected:
249 void disconnectAllNeighbors(); 250 void disconnectAllNeighbors();
250 void initStats(); 251 void initStats();
252 void setFlags(BOOL b, U32 flags);
251 253
252public: 254public:
253 LLWind mWind; 255 LLWind mWind;