Skip to content

Commit

Permalink
GameOptionsTrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Prevter committed Aug 1, 2024
1 parent d981d63 commit 7908fa9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
17 changes: 16 additions & 1 deletion bindings/2.206/GeometryDash.bro
Original file line number Diff line number Diff line change
Expand Up @@ -6476,6 +6476,21 @@ class GameOptionsTrigger : EffectGameObject {

virtual void customObjectSetup(gd::vector<gd::string>&, gd::vector<void*>&) = m1 0x16a8a0, imac 0x1aba30;
virtual gd::string getSaveString(GJBaseGameLayer*) = m1 0x169058, imac 0x1a9b50;

GameOptionsSetting m_streakAdditive;
GameOptionsSetting m_unlinkDualGravity;
GameOptionsSetting m_hideGround;
GameOptionsSetting m_hideP1;
GameOptionsSetting m_hideP2;
GameOptionsSetting m_disableP1Controls;
GameOptionsSetting m_disableP2Controls;
GameOptionsSetting m_hideMG;
GameOptionsSetting m_hideAttempts;
GameOptionsSetting m_editRespawnTime;
float m_respawnTime;
GameOptionsSetting m_audioOnDeath;
GameOptionsSetting m_noDeathSFX;
GameOptionsSetting m_boostSlide;
}

[[link(android)]]
Expand Down Expand Up @@ -7321,7 +7336,7 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
TodoReturn processItems() = ios 0x1f42a4;
void processMoveActions() = win 0x21ddb0;
void processMoveActionsStep(float, bool) = win 0x21bde0;
TodoReturn processOptionsTrigger(GameOptionsTrigger*);
void processOptionsTrigger(GameOptionsTrigger*) = win 0x214540, imac 0x1316f0, m1 0x10976c;
void processPlayerFollowActions(float) = win 0x21e6d0;
void processQueuedAudioTriggers() = win 0x22ac10;
void processQueuedButtons() = win 0x221f00, imac 0x13fbc0, m1 0x114e04;
Expand Down
7 changes: 7 additions & 0 deletions bindings/include/Geode/Enums.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,3 +888,10 @@ enum class ShipStreak {
ShipFire5 = 5,
ShipFire6 = 6,
};

// Geode Addition
enum class GameOptionsSetting {
Off = -1,
Disabled = 0,
On = 1,
};

0 comments on commit 7908fa9

Please sign in to comment.