Files
Loki Rautio 087b7e7abf Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.

This reverts commit a9be52c41a.
2026-03-07 21:12:22 -06:00

25 lines
534 B
C++

#pragma once
using namespace std;
#include "Tutorial.h"
#include "TutorialTask.h"
class ProgressFlagTask : public TutorialTask
{
public:
enum EProgressFlagType
{
e_Progress_Set_Flag,
e_Progress_Flag_On,
};
private:
char *flags; // Not a member of this object
char m_mask;
EProgressFlagType m_type;
public:
ProgressFlagTask(char *flags, char mask, EProgressFlagType type, Tutorial *tutorial ) :
TutorialTask(tutorial, -1, false, NULL ),
flags( flags ), m_mask( mask ), m_type( type )
{}
virtual bool isCompleted();
};