changed how the tutorial detects mouse input for the first task

This commit is contained in:
swedishsplidney
2026-03-16 19:21:57 -06:00
parent f88a211c08
commit 59c6cfa514
2 changed files with 61 additions and 58 deletions

View File

@@ -14,6 +14,11 @@ private:
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[]=NULL, int iCompletionMaskACount=0, int iSouthpawMappings[]=NULL, unsigned int uiSouthpawMappingsCount=0);