diff options
author | Aki <please@ignore.pl> | 2024-04-01 23:54:24 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-04-01 23:54:24 +0200 |
commit | 068ebfe61d0ab59a7c2c58dcc19edcc2ddacf039 (patch) | |
tree | 0fee184235980fcbb2a7557d1a10b6e48143e9c4 /StarsEx/Campaign.h | |
parent | 3be3bfaa17773550a696ed2b756136debfe79ae2 (diff) | |
download | starshatter-068ebfe61d0ab59a7c2c58dcc19edcc2ddacf039.zip starshatter-068ebfe61d0ab59a7c2c58dcc19edcc2ddacf039.tar.gz starshatter-068ebfe61d0ab59a7c2c58dcc19edcc2ddacf039.tar.bz2 |
Each Campaign now has a specific start date and time
Diffstat (limited to 'StarsEx/Campaign.h')
-rw-r--r-- | StarsEx/Campaign.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/StarsEx/Campaign.h b/StarsEx/Campaign.h index 8b38c51..e3548fb 100644 --- a/StarsEx/Campaign.h +++ b/StarsEx/Campaign.h @@ -189,8 +189,10 @@ public: int GetMissionId() const { return mission_id; } Bitmap* GetImage(int n) { return &image[n]; } long double GetTime() const { return time; } - long double LoadTime() const; + long double LoadTime() const; void SetLoadTime(long double value); + long double StartTime() const; + void SetStartTime(long double value); bool InCutscene() const; bool IsDynamic() const; @@ -268,6 +270,7 @@ protected: long double time; long double load_time; + long double start_time; int lockout; }; |