-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move Delay Frames to Configurable Option in Brawlback Pane of Config #53
Comments
https://github.com/Brawlback-Team/dolphin/blob/master/Source/Core/DolphinQt/Settings/BrawlbackPane.cpp line 91, the object in question is &BrawlbackPane:SaveSettings, which is line 133. It uses an SConfig to hold state of the settings, a good alternative example of which is on https://github.com/Brawlback-Team/dolphin/blob/master/Source/Core/DolphinQt/Settings/GeneralPane.cpp line 341. BrawlbackConstants.h is imported by two files in dolphin,
dolphin/Source/Core/DolphinLib.vcxproj Line 98 in b3a62b2
Looks like what's needed is the FRAME_DELAY constant from BrawlbackConstants.h which is used by
|
https://github.com/Brawlback-Team/dolphin/blob/b3a62b2af6d955f0b3d3bafe669ca637707c2ce6/Source/Core/Core/ConfigManager.h is where SConfig is AND in ConfigManager.h line 64 it explicitly sets the delay to 2 |
I think what I'm getting from ConfigManager.h is that referenceds to the frame delay are accessed like so
and need to remember to change the default m_delayFrames in ConfigManager.h, but I think that's it |
#58 PR |
There is currently a constant in brawlback-common/BrawlbackConstants.h that defines the amount of delay. I need this to be moved to an option configurable in the Brawlback config menu. The UI element is already there, I just need it to actually impact the amount of delay in the match. Default should be changed to 1.
Note: There is a separate issue for setting this in the game, do not worry about that. This is simply for hooking up the UI element to replace the constant.
The text was updated successfully, but these errors were encountered: