summaryrefslogtreecommitdiffhomepage
path: root/Stars45/StarSystem.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-10-03 16:51:12 +0200
committerAki <please@ignore.pl>2021-10-03 16:51:12 +0200
commit104248aabf40b692231fccd1adf1a2a494f1589a (patch)
tree5eee42a18a9688b03b483aff5c2bedffb4fe8a6c /Stars45/StarSystem.h
parentddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (diff)
parentd2f333bf998691760b8970c2784756d0fa81e820 (diff)
downloadstarshatter-104248aabf40b692231fccd1adf1a2a494f1589a.zip
starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.gz
starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.bz2
Stars45 can now be built under MSYS2/Mingw32
Diffstat (limited to 'Stars45/StarSystem.h')
-rw-r--r--Stars45/StarSystem.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Stars45/StarSystem.h b/Stars45/StarSystem.h
index 75a0abe..90b77df 100644
--- a/Stars45/StarSystem.h
+++ b/Stars45/StarSystem.h
@@ -102,9 +102,9 @@ public:
void SetActiveRegion(OrbitalRegion* rgn);
- static void SetBaseTime(double t, bool absolute=false);
- static double GetBaseTime();
- static double Stardate() { return stardate; }
+ static void SetBaseTime(long double t, bool absolute=false);
+ static long double GetBaseTime();
+ static long double Stardate() { return stardate; }
static void CalcStardate();
double Radius() const { return radius; }
@@ -133,7 +133,7 @@ protected:
int affiliation;
int seq;
Point loc;
- static double stardate;
+ static long double stardate;
double radius;
bool instantiated;
@@ -342,5 +342,5 @@ protected:
List<Text> links;
};
-#endif StarSystem_h
+#endif // StarSystem_h