summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-07-11 17:29:18 -0700
committerTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-07-11 17:29:18 -0700
commit47d10c9546d745156f96a02491e26f4eed3cfbd8 (patch)
tree52ec0d607d76f810de7d174406bcb2780428ed2a
parentc8f7cf07d49a494d76fd4978fda21e0eece2e416 (diff)
format
-rw-r--r--src/free_cam.cpp2
-rw-r--r--src/menus/item_wheel_menu.cpp4
-rw-r--r--src/movelink.cpp3
3 files changed, 5 insertions, 4 deletions
diff --git a/src/free_cam.cpp b/src/free_cam.cpp
index 324c31c..6f7f327 100644
--- a/src/free_cam.cpp
+++ b/src/free_cam.cpp
@@ -29,7 +29,7 @@ double yaw = 0.0;
#define CONTROL_Y ((tp_mPad.mHoldButton & CButton::C) == 0 ? tp_mPad.stick.y * 0x48 : 0)
#define CONTROL_X ((tp_mPad.mHoldButton & CButton::C) == 0 ? -tp_mPad.stick.x * 0x48 : 0)
#define VERTICAL_DISPLACEMENT \
- ((tp_mPad.mHoldButton & CButton::DPAD_UP ? 75 : 0) - \
+ ((tp_mPad.mHoldButton & CButton::DPAD_UP ? 75 : 0) - \
(tp_mPad.mHoldButton & CButton::DPAD_DOWN ? 75 : 0))
#define SPEED_PREDICATE (tp_mPad.mHoldButton & CButton::Z)
#define PITCH_CONTROL ((tp_mPad.mHoldButton & CButton::C) != 0 ? tp_mPad.stick.y * 0x3B : 0)
diff --git a/src/menus/item_wheel_menu.cpp b/src/menus/item_wheel_menu.cpp
index db95ca2..c4ffb99 100644
--- a/src/menus/item_wheel_menu.cpp
+++ b/src/menus/item_wheel_menu.cpp
@@ -198,8 +198,8 @@ void ItemWheelMenu::draw() {
if (l_lookupTbl[j].item_id == l_defaultItems[slot_no]) {
tp_sprintf(lines[slot_no].description,
- "Slot %d default: %s. Press " DEFAULT_BTN_TXT " to set to default", slot_no,
- l_lookupTbl[j].name);
+ "Slot %d default: %s. Press " DEFAULT_BTN_TXT " to set to default",
+ slot_no, l_lookupTbl[j].name);
} else {
continue;
}
diff --git a/src/movelink.cpp b/src/movelink.cpp
index 53faca3..d6c464e 100644
--- a/src/movelink.cpp
+++ b/src/movelink.cpp
@@ -23,7 +23,8 @@
#define CONTROL_Y ((tp_mPad.mHoldButton & CButton::C) == 0 ? tp_mPad.stick.y * 72 : 0)
#define CONTROL_X ((tp_mPad.mHoldButton & CButton::C) == 0 ? -tp_mPad.stick.x * 72 : 0)
#define VERTICAL_DISPLACEMENT ((tp_mPad.mHoldButton & CButton::C) != 0 ? tp_mPad.stick.y * 59 : 0)
-#define HORIZONTAL_DISPLACEMENT ((tp_mPad.mHoldButton & CButton::C) != 0 ? -tp_mPad.stick.x * 59 : 0)
+#define HORIZONTAL_DISPLACEMENT \
+ ((tp_mPad.mHoldButton & CButton::C) != 0 ? -tp_mPad.stick.x * 59 : 0)
#define SPEED_PREDICATE (tp_mPad.mHoldButton & CButton::Z)
#endif