mirror of
https://github.com/zeldaret/st
synced 2026-08-10 11:14:06 -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 "types.h"
|
||||
|
||||
#define BTN_A (1 << 0) // 0x0001
|
||||
#define BTN_B (1 << 1) // 0x0002
|
||||
#define BTN_SELECT (1 << 2) // 0x0004
|
||||
@@ -12,3 +14,14 @@
|
||||
#define BTN_L (1 << 9) // 0x0200
|
||||
|
||||
#define CHECK_BUTTON_COMBO(value, btn) ((value) & (btn))
|
||||
|
||||
struct Input {
|
||||
/* 00 */ u16 cur;
|
||||
/* 02 */ volatile u16 press;
|
||||
/* 04 */ u16 release;
|
||||
/* 06 */
|
||||
|
||||
Input();
|
||||
unk32 func_02013c08(u16 param1);
|
||||
unk32 func_02013b24(unk32 param1);
|
||||
};
|
||||
|
||||
@@ -48,8 +48,8 @@ struct Vec2b {
|
||||
|
||||
struct Vec2s {
|
||||
/* 0 */ s16 x;
|
||||
/* 1 */ s16 y;
|
||||
/* 2 */
|
||||
/* 2 */ s16 y;
|
||||
/* 4 */
|
||||
|
||||
Vec2s() {}
|
||||
Vec2s(s16 X, s16 Y) {
|
||||
|
||||
Reference in New Issue
Block a user