mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
Make missimg members private, ifdef missing ids
This commit is contained in:
parent
175f488c23
commit
1d53ce7695
4 changed files with 13 additions and 1 deletions
|
@ -62,7 +62,7 @@ public:
|
|||
)GEN";
|
||||
|
||||
// requires: type, member_name, array
|
||||
char const* member_definition = R"GEN(/*make this private when android headers are done*/{public} {type} {member_name};{public}
|
||||
char const* member_definition = R"GEN( {private} {type} {member_name};{public}
|
||||
)GEN";
|
||||
|
||||
char const* pad_definition = R"GEN( GEODE_PAD({hardcode});
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <Geode/modify/EditorPauseLayer.hpp>
|
||||
|
||||
#if !defined(GEODE_IS_ANDROID)
|
||||
|
||||
using namespace geode::prelude;
|
||||
|
||||
// special class for this because making it a CCMenuItemToggler would be very UB
|
||||
|
@ -272,3 +274,5 @@ struct EditorPauseLayerIDs : Modify<EditorPauseLayerIDs, EditorPauseLayer> {
|
|||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
|
@ -4,6 +4,8 @@
|
|||
#include <Geode/modify/LevelBrowserLayer.hpp>
|
||||
#include <Geode/utils/cocos.hpp>
|
||||
|
||||
#if !defined(GEODE_IS_ANDROID)
|
||||
|
||||
using namespace geode::prelude;
|
||||
|
||||
$register_ids(LevelBrowserLayer) {
|
||||
|
@ -171,3 +173,5 @@ struct LevelBrowserLayerIDs : Modify<LevelBrowserLayerIDs, LevelBrowserLayer> {
|
|||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
|
@ -3,6 +3,8 @@
|
|||
#include <Geode/binding/LevelInfoLayer.hpp>
|
||||
#include <Geode/modify/LevelInfoLayer.hpp>
|
||||
|
||||
#if !defined(GEODE_IS_ANDROID)
|
||||
|
||||
$register_ids(LevelInfoLayer) {
|
||||
auto winSize = CCDirector::get()->getWinSize();
|
||||
|
||||
|
@ -135,3 +137,5 @@ struct LevelInfoLayerIDs : Modify<LevelInfoLayerIDs, LevelInfoLayer> {
|
|||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue