summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Campaign.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-04-01 23:54:24 +0200
committerAki <please@ignore.pl>2024-04-01 23:54:24 +0200
commit068ebfe61d0ab59a7c2c58dcc19edcc2ddacf039 (patch)
tree0fee184235980fcbb2a7557d1a10b6e48143e9c4 /StarsEx/Campaign.h
parent3be3bfaa17773550a696ed2b756136debfe79ae2 (diff)
downloadstarshatter-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.h5
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;
};