mirror of
https://github.com/zeldaret/ph
synced 2026-07-09 06:03:28 -04:00
Add TouchGesture
This commit is contained in:
@@ -1,3 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
struct TouchGesture;
|
||||
#include "global.h"
|
||||
#include "types.h"
|
||||
|
||||
#include "System/SysNew.hpp"
|
||||
|
||||
#define GESTURE_BUFFER_LENGTH 14
|
||||
|
||||
class TouchGestureBase : public SysObject {
|
||||
public:
|
||||
/* 0 (vtable) */
|
||||
/* 4 */ bool mUnk_4;
|
||||
/* 5 */
|
||||
|
||||
/* 00 */ virtual ~TouchGestureBase();
|
||||
/* 08 */ virtual void ResetTouchHistory();
|
||||
/* 0c */ virtual void Update(void *param1) = 0;
|
||||
/* 10 */
|
||||
};
|
||||
|
||||
class TouchGesture : public TouchGestureBase {
|
||||
public:
|
||||
/* 00 (base) */
|
||||
/* 05 */ unk8 mUnk_05[7];
|
||||
/* 0c */ u16 mIndex;
|
||||
/* 0e */ unk16 mUnk_0e;
|
||||
/* 10 */ u16 mUnk_10[GESTURE_BUFFER_LENGTH];
|
||||
/* 2c */ u16 mTouchX[GESTURE_BUFFER_LENGTH];
|
||||
/* 48 */ u16 mTouchY[GESTURE_BUFFER_LENGTH];
|
||||
/* 64 */
|
||||
|
||||
/* 00 */ virtual ~TouchGesture() override;
|
||||
/* 08 */ virtual void ResetTouchHistory() override;
|
||||
/* 0c */ virtual void Update(void *param1) override;
|
||||
/* 10 */
|
||||
|
||||
TouchGesture();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user