aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/base_star.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-03-05 09:59:43 -0500
committerPaul Gilbert2017-03-05 09:59:43 -0500
commitf040c1bc91c4365c02aae61022e60e5c743ce013 (patch)
treece69247c3688df50d176d45c040386c09e29c238 /engines/titanic/star_control/base_star.h
parent3a0bc46eb1dbcbc521c900c0168bd73dff259e52 (diff)
downloadscummvm-rg350-f040c1bc91c4365c02aae61022e60e5c743ce013.tar.gz
scummvm-rg350-f040c1bc91c4365c02aae61022e60e5c743ce013.tar.bz2
scummvm-rg350-f040c1bc91c4365c02aae61022e60e5c743ce013.zip
TITANIC: Implementing starfield methods
Diffstat (limited to 'engines/titanic/star_control/base_star.h')
-rw-r--r--engines/titanic/star_control/base_star.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/star_control/base_star.h b/engines/titanic/star_control/base_star.h
index 80f219c9ea..76795e1e9a 100644
--- a/engines/titanic/star_control/base_star.h
+++ b/engines/titanic/star_control/base_star.h
@@ -40,7 +40,7 @@ struct CBaseStarEntry {
byte _field2;
byte _field3;
double _value;
- CBaseStarVal _val;
+ FVector _position;
uint _data[5];
CBaseStarEntry();
@@ -63,11 +63,6 @@ protected:
double _value3, _value4;
protected:
/**
- * Get a pointer to a data entry
- */
- CBaseStarEntry *getDataPtr(int index);
-
- /**
* Load entry data from a passed stream
*/
void loadData(Common::SeekableReadStream &s);
@@ -122,6 +117,11 @@ public:
void initialize();
int size() const { return _data.size(); }
+
+ /**
+ * Get a pointer to a data entry
+ */
+ const CBaseStarEntry *getDataPtr(int index) const;
};
} // End of namespace Titanic