diff options
author | Aki <please@ignore.pl> | 2021-10-02 21:34:32 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-02 21:34:32 +0200 |
commit | d2fc3ad2272f7cc850ef95fbe803c10e8746ad86 (patch) | |
tree | 988f56af14d52ff2452ea7bb2da06a11736afa39 /Stars45/StarSystem.h | |
parent | 03bdf9c0fe25d3d9e765c13a2d18048088c3a3a0 (diff) | |
download | starshatter-d2fc3ad2272f7cc850ef95fbe803c10e8746ad86.zip starshatter-d2fc3ad2272f7cc850ef95fbe803c10e8746ad86.tar.gz starshatter-d2fc3ad2272f7cc850ef95fbe803c10e8746ad86.tar.bz2 |
Switched to long doubles instead of doing manual FPU manipulation
Diffstat (limited to 'Stars45/StarSystem.h')
-rw-r--r-- | Stars45/StarSystem.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Stars45/StarSystem.h b/Stars45/StarSystem.h index 295b07b..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; |