resonance 1.0.1
Loading...
Searching...
No Matches
skillstats.h
Go to the documentation of this file.
1#pragma once
2
3#include "stream/ibstream.h"
4#include "stream/obstream.h"
5
27public:
37 }
38
43 virtual ~SkillStats();
44
56 virtual void Save(OBStream &stream);
57
69 virtual void Load(IBStream &stream);
70
80 void Clear();
81
91};
92
103extern int g_nStatsRecordVersion;
Input half of the byte stream interface.
Definition ibstream.h:36
Output half of the byte stream interface.
Definition obstream.h:25
virtual void Load(IBStream &stream)
Read this record.
SkillStats()
Construct a record with no defined contents.
Definition skillstats.h:36
int mHighScore
The best score at this difficulty.
Definition skillstats.h:90
virtual void Save(OBStream &stream)
Write this record.
void Clear()
Zero both members, the high score first.
int mBeaten
Non-zero once the level is beaten at this difficulty.
Definition skillstats.h:86
virtual ~SkillStats()
int g_nStatsRecordVersion
Version of the statistics record currently being read.