remove hit+64 and put everything inside cheats

This commit is contained in:
Sonic Dreamcaster 2024-12-09 23:27:13 -03:00
parent 3a3f1a00f7
commit 537b25ab13

View File

@ -302,14 +302,9 @@ void DrawSettingsMenu(){
"##ExtraLatencyThreshold", "gExtraLatencyThreshold", 0, 360, "", 0, true, true, false);
UIWidgets::Tooltip("When Interpolation FPS setting is at least this threshold, add one frame of input lag (e.g. 16.6 ms for 60 FPS) in order to avoid jitter. This setting allows the CPU to work on one frame while GPU works on the previous frame.\nThis setting should be used when your computer is too slow to do CPU + GPU work in time.");
}
UIWidgets::CVarCheckbox("Disable Starfield interpolation", "gDisableStarsInterpolation", {
.tooltip = "Disable starfield interpolation to increase performance on slower CPUs"
});
UIWidgets::PaddedSeparator(true, true, 3.0f, 3.0f);
static std::unordered_map<Ship::WindowBackend, const char*> windowBackendNames = {
{ Ship::WindowBackend::FAST3D_DXGI_DX11, "DirectX" },
{ Ship::WindowBackend::FAST3D_SDL_OPENGL, "OpenGL"},
@ -464,13 +459,6 @@ void DrawCheatsMenu() {
UIWidgets::CVarCheckbox("Unbreakable Wings", "gUnbreakableWings");
UIWidgets::CVarCheckbox("Infinite Bombs", "gInfiniteBombs");
UIWidgets::CVarCheckbox("Hyper Laser", "gHyperLaser");
ImGui::EndMenu();
}
}
void DrawHit64Menu() {
if (UIWidgets::BeginMenu("Hit+64")) {
UIWidgets::CVarCheckbox("Self destruct button", "gHit64SelfDestruct", {
.tooltip = "Press Down on the D-PAD to instantly self destruct."
});
@ -535,6 +523,10 @@ void DrawDebugMenu() {
.tooltip = "Press L in the Expert Sound options to play sound effects from the game"
});
UIWidgets::CVarCheckbox("Disable Starfield interpolation", "gDisableStarsInterpolation", {
.tooltip = "Disable starfield interpolation to increase performance on slower CPUs"
});
UIWidgets::CVarCheckbox("Spawner Mod", "gSpawnerMod", {
.tooltip = "Spawn Scenery, Actors, Bosses, Sprites, Items, Effects and even Event Actors.\n"
"\n"
@ -624,8 +616,6 @@ void GameMenuBar::DrawElement() {
ImGui::SetCursorPosY(0.0f);
DrawHit64Menu();
ImGui::SetCursorPosY(0.0f);
DrawDebugMenu();