Fission FSN
Loading...
Searching...
No Matches
gfCTimeUserSavedData.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCTimeUserSavedData.h
4*
5* Purpose: Saved data for gfTimeCore
6*
7*********************************************************************/
8
9#ifndef gfCTimeUserSavedDatahdr
10#define gfCTimeUserSavedDatahdr
11
13
14
16{
17 friend class fsCUserSavedData;
18
19public:
20
21 // Mid-day save/restore (Phase 6) - see gfCParkLevelComponent.
22 static const fsStr mParkDayIndex;
23 static const fsStr mDayRemainingMs;
24 static const fsStr mDayCoins;
29 static const fsStr mParkReputation;
31
32 // Player ownership persisted across a full quit (buildings bought, staff
33 // hired, staff deployed). Stored as a count plus indexed keys, since the
34 // saved-data table is flat key/value - the per-index field keys are built
35 // in gfCParkLevelComponent.cpp. Without these, Continue restored the day
36 // and coins but wiped everything the player had built.
40
41 // Free-placed cosmetic decorations (tycoon build). Count plus indexed
42 // image/x/y keys, same flat-table convention as the ownership collections
43 // above - see gfCParkLevelComponent.cpp.
45
46 // Forest cells the player has cleared (tycoon land unlock). Count plus
47 // indexed col/row keys, same flat-table convention as the collections above -
48 // see gfCParkLevelComponent.cpp. Restored cells are re-hidden on the view and
49 // re-open the grid for building and guest routing.
51
52 virtual ~gfCTimeUserSavedData();
53
54protected:
55
57
58private:
59};
60
61#endif
Definition fsStr.h:23
static const fsStr mParkClearedCellCount
Definition gfCTimeUserSavedData.h:50
static const fsStr mDayHappyVisitors
Definition gfCTimeUserSavedData.h:25
static const fsStr mParkDeployedSlotCount
Definition gfCTimeUserSavedData.h:39
static const fsStr mParkReputation
Definition gfCTimeUserSavedData.h:29
static const fsStr mDayUnhappyVisitors
Definition gfCTimeUserSavedData.h:26
static const fsStr mParkOwnedSlotCount
Definition gfCTimeUserSavedData.h:37
static const fsStr mDayServicesPurchased
Definition gfCTimeUserSavedData.h:27
static const fsStr mDaySatisfactionTotal
Definition gfCTimeUserSavedData.h:28
static const fsStr mDayRemainingMs
Definition gfCTimeUserSavedData.h:23
gfCTimeUserSavedData()
Definition gfCTimeUserSavedData.cpp:19
static const fsStr mParkHiredStaffCount
Definition gfCTimeUserSavedData.h:38
static const fsStr mParkReputationSettledDay
Definition gfCTimeUserSavedData.h:30
static const fsStr mParkDayIndex
Definition gfCTimeUserSavedData.h:22
friend class fsCUserSavedData
Definition gfCTimeUserSavedData.h:17
virtual ~gfCTimeUserSavedData()
Definition gfCTimeUserSavedData.cpp:23
static const fsStr mParkDecorationCount
Definition gfCTimeUserSavedData.h:44
static const fsStr mDayCoins
Definition gfCTimeUserSavedData.h:24