Initial commit of current work on Prime World Editor

This commit is contained in:
parax0
2015-07-26 17:39:49 -04:00
commit 66e8c2ebcb
305 changed files with 33469 additions and 0 deletions

42
Resource/CScan.h Normal file
View 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