|
3 | 3 | #include <horrible/API.h> |
4 | 4 | #include <horrible/OptionalAPI.hpp> |
5 | 5 |
|
6 | | -#include <util/Cursor.hpp> |
7 | | -#include <util/Jumpscares.hpp> |
8 | | -#include <util/Options.hpp> |
9 | | -#include <util/Random.hpp> |
10 | | -#include <util/Themes.hpp> |
11 | | - |
12 | | -#include <util/ui/Captcha.hpp> |
13 | | -#include <util/ui/MathQuiz.hpp> |
14 | | -#include <util/ui/RandomAd.hpp> |
15 | | -#include <util/ui/SpamChallenge.hpp> |
16 | | -#include <util/ui/TermsAndConditions.hpp> |
17 | | -#include <util/ui/WhackButton.hpp> |
| 6 | +#include <util/Include.h> |
| 7 | +#include <util/Macros.h> |
18 | 8 |
|
19 | 9 | #include <cue/Util.hpp> |
20 | 10 | #include <cue/DropdownNode.hpp> |
|
30 | 20 |
|
31 | 21 | #include <Geode/binding/FMODAudioEngine.hpp> |
32 | 22 |
|
33 | | -#define HIGHEST_Z cocos2d::CCScene::get()->getHighestChildZ() + 1 |
34 | | - |
35 | | -#define HORRIBLE_MODIFY_EVENT_HANDLER(Base, Derived) \ |
36 | | - listenForHorribleOptionChanges( \ |
37 | | - THIS_ID, \ |
38 | | - [](HorribleOptionSave data) { \ |
39 | | - if (auto b = Base::get()) modify_cast<Derived*>(b)->setupHorribleInterface(data.enabled); \ |
40 | | - }) |
41 | | - |
42 | | -#define HORRIBLE_TOGGLE_MODIFY(Base, Derived) \ |
43 | | - $on_mod(Loaded) { \ |
44 | | - HORRIBLE_MODIFY_EVENT_HANDLER(Base, Derived); \ |
45 | | - } |
46 | | - |
47 | | -#define HORRIBLE_SETUP_INTERFACE_FUNC void setupHorribleInterface(bool on = true) |
48 | | - |
49 | 23 | // Additional utility methods for Horrible Menu |
50 | 24 | namespace horrible { |
51 | 25 | // Pointer to this Geode mod |
|
0 commit comments