139 void Print(std::ostream &stream)
const;
161 HxStr mUnsavedString;
GameParams(const GameParams &other)=default
Copy every member in declaration order.
virtual void Load(IBStream *pStream)
Read the settings back from a stream.
int mPlayMode
Definition gameparams.h:164
int mLoadingGame
Set while a saved game is loading, labelled loadinggame= by Print().
Definition gameparams.h:186
virtual void Save(OBStream *pStream) const
Write the settings to a stream.
HxStr mLevelName
The level the session plays.
Definition gameparams.h:147
void Print(std::ostream &stream) const
Write the settings to a diagnostic stream on one line, ending it with a newline.
int mDifficulty
Definition gameparams.h:165
int mNetGame
Written by GameManagerImpl::SetGameMode() as the test for net, 0 or 1, and labelled netgame= by Print...
Definition gameparams.h:178
int mJukeboxMode
Set for a jukebox session.
Definition gameparams.h:195
virtual ~GameParams()
Release the three strings.
HxStr mArenaName
The arena the session plays in.
Definition gameparams.h:154
bool operator==(const GameParams &other) const
Compare every member except mUnsavedString with another instance, the set operator=() copies.
GameParams()
Start with every member clear.
GameParams & operator=(const GameParams &other)
Copy every member except mUnsavedString from another instance.
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Input half of the byte stream interface.
Definition ibstream.h:36
Output half of the byte stream interface.
Definition obstream.h:25
void SetDoWinSequence(int nDoWinSequence)
Enable or disable the win sequence.
int GetDoWinSequence()
Report whether a won game plays the win sequence.