mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
rb: touch debug overlay, tweak scaling (#801)
## Link to GitHub Issue or related Pull Request, if one exists n/a ## Description of change Similar to #797, draw an overlay to debug touch issues for reflec beat. For rb, we draw on the ImGui surface. Draw horizontal and vertical line for triggered sensors, and also a bounding box if scaling is in use. Make small tweaks to how scaling works. ## Testing Verified volzza 2 / reflesia / 1st game (landscape KBR)
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include "games/popn/popn.h"
|
||||
#include "games/qma/qma.h"
|
||||
#include "games/rb/rb.h"
|
||||
#include "games/rb/touch_debug.h"
|
||||
#include "games/rf3d/rf3d.h"
|
||||
#include "games/sc/sc.h"
|
||||
#include "games/scotto/scotto.h"
|
||||
@@ -1339,6 +1340,7 @@ int main_implementation(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// reflec beat touch emulation
|
||||
games::rb::TOUCH_DEBUG_OVERLAY = options[launcher::Options::RBTouchDebug].value_bool();
|
||||
if (options[launcher::Options::spice2x_RBTouchScale].is_active()) {
|
||||
games::rb::TOUCH_SCALING = options[launcher::Options::spice2x_RBTouchScale].value_uint32();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user