mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
add not working clipboard
This commit is contained in:
parent
2847beed8f
commit
9fa9284726
3 changed files with 19 additions and 9 deletions
|
@ -1502,10 +1502,10 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
|
||||||
|
|
||||||
bool m_isPlayingMusic;
|
bool m_isPlayingMusic;
|
||||||
EditButtonBar* m_buttonBar;
|
EditButtonBar* m_buttonBar;
|
||||||
PAD = mac 0x8, win 0x4;
|
PAD = mac 0x8, win 0x4, android 0x4;
|
||||||
cocos2d::CCArray* m_hideableUIElementArray;
|
cocos2d::CCArray* m_hideableUIElementArray;
|
||||||
float m_gridSize;
|
float m_gridSize;
|
||||||
PAD = mac 0x18, win 0x14;
|
PAD = mac 0x18, win 0x14, android 0x14;
|
||||||
bool m_moveModifier;
|
bool m_moveModifier;
|
||||||
bool m_swipeModifier;
|
bool m_swipeModifier;
|
||||||
int m_rotationTouchID;
|
int m_rotationTouchID;
|
||||||
|
@ -1579,7 +1579,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
|
||||||
CCMenuItemSpriteExtra* m_layerNextBtn;
|
CCMenuItemSpriteExtra* m_layerNextBtn;
|
||||||
CCMenuItemSpriteExtra* m_layerPrevBtn;
|
CCMenuItemSpriteExtra* m_layerPrevBtn;
|
||||||
CCMenuItemSpriteExtra* m_goToBaseBtn;
|
CCMenuItemSpriteExtra* m_goToBaseBtn;
|
||||||
PAD = mac 0x10, win 0x8;
|
PAD = mac 0x10, win 0x8, android 0x8;
|
||||||
int m_selectedCreateObjectID;
|
int m_selectedCreateObjectID;
|
||||||
cocos2d::CCArray* m_createButtonArray;
|
cocos2d::CCArray* m_createButtonArray;
|
||||||
cocos2d::CCArray* m_customObjectButtonArray;
|
cocos2d::CCArray* m_customObjectButtonArray;
|
||||||
|
@ -1588,16 +1588,16 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
|
||||||
LevelEditorLayer* m_editorLayer;
|
LevelEditorLayer* m_editorLayer;
|
||||||
cocos2d::CCPoint m_swipeStart;
|
cocos2d::CCPoint m_swipeStart;
|
||||||
cocos2d::CCPoint m_swipeEnd;
|
cocos2d::CCPoint m_swipeEnd;
|
||||||
PAD = mac 0x8, win 0x8;
|
PAD = mac 0x8, win 0x8, android 0x8;
|
||||||
cocos2d::CCPoint m_lastTouchPoint;
|
cocos2d::CCPoint m_lastTouchPoint;
|
||||||
cocos2d::CCPoint m_cameraTest;
|
cocos2d::CCPoint m_cameraTest;
|
||||||
PAD = mac 0x8, win 0x8;
|
PAD = mac 0x8, win 0x8, android 0x8;
|
||||||
GameObject* m_selectedObject;
|
GameObject* m_selectedObject;
|
||||||
PAD = mac 0x8, win 0x4;
|
PAD = mac 0x8, win 0x4, android 0x4;
|
||||||
bool m_unk2cc;
|
bool m_unk2cc;
|
||||||
bool m_freeMovingObject;
|
bool m_freeMovingObject;
|
||||||
gd::string m_clipboard;
|
gd::string m_clipboard;
|
||||||
PAD = mac 0x10, win 0x8;
|
PAD = mac 0x10, win 0x8, android 0x8;
|
||||||
int m_selectedTab;
|
int m_selectedTab;
|
||||||
int m_timesSelected;
|
int m_timesSelected;
|
||||||
PAD = win 0x20;
|
PAD = win 0x20;
|
||||||
|
@ -1704,7 +1704,7 @@ class EffectGameObject : GameObject {
|
||||||
bool m_dynamicBlock;
|
bool m_dynamicBlock;
|
||||||
int m_itemBlockAID;
|
int m_itemBlockAID;
|
||||||
int m_pickupMode;
|
int m_pickupMode;
|
||||||
PAD = mac 0x28, win 0x24;
|
PAD = mac 0x28, win 0x24, android 0x24;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[link(android)]]
|
[[link(android)]]
|
||||||
|
@ -5950,7 +5950,7 @@ class TableViewDelegate {
|
||||||
|
|
||||||
[[link(android)]]
|
[[link(android)]]
|
||||||
class TeleportPortalObject : GameObject {
|
class TeleportPortalObject : GameObject {
|
||||||
PAD = mac 0x8, win 0x4;
|
PAD = mac 0x8, win 0x4, android 0x4;
|
||||||
TeleportPortalObject* m_orangePortal;
|
TeleportPortalObject* m_orangePortal;
|
||||||
bool m_isYellowPortal;
|
bool m_isYellowPortal;
|
||||||
float m_teleportYOffset;
|
float m_teleportYOffset;
|
||||||
|
|
|
@ -9,6 +9,14 @@ using namespace geode::prelude;
|
||||||
#include <Geode/utils/web.hpp>
|
#include <Geode/utils/web.hpp>
|
||||||
#include <ghc/filesystem.hpp>
|
#include <ghc/filesystem.hpp>
|
||||||
|
|
||||||
|
bool utils::clipboard::write(std::string const& data) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string utils::clipboard::read() {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
ghc::filesystem::path dirs::getGameDir() {
|
ghc::filesystem::path dirs::getGameDir() {
|
||||||
return ghc::filesystem::path(
|
return ghc::filesystem::path(
|
||||||
"/storage/emulated/0/Android/data/com.geode.launcher/files/game"
|
"/storage/emulated/0/Android/data/com.geode.launcher/files/game"
|
||||||
|
|
|
@ -26,4 +26,6 @@ GEODE_MEMBER_CHECK(GameStatsManager, m_completedLevels, 0x164);
|
||||||
|
|
||||||
GEODE_MEMBER_CHECK(DailyLevelPage, m_weekly, 0x1ed);
|
GEODE_MEMBER_CHECK(DailyLevelPage, m_weekly, 0x1ed);
|
||||||
|
|
||||||
|
GEODE_MEMBER_CHECK(TeleportPortalObject, m_orangePortal, 0x430);
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in a new issue