//
// LevelOptionsLayer2::setupOptions from 0x10017de30 to 0x10017e02c (508 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a2818
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelOptionsLayer2::setupOptions(LevelOptionsLayer2 *a1)
{
GJOptionsLayer::addToggle(
a1,
"Allow Multi-Rotation",
8,
a1->m_settingsObject->m_allowMultiRotation,
"Allows multiple rotation actions to run on the same target group. This was not possible before 2.2.");
GJOptionsLayer::addToggle(
a1,
"Enable 2.2 Changes",
17,
a1->m_settingsObject->m_enable22Changes,
"Legacy compatibility pre 2.2. Should be enabled on new levels.");
GJOptionsLayer::addToggle(
a1,
"Allow Static-Rotate",
18,
a1->m_settingsObject->m_allowStaticRotate,
"Allow rotating static objects in actions and animations. There is currently no support for rotating static objects o"
"ther than 90 degree steps, but use this option to allow it anyway. Hitboxes will not match the art. Can be useful in some cases.");
GJOptionsLayer::addToggle(
a1,
"Enable Player Squeeze",
9,
a1->m_settingsObject->m_enablePlayerSqueeze,
"Destroys player when squeezed between two objects. This is on by default but only for levels after update 2.2 for le"
"gacy reasons. Cannot be disabled for platformer levels.");
GJOptionsLayer::addToggle(
a1,
"Fix Gravity Bug",
10,
a1->m_settingsObject->m_fixGravityBug,
"Fixes an old bug that makes flipped gravity act differently than normal gravity. Old levels can break with this enabled.");
GJOptionsLayer::addToggle(
a1,
"Fix Negative Scale",
11,
a1->m_settingsObject->m_fixNegativeScale,
"Makes negative scaled objects collide correctly. Disabled on old levels for compatibility.");
GJOptionsLayer::addToggle(
a1,
"Fix Robot Jump",
12,
a1->m_settingsObject->m_fixRobotJump,
"Fixes robot jumps being bugged on slopes and/or pads.");
GJOptionsLayer::addToggle(
a1,
"Dynamic Level Height",
14,
a1->m_settingsObject->m_dynamicLevelHeight,
"Increases max level height dynamically (the same way as max length). This option is always enabled in platformer mode.");
GJOptionsLayer::addToggle(
a1,
"Sort Groups",
15,
a1->m_settingsObject->m_sortGroups,
"Makes sure that spawn groups are triggered in the correct order (left to right).");
GJOptionsLayer::addToggle(
a1,
"Fix Radius Collision",
16,
a1->m_settingsObject->m_fixRadiusCollision,
"Replaces the player hitbox with a circle (instead of a square) for interactions with circular hitboxes. This fixes s"
"ome issues where collisions would not register.");
GJOptionsLayer::addToggle(
a1,
"Reverse Sync",
19,
a1->m_settingsObject->m_reverseSync,
"Slows down or speeds up the player when reversing direction using orb or pads to keep music in sync.");
GJOptionsLayer::addToggle(
a1,
"Decrease Boost Slide",
22,
a1->m_settingsObject->m_decreaseBoostSlide,
"Slide less after dashing or being launched by moving blocks in platformer mode.");
if ( !a1->m_settingsObject->m_enableImpulseFix )
GJOptionsLayer::addToggle(a1, "Enable Impulse Fix", 23, 0, "Fix moving platform impulse bugs in platformer mode.");
}