diff options
| author | Aetias <144526980+AetiasHax@users.noreply.github.com> | 2026-04-16 23:10:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-16 23:10:14 +0200 |
| commit | 38e9378f8f4bc465a09305e5021ead2eb89afb2b (patch) | |
| tree | cb0c3cad894ce4d2fd74d111c090f8ca9698bb99 /include/lib | |
| parent | 81f4540e6c2e4b80709f6837298b27929e6a4061 (diff) | |
Delink ActorShopItem.cpp (#147)
* Make types compatible with dsd-ghidra typesync
* Update actors.md
* Update docs
* Delink ActorShopItem.cpp
Diffstat (limited to 'include/lib')
| -rw-r--r-- | include/lib/touch.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/lib/touch.h b/include/lib/touch.h index e5848f5f..bf911845 100644 --- a/include/lib/touch.h +++ b/include/lib/touch.h @@ -3,20 +3,24 @@ #include "global.h" #include "types.h" -struct TouchStateFlags { +typedef struct TouchStateFlags { u16 touchX; u16 touchY; u16 touch; u16 flags; -}; +} TouchStateFlags; -struct TouchState { +typedef struct TouchState { bool touch; s32 touchX; s32 touchY; -}; +} TouchState; +#ifdef __cplusplus extern "C" { +#endif void WaitForTouchUpdate(u16 param1); bool GetTouchStateFlags(TouchStateFlags *pState); +#ifdef __cplusplus } +#endif |
