aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_markers.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-05-28 22:25:13 -0400
committerPaul Gilbert2017-05-28 22:25:13 -0400
commit77703ed31652e6ebacc377560a79ae02d23262b0 (patch)
tree472da3b088eb112dc6e4ac209a19d19f587012fa /engines/titanic/star_control/star_markers.h
parenta4fca682172c4b9be36a0d54a2204157bb249d2f (diff)
downloadscummvm-rg350-77703ed31652e6ebacc377560a79ae02d23262b0.tar.gz
scummvm-rg350-77703ed31652e6ebacc377560a79ae02d23262b0.tar.bz2
scummvm-rg350-77703ed31652e6ebacc377560a79ae02d23262b0.zip
TITANIC: Renamed CStarControlSub7 to CStarMarkers
Diffstat (limited to 'engines/titanic/star_control/star_markers.h')
-rw-r--r--engines/titanic/star_control/star_markers.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_markers.h b/engines/titanic/star_control/star_markers.h
new file mode 100644
index 0000000000..96b76d3c3b
--- /dev/null
+++ b/engines/titanic/star_control/star_markers.h
@@ -0,0 +1,46 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef TITANIC_STAR_MARKERS_H
+#define TITANIC_STAR_MARKERS_H
+
+#include "titanic/star_control/base_stars.h"
+namespace Titanic {
+
+class CStarMarkers : public CBaseStars {
+public:
+ virtual ~CStarMarkers() { clear(); }
+
+ /**
+ * Draw the item
+ */
+ virtual void draw(CSurfaceArea *surfaceArea, CStarCamera *camera, CStarCloseup *closeup);
+
+ /**
+ * Adds a new star, or removes one if already present at the given co-ordinates
+ */
+ virtual bool addStar(const CBaseStarEntry *entry);
+};
+
+} // End of namespace Titanic
+
+#endif /* TITANIC_STAR_MARKERS_H */