changed how the tutorial detects mouse input for the first task

This commit is contained in:
swedishsplidney committed 2026-03-16 19:21:57 -06:00
1 parent f88a211c08
commit 59c6cfa514
2 files changed
+61 -58

No files matched your search

@@ -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);