Skip to content

Commit

Permalink
oh yea, winapi.
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Dec 16, 2024
1 parent 1e23eeb commit de7f674
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/random_shit/menulayer_ruinify.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,11 @@ class $modify(MenuLayerExt, MenuLayer) {
get_rand_meme_button_menu_long_var_here_for_ever->setPosition({ 230.f, 6.f });
this->addChild(get_rand_meme_button_menu_long_var_here_for_ever);

auto gif = InstantGif::create("NX_vcjZmQ9w.gif");
gif->m_speed_mult = 1.241;

SetForegroundWindow(GetConsoleWindow());
freopen_s(reinterpret_cast<FILE**>(stdin), "CONIN$", "r", stdin);
std::cin >> gif->m_speed_mult;

if (gif) gif->setPosition(this->getContentSize() / 2);
if (gif) this->addChild(gif);
if (auto gif = InstantGif::create("NX_vcjZmQ9w.gif")) {
gif->m_speed_mult = 1.241;
gif->setPosition(this->getContentSize() / 2);
this->addChild(gif);
};

GameManager::get()->fadeInMusic("NX_vcjZmQ9w.mp1337");
GameManager::get()->fadeInMusic("NX_vcjZmQ9w.mp3");
Expand Down

0 comments on commit de7f674

Please sign in to comment.