aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/startrek.h
diff options
context:
space:
mode:
authorFilippos Karapetis2019-12-27 01:33:02 +0200
committerFilippos Karapetis2019-12-27 01:33:28 +0200
commitf7a5c21d4de443f861544db17b18c958cea2811f (patch)
treefab74f9d0e1008b626f466d5b17c1fbf9fc32b32 /engines/startrek/startrek.h
parent26fcce1e4174d528829d42196a27667c0996108d (diff)
downloadscummvm-rg350-f7a5c21d4de443f861544db17b18c958cea2811f.tar.gz
scummvm-rg350-f7a5c21d4de443f861544db17b18c958cea2811f.tar.bz2
scummvm-rg350-f7a5c21d4de443f861544db17b18c958cea2811f.zip
STARTREK: Move isPointInPolygon() inside the Room class
This accesses the room data, so it's better to move it inside the Room class, to reduce direct visibility of the room vertex data
Diffstat (limited to 'engines/startrek/startrek.h')
-rw-r--r--engines/startrek/startrek.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/startrek/startrek.h b/engines/startrek/startrek.h
index 1e4e330ecb..5967283203 100644
--- a/engines/startrek/startrek.h
+++ b/engines/startrek/startrek.h
@@ -295,15 +295,6 @@ public:
bool checkItemInteractionExists(int action, int activeItem, int passiveItem, int16 arg6);
void handleAwayMissionAction();
- /**
- * Returns true if the given position is contained in a polygon.
- *
- * The data passed contains the following words in this order:
- * * Index of polygon (unused here)
- * * Number of vertices in polygon
- * * For each vertex: x and y coordinates.
- */
- bool isPointInPolygon(int16 *data, int16 x, int16 y);
void checkTouchedLoadingZone(int16 x, int16 y);
/**
* Updates any nonzero away mission timers, and invokes ACTION_TIMER_EXPIRED when any one