aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs/minigames
diff options
context:
space:
mode:
authorjohndoe1232014-02-16 00:28:43 +0100
committerjohndoe1232014-02-16 00:28:43 +0100
commit3aba8da16b2385fb257034d6d45013b3e1b44af8 (patch)
tree33f509fe6e9cbbab9bc266f1605cb2ab25134b6d /engines/bbvs/minigames
parent882cf2f5ba1f51263d3458f413ba1addaf235db5 (diff)
downloadscummvm-rg350-3aba8da16b2385fb257034d6d45013b3e1b44af8.tar.gz
scummvm-rg350-3aba8da16b2385fb257034d6d45013b3e1b44af8.tar.bz2
scummvm-rg350-3aba8da16b2385fb257034d6d45013b3e1b44af8.zip
BBVS: Remove Point type and use BBPoint instead in BBAnt minigame
Diffstat (limited to 'engines/bbvs/minigames')
-rw-r--r--engines/bbvs/minigames/bbant.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/bbvs/minigames/bbant.cpp b/engines/bbvs/minigames/bbant.cpp
index 1b9293a231..03d507e575 100644
--- a/engines/bbvs/minigames/bbant.cpp
+++ b/engines/bbvs/minigames/bbant.cpp
@@ -24,16 +24,12 @@
namespace Bbvs {
-struct Point {
- int x, y;
-};
-
-static const Point kPosIncrTbl1[] = {
+static const BBPoint kPosIncrTbl1[] = {
{0, -1}, {-1, -1}, {-1, 0}, {-1, 1},
{ 0, 1}, { 1, 1}, { 1, 0}, { 1, -1}
};
-static const Point kPosIncrTbl2[] = {
+static const BBPoint kPosIncrTbl2[] = {
{0, -2}, {-2, -2}, {-2, 0}, {-2, 2},
{ 0, 2}, { 2, 2}, { 2, 0}, { 2, -2}
};