mirror of
https://github.com/zeldaret/st
synced 2026-08-04 09:09:03 -04:00
Match GameModeManager and nearby/related functions (#22)
* match GameModeManager and surroundings * add small comment about data_ov000_020b1e48 * minor fixes * overlay 0 gamemode stuff * tool hotfix
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Unknown/UnkStruct_02049b4c.hpp"
|
||||
#include "nitro/math.h"
|
||||
#include "types.h"
|
||||
|
||||
typedef u16 TouchFlags;
|
||||
@@ -13,14 +15,23 @@ enum TouchFlag_ {
|
||||
|
||||
class TouchControl {
|
||||
public:
|
||||
/* 00 */ u16 mUnk_00;
|
||||
/* 00 */ u16 mUnk_02;
|
||||
/* 04 */ unk32 mUnk_04;
|
||||
/* 08 */ unk32 mUnk_08;
|
||||
/* 0C */ unk32 mUnk_0C;
|
||||
/* 10 */ unk32 mUnk_10;
|
||||
/* 14 */ unk32 mUnk_14;
|
||||
/* 18 */ unk32 mUnk_18;
|
||||
/* 1C */ unk32 mUnk_1C;
|
||||
/* 00 */ u16 mSpeed;
|
||||
/* 02 */ u16 mTimeBetweenTouches; // gets set to mTimeSinceTouch when touching the screen
|
||||
/* 04 */ u16 mTimeSinceTouch; // increases by mSpeed every frame
|
||||
/* 06 */ unk16 mRepeatStart;
|
||||
/* 08 */ unk16 mRepeatLoop;
|
||||
// mRepeatTimer starts at mRepeatStart, decreases by mSpeed while touching the screen.
|
||||
// if equal to 0, mRepeatTimer gets set to mRepeatLoop and the Repeat flag is set
|
||||
/* 0A */ unk16 mRepeatTimer;
|
||||
/* 0C */ bool mTouch;
|
||||
/* 10 */ Vec2s mTouchPos;
|
||||
/* 14 */ bool mTouchPrev;
|
||||
/* 16 */ Vec2s mTouchPosPrev;
|
||||
/* 18 */ Vec2s mTouchPosLast;
|
||||
/* 1C */ Vec2s mTouchPosStart;
|
||||
/* 20 */ TouchFlags mFlags;
|
||||
/* 22 */
|
||||
|
||||
TouchControl();
|
||||
void func_02014478(UnkStruct_02049b4c *param1, unk32 param2);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user