mirror of
https://github.com/zeldaret/st
synced 2026-08-08 18:43:27 -04:00
Misc Stuff 5 (#63)
* name item 31 to 34 * name item 25 to 29 * decompile PassengerManager (95%) * started cargo manager * local attribute * passenger/cargo manager ov001 functions * name item manager functions * fix build issues & more docs on 027e0cd8 * format
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#define BTN_A (1 << 0) // 0x0001
|
||||
#define BTN_B (1 << 1) // 0x0002
|
||||
#define BTN_A (1 << 0) // 0x0001
|
||||
#define BTN_B (1 << 1) // 0x0002
|
||||
#define BTN_SELECT (1 << 2) // 0x0004
|
||||
#define BTN_START (1 << 3) // 0x0008
|
||||
#define BTN_START (1 << 3) // 0x0008
|
||||
#define BTN_DRIGHT (1 << 4) // 0x0010
|
||||
#define BTN_DLEFT (1 << 5) // 0x0020
|
||||
#define BTN_DUP (1 << 6) // 0x0040
|
||||
#define BTN_DDOWN (1 << 7) // 0x0080
|
||||
#define BTN_R (1 << 8) // 0x0100
|
||||
#define BTN_L (1 << 9) // 0x0200
|
||||
#define BTN_X (1 << 10) // 0x0400
|
||||
#define BTN_Y (1 << 11) // 0x0800
|
||||
#define BTN_DLEFT (1 << 5) // 0x0020
|
||||
#define BTN_DUP (1 << 6) // 0x0040
|
||||
#define BTN_DDOWN (1 << 7) // 0x0080
|
||||
#define BTN_R (1 << 8) // 0x0100
|
||||
#define BTN_L (1 << 9) // 0x0200
|
||||
#define BTN_X (1 << 10) // 0x0400
|
||||
#define BTN_Y (1 << 11) // 0x0800
|
||||
|
||||
#define CHECK_BUTTON_COMBO(value, btn) ((value) & (btn))
|
||||
|
||||
|
||||
@@ -12,4 +12,4 @@ typedef struct OSContext {
|
||||
/* 0x44 */ char unk_40[0x20];
|
||||
} OSContext; // Size: 0x64
|
||||
|
||||
#endif // NITROSDK_OS_CONTEXT_H
|
||||
#endif // NITROSDK_OS_CONTEXT_H
|
||||
|
||||
Reference in New Issue
Block a user