Skip to content

Commit

Permalink
dont export for 60 fps only
Browse files Browse the repository at this point in the history
  • Loading branch information
ermaccer committed Dec 18, 2023
1 parent b18c5fd commit 7415640
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions I2Hook/plugin/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "..\gui\imgui\imgui.h"
#include "..\mk\PlayerInfo.h"

#ifndef _60_ONLY

bool I2HOOK_GetMenuActive()
{
return TheMenu->m_bIsActive;
Expand Down Expand Up @@ -83,3 +85,5 @@ bool I2HOOK_ImGui_CollapsingHeader(const char* label)
return ImGui::CollapsingHeader(label);
}


#endif
5 changes: 3 additions & 2 deletions I2Hook/plugin/API.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#include "..\mk\Engine.h"

#ifndef _60_ONLY
extern "C" {
__declspec(dllexport) bool I2HOOK_GetMenuActive();
__declspec(dllexport) MKCharacter* I2HOOK_GetCharacterObject(PLAYER_NUM id);
Expand All @@ -18,4 +18,5 @@ extern "C" {
__declspec(dllexport) void I2HOOK_ImGui_SetItemDefaultFocus();
__declspec(dllexport) void I2HOOK_ImGui_Separator();
__declspec(dllexport) bool I2HOOK_ImGui_CollapsingHeader(const char* label);
}
}
#endif

0 comments on commit 7415640

Please sign in to comment.