2015-07-26 21:39:49 +00:00
|
|
|
#ifndef CSCAN_H
|
|
|
|
#define CSCAN_H
|
|
|
|
|
|
|
|
#include "CResource.h"
|
|
|
|
#include "CStringTable.h"
|
2015-07-28 05:47:48 +00:00
|
|
|
#include "EFormatVersion.h"
|
2015-12-13 20:52:17 +00:00
|
|
|
#include <Core/TResPtr.h>
|
2015-07-26 21:39:49 +00:00
|
|
|
|
|
|
|
class CScan : public CResource
|
|
|
|
{
|
|
|
|
friend class CScanLoader;
|
|
|
|
|
|
|
|
public:
|
|
|
|
// This likely needs revising when MP2/MP3 support is added
|
|
|
|
enum ELogbookCategory
|
|
|
|
{
|
|
|
|
eNone,
|
|
|
|
ePirateData,
|
|
|
|
eChozoLore,
|
|
|
|
eCreatures,
|
|
|
|
eResearch
|
|
|
|
};
|
|
|
|
|
|
|
|
private:
|
2015-07-28 05:47:48 +00:00
|
|
|
EGame mVersion;
|
2015-12-13 20:52:17 +00:00
|
|
|
TResPtr<CResource> mpFrame;
|
|
|
|
TResPtr<CStringTable> mpStringTable;
|
2015-07-26 21:39:49 +00:00
|
|
|
bool mIsSlow;
|
|
|
|
bool mIsImportant;
|
|
|
|
ELogbookCategory mCategory;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScan();
|
|
|
|
~CScan();
|
|
|
|
EResType Type();
|
2015-07-28 05:47:48 +00:00
|
|
|
EGame Version();
|
2015-07-26 21:39:49 +00:00
|
|
|
CStringTable* ScanText();
|
|
|
|
bool IsImportant();
|
|
|
|
bool IsSlow();
|
|
|
|
ELogbookCategory LogbookCategory();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CSCAN_H
|