aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llworld.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llworld.h')
-rw-r--r--linden/indra/newview/llworld.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/linden/indra/newview/llworld.h b/linden/indra/newview/llworld.h
index b10b287..d2482ac 100644
--- a/linden/indra/newview/llworld.h
+++ b/linden/indra/newview/llworld.h
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * 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 * 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 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -29,8 +30,6 @@
29#define LL_LLWORLD_H 30#define LL_LLWORLD_H
30 31
31#include "llpatchvertexarray.h" 32#include "llpatchvertexarray.h"
32#include "doublelinkedlist.h"
33#include "linked_lists.h"
34 33
35#include "llmath.h" 34#include "llmath.h"
36//#include "vmath.h" 35//#include "vmath.h"
@@ -141,14 +140,17 @@ public:
141 U64 getSpaceTimeUSec() const; 140 U64 getSpaceTimeUSec() const;
142 141
143 LLString getInfoString(); 142 LLString getInfoString();
143
144public: 144public:
145 LLDoubleLinkedList<LLViewerRegion> mActiveRegionList; 145 typedef std::list<LLViewerRegion*> region_list_t;
146
147 region_list_t mActiveRegionList;
146 LLViewerPartSim mPartSim; 148 LLViewerPartSim mPartSim;
147 149
148private: 150private:
149 LLLinkedList<LLViewerRegion> mRegionList; 151 region_list_t mRegionList;
150 LLDoubleLinkedList<LLViewerRegion> mVisibleRegionList; 152 region_list_t mVisibleRegionList;
151 LLDoubleLinkedList<LLViewerRegion> mCulledRegionList; 153 region_list_t mCulledRegionList;
152 154
153 // Number of points on edge 155 // Number of points on edge
154 const U32 mWidth; 156 const U32 mWidth;
@@ -175,7 +177,7 @@ private:
175 U32 mMinRegionY; 177 U32 mMinRegionY;
176 U32 mMaxRegionY; 178 U32 mMaxRegionY;
177 179
178 LLLinkedList<LLVOWater> mHoleWaterObjects; 180 std::list<LLVOWater*> mHoleWaterObjects;
179 LLPointer<LLVOWater> mEdgeWaterObjects[8]; 181 LLPointer<LLVOWater> mEdgeWaterObjects[8];
180 182
181 LLPointer<LLViewerImage> mDefaultWaterTexturep; 183 LLPointer<LLViewerImage> mDefaultWaterTexturep;