aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/render_table.h
diff options
context:
space:
mode:
authorRichieSams2013-10-02 14:56:38 -0500
committerRichieSams2013-10-04 09:20:32 -0500
commit39a8243c696f3883f5d1609b1dc333dfae2264ed (patch)
tree20863ffaaf44e1d7957da73fbb78f2936036db0c /engines/zvision/render_table.h
parent8a69bcfe97716ae8f0098fd62231ac13717f1484 (diff)
downloadscummvm-rg350-39a8243c696f3883f5d1609b1dc333dfae2264ed.tar.gz
scummvm-rg350-39a8243c696f3883f5d1609b1dc333dfae2264ed.tar.bz2
scummvm-rg350-39a8243c696f3883f5d1609b1dc333dfae2264ed.zip
ZVISION: Remove Vector2 class
Originally, the render table needed int32 (x, y) coords, so I created a copy of Common::Point that used int32. After some code changes, the render table reverted to int16 coords. Therefore, this class is unnessessary since Common::Point uses int16 coords.
Diffstat (limited to 'engines/zvision/render_table.h')
-rw-r--r--engines/zvision/render_table.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/zvision/render_table.h b/engines/zvision/render_table.h
index b188b1492f..898091193a 100644
--- a/engines/zvision/render_table.h
+++ b/engines/zvision/render_table.h
@@ -23,10 +23,9 @@
#ifndef ZVISION_RENDER_TABLE_H
#define ZVISION_RENDER_TABLE_H
-#include "zvision/vector2.h"
-
#include "common/rect.h"
+
namespace ZVision {
class RenderTable {
@@ -43,7 +42,7 @@ public:
private:
uint _numColumns, _numRows;
- Vector2 *_internalBuffer;
+ Common::Point *_internalBuffer;
RenderState _renderState;
struct {