mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 17:35:43 +00:00
Initial commit of current work on Prime World Editor
This commit is contained in:
42
Resource/CScan.h
Normal file
42
Resource/CScan.h
Normal file
@@ -0,0 +1,42 @@
|
||||
#ifndef CSCAN_H
|
||||
#define CSCAN_H
|
||||
|
||||
#include "CResource.h"
|
||||
#include "CStringTable.h"
|
||||
#include <Core/CToken.h>
|
||||
|
||||
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:
|
||||
CResource *mpFrame;
|
||||
CStringTable *mpStringTable;
|
||||
CToken mFrameToken;
|
||||
CToken mStringToken;
|
||||
bool mIsSlow;
|
||||
bool mIsImportant;
|
||||
ELogbookCategory mCategory;
|
||||
|
||||
public:
|
||||
CScan();
|
||||
~CScan();
|
||||
EResType Type();
|
||||
CStringTable* ScanText();
|
||||
bool IsImportant();
|
||||
bool IsSlow();
|
||||
ELogbookCategory LogbookCategory();
|
||||
};
|
||||
|
||||
#endif // CSCAN_H
|
||||
Reference in New Issue
Block a user