mirror of
https://github.com/sal063/AC6_recomp
synced 2026-06-25 02:02:10 -04:00
5bdc93d055
Run the native renderer every frame from AC6 present timing hooks with a visible runtime status overlay so migration progress is observable in-game. Also add a tracked CMake bootstrap include and migration mapping docs so fresh clones can configure before generated glue exists. Made-with: Cursor
30 lines
575 B
C++
30 lines
575 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include <rex/ui/imgui_dialog.h>
|
|
|
|
namespace rex::ui {
|
|
class ImGuiDrawer;
|
|
}
|
|
|
|
namespace ac6::graphics {
|
|
|
|
class NativeGraphicsStatusDialog final : public rex::ui::ImGuiDialog {
|
|
public:
|
|
explicit NativeGraphicsStatusDialog(rex::ui::ImGuiDrawer* imgui_drawer);
|
|
~NativeGraphicsStatusDialog();
|
|
|
|
void Show() { visible_ = true; }
|
|
void ToggleVisible() { visible_ = !visible_; }
|
|
bool IsVisible() const { return visible_; }
|
|
|
|
protected:
|
|
void OnDraw(ImGuiIO& io) override;
|
|
|
|
private:
|
|
bool visible_ = false;
|
|
};
|
|
|
|
} // namespace ac6::graphics
|