mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 21:06:06 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
// using namespace std;
|
||||
|
||||
#include "TutorialTask.h"
|
||||
|
||||
// 4J Stu - Tasks that involve using the controller
|
||||
class ControllerTask : public TutorialTask {
|
||||
private:
|
||||
std::unordered_map<int, bool> completedMappings;
|
||||
std::unordered_map<int, bool> southpawCompletedMappings;
|
||||
bool m_bHasSouthpaw;
|
||||
unsigned int m_uiCompletionMask;
|
||||
int* m_iCompletionMaskA;
|
||||
int m_iCompletionMaskACount;
|
||||
bool CompletionMaskIsValid();
|
||||
|
||||
// Mouse tracking for tutorial look-around task
|
||||
float m_lastYaw;
|
||||
float m_lastPitch;
|
||||
bool m_initialized = false;
|
||||
|
||||
public:
|
||||
ControllerTask(Tutorial* tutorial, int descriptionId,
|
||||
bool enablePreCompletion, bool showMinimumTime,
|
||||
int mappings[], unsigned int mappingsLength,
|
||||
int iCompletionMaskA[] = nullptr,
|
||||
int iCompletionMaskACount = 0,
|
||||
int iSouthpawMappings[] = nullptr,
|
||||
unsigned int uiSouthpawMappingsCount = 0);
|
||||
~ControllerTask();
|
||||
virtual bool isCompleted();
|
||||
virtual void setAsCurrentTask(bool active = true);
|
||||
};
|
||||
Reference in New Issue
Block a user