Initial commit

This commit is contained in:
Your Name
2026-03-09 03:02:10 -05:00
commit 36b61c6b68
9 changed files with 10738 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
// ac6recomp - ReXGlue Recompiled Project
//
// This file is yours to edit. 'rexglue migrate' will NOT overwrite it.
// Customize your app by overriding virtual hooks from rex::ReXApp.
#pragma once
#include <rex/cvar.h>
#include <rex/rex_app.h>
REXCVAR_DECLARE(bool, vfetch_index_rounding_bias);
class Ac6recompApp : public rex::ReXApp {
public:
using rex::ReXApp::ReXApp;
static std::unique_ptr<rex::ui::WindowedApp> Create(
rex::ui::WindowedAppContext& ctx) {
return std::unique_ptr<Ac6recompApp>(new Ac6recompApp(ctx, "ac6recomp",
PPCImageConfig));
}
protected:
void OnPreSetup(rex::RuntimeConfig& config) override {
// Fix black triangles caused by vertex fetch index precision (RCP).
REXCVAR_SET(vfetch_index_rounding_bias, true);
}
// void OnPostSetup() override {}
// void OnCreateDialogs(rex::ui::ImGuiDrawer* drawer) override {}
// void OnShutdown() override {}
// void OnConfigurePaths(rex::PathConfig& paths) override {}
};
+10
View File
@@ -0,0 +1,10 @@
// ac6recomp - ReXGlue Recompiled Project
//
// This file is yours to edit. 'rexglue migrate' will NOT overwrite it.
#include "generated/ac6recomp_config.h"
#include "generated/ac6recomp_init.h"
#include "ac6recomp_app.h"
REX_DEFINE_APP(ac6recomp, Ac6recompApp::Create)