aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/base_star.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-03-09 20:50:56 -0500
committerPaul Gilbert2017-03-09 20:50:56 -0500
commit3e1d298a61071709a40a0fd96c774a28602df5d2 (patch)
tree563d34bc8318ed1d6777716973a72c35cef581f2 /engines/titanic/star_control/base_star.h
parent6bb953e25bca80f763f8cd7c2df1863a529ba889 (diff)
downloadscummvm-rg350-3e1d298a61071709a40a0fd96c774a28602df5d2.tar.gz
scummvm-rg350-3e1d298a61071709a40a0fd96c774a28602df5d2.tar.bz2
scummvm-rg350-3e1d298a61071709a40a0fd96c774a28602df5d2.zip
TITANIC: Properly implement CBaseStarEntry equality test
Diffstat (limited to 'engines/titanic/star_control/base_star.h')
-rw-r--r--engines/titanic/star_control/base_star.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/star_control/base_star.h b/engines/titanic/star_control/base_star.h
index 1450b25bb3..c348b1fe12 100644
--- a/engines/titanic/star_control/base_star.h
+++ b/engines/titanic/star_control/base_star.h
@@ -44,7 +44,13 @@ struct CBaseStarEntry {
uint _data[5];
CBaseStarEntry();
+
+ /**
+ * Loads the data for a star
+ */
void load(Common::SeekableReadStream &s);
+
+ bool operator==(const CBaseStarEntry &s) const;
};
class CBaseStar {