mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
1a1be7a393
## 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)
15 lines
337 B
C++
15 lines
337 B
C++
#pragma once
|
|
|
|
#include <atomic>
|
|
|
|
namespace games::rb {
|
|
extern std::atomic_bool TOUCH_DEBUG_OVERLAY;
|
|
|
|
bool touch_debug_overlay_enabled();
|
|
void touch_draw_debug_overlay();
|
|
|
|
void touch_debug_attach();
|
|
void touch_debug_detach();
|
|
void touch_debug_publish(const unsigned char *data, bool is_landscape);
|
|
}
|