diff options
author | Aki <please@ignore.pl> | 2021-10-03 16:51:12 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-03 16:51:12 +0200 |
commit | 104248aabf40b692231fccd1adf1a2a494f1589a (patch) | |
tree | 5eee42a18a9688b03b483aff5c2bedffb4fe8a6c /Stars45/StarSystem.h | |
parent | ddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (diff) | |
parent | d2f333bf998691760b8970c2784756d0fa81e820 (diff) | |
download | starshatter-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.h | 10 |
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 |