summaryrefslogtreecommitdiffhomepage
path: root/Magic2/Selection.h
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-05-28 16:44:39 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-05-28 16:44:39 +0000
commit56a3380b46f406ffaf093405ac2db4515b0a4f80 (patch)
treee9e4c5553343f27e41d862c49b21fd69bf5161b9 /Magic2/Selection.h
parent41b40af36198fb013a2034a1954bbc4df50fea8b (diff)
downloadstarshatter-56a3380b46f406ffaf093405ac2db4515b0a4f80.zip
starshatter-56a3380b46f406ffaf093405ac2db4515b0a4f80.tar.gz
starshatter-56a3380b46f406ffaf093405ac2db4515b0a4f80.tar.bz2
Removes the ArrayList classes, and replaces all instances with std::vector implementations.
Diffstat (limited to 'Magic2/Selection.h')
-rw-r--r--Magic2/Selection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Magic2/Selection.h b/Magic2/Selection.h
index 092f0ac..aba249a 100644
--- a/Magic2/Selection.h
+++ b/Magic2/Selection.h
@@ -15,11 +15,11 @@
#ifndef Selection_h
#define Selection_h
+#include <vector>
#include "Polygon.h"
#include "Graphic.h"
#include "Video.h"
#include "List.h"
-#include "ArrayList.h"
// +--------------------------------------------------------------------+
@@ -49,7 +49,7 @@ public:
void UseView(ModelView* v){ model_view = v; }
Model* GetModel() const { return model; }
List<Poly>& GetPolys() { return polys; }
- ArrayList& GetVerts() { return verts; }
+ std::vector<DWORD>& GetVerts() { return verts; }
virtual void Clear() { polys.clear();
verts.clear(); }
@@ -65,7 +65,7 @@ protected:
Model* model;
ModelView* model_view;
List<Poly> polys;
- ArrayList verts;
+ std::vector<DWORD> verts;
};
// +--------------------------------------------------------------------+