mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -05:00
b7da6c2f2b
Squashed commit of the following:
commit 3abd7446b94391ed5c6b6b69674bc822b39719fb
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 20:25:48 2023 +0200
add levelbrowserlayer oninfo
commit 55fdc5bdda1eb861b551e953e9d0327edda64a85
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 19:14:18 2023 +0200
remove CCHttpRequest (it didnt work)
commit 6c167b4884feedf023183c4cf8f76b623239e97d
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 18:41:48 2023 +0200
Revert "test cchttprequest ctor if it fixes stuff lol"
This reverts commit 4d4521428e9270f2ad2e2a0af0a6eec9b6c68cfa.
commit 4d4521428e9270f2ad2e2a0af0a6eec9b6c68cfa
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 18:40:04 2023 +0200
test cchttprequest ctor if it fixes stuff lol
commit 1be9bb049cac592303118e1983df3c2d79569861
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 10:43:33 2023 +0200
fix swapped funcs
commit 10d4cf9919ed350851d8c582ea36be6e06035a8a
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 10:38:43 2023 +0200
fix dailylevelpage
commit b244c7d6acfb4118ba114726ac3429f16be51929
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 02:04:10 2023 +0200
idk
commit 7d092602a49779f9d98212a3b3659a1a813e9bcb
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 02:01:20 2023 +0200
maybe this will align properly?
commit 74317d4174e61e67bfb9bdfb573246391d255e78
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 01:55:07 2023 +0200
im tired
commit a28471e888a27661637fc8c36acf90152f87cf45
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 01:51:33 2023 +0200
try fix gdbro
commit 3b28cf7f85f70ddc8fc9c5bb5297ba731ab0ce2a
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 01:47:42 2023 +0200
try fix glm
commit db947db4966f6624bcad4c43e3f45993b425a681
Author: Cvolton <cvolton@cvolton.eu>
Date: Fri Aug 25 01:10:02 2023 +0200
add LevelBrowserLayer::setupPageInfo
commit 111ecc83582e38a16daffdcb0c436df789b8abb5
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 23:49:22 2023 +0200
add gjscorecell updatebgcolor
commit ff84c6f1e52ab2f825f458348e71fdcae21fefbc
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 23:30:13 2023 +0200
add callable levelcell updatebgcolor
commit 31c15d3a0bc95367a18b9758a6591c5317dd3879
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 23:16:08 2023 +0200
add more glm checks
commit b2a1e9febe8938c17682bac2568ba7c25a0222d1
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 23:13:18 2023 +0200
realign glm
commit 4fcb46f531ef616d0ce4cfd4dd86ff3b72a57484
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 22:29:30 2023 +0200
add windows pad for mac only pad
commit 9be86a63e0dbd0156716243b7be1db73a2695031
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 22:26:02 2023 +0200
add mac only pad
commit bb754f72956ca49b834e05f9f8f63cab0588f4c1
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 22:14:02 2023 +0200
fix glm on mac
commit c34b7086cad507f54d1d90df410debe833810459
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 22:10:19 2023 +0200
replace unk strs in glm with pads
commit e9def523766ef8f0ab4d1dc69abfcbc86a8946f9
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:55:46 2023 +0200
add glm dict offsets on mac
commit 1216c2fdfe670c16a13ec9861867cec87b054b83
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:43:47 2023 +0200
Fix DailyLevelPage::init
commit 97f12c1997a5d906ded40337f552faf2b690f38b
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:20:00 2023 +0200
fix windows offset for m_weekly
commit 9d3198b6d174976c5f70e1b5dfd92428572467d0
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:14:58 2023 +0200
fix mac offset for m_weekly
commit dfbf8243bb2819fb980ebf312213d88e48394ea7
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:13:55 2023 +0200
add GJDailyLevelDelegate
commit fc589eea2e9bb81f5b70e04245c1d27ce0a17d72
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:10:34 2023 +0200
improve DailyLevelPage
commit 80347e72ce5b7fec3168888cfcbd207a78c443f3
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 21:04:29 2023 +0200
add member check for m_weekly
commit 55236908817daebd57f5d5ac8a3ce882e61254c9
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 20:56:29 2023 +0200
add more mac members to test
commit 9f3e299755dcad413092d07a7e634eb7edac1bad
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 20:19:16 2023 +0200
try increase gsm pad
commit a492c180be667a80117dcf5c910b2f231ec35cb4
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 20:11:14 2023 +0200
add gsm checks
commit fe94e6a3e5c3a9b1be8e27ac545f7ccddaa953ef
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 17:25:38 2023 +0200
test
commit c641cb87f11a4c9c7fd1b181ba338411999412a3
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 17:20:41 2023 +0200
revert the previous thing
commit 3cf35829210aa974a6634bb7d830a666fe28804a
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 17:11:42 2023 +0200
try fix glm
commit e9c5c86d49558998630256989ac6c30d590701c6
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 16:05:52 2023 +0200
fix setDictForKey
commit 934e02a75d6d2133315900f838efca9c8f4853dc
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 16:04:54 2023 +0200
fix cchttpclient::send
commit 17565121a27d10d2f3a1a78e4e1085fbae7190fa
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 16:00:18 2023 +0200
add some mising cocos funcs
commit 1833c9be2a1f2d3372b9b92e0e51aed64d7ccb3f
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 15:18:20 2023 +0200
add GManager::setup
commit 9699c4dfcf3ee569518b1bfeac85d381fdad2fc0
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 14:58:11 2023 +0200
add glm::2CD6F0
commit a04801153393b4b14b20ef4fe546daca5b4236b9
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 14:41:08 2023 +0200
add mac gjuserscore::create(ccdict*)
commit 3b37ea7999c131b609573a0b8228ff120967a3c3
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 14:32:31 2023 +0200
inline ctor for gjuserscore
commit 57509dc97d9955c15cf0c584ba9cb38d4497e125
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 14:13:53 2023 +0200
add gjsearchobject
commit 9e9ce9d668affe98d28cc3aac92e182c9acd4395
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 14:09:15 2023 +0200
fix LevelCell
commit ca7f12633aa02eeefe0db771d5cb619fd858fb2e
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 14:03:05 2023 +0200
add 2C5920
commit fc77474e15e70b7db9ef2a2b2b1803bfe5f48746
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 13:49:16 2023 +0200
add missing gjscorecell funcs
commit 79b1df35fb203d3f139147a8496b77dcb3c73f9e
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 13:15:34 2023 +0200
add gjgamelevel::getunpackedleveldesc
commit 4a9f6d24e1bfbf084b1e79baacd9b4f4476b1d68
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 13:12:32 2023 +0200
add statscell:updatebgcolor
commit 245ad705ef26b5d4035553468e0f61807ecc194c
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 13:07:14 2023 +0200
add more missing gsm funcs
commit 203fc0a9ed6f56818c9048a312f3740299898e19
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 12:52:06 2023 +0200
add missing profilepage mac addresses
commit cc3fd5761c68e8badebd1338cba186b7a25b4287
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 12:40:41 2023 +0200
fix parts of profilepage
commit 99e585bce1bb1da54c3e1b87ae43717911a0b929
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 11:46:13 2023 +0200
add levelpage
commit baffedc8c0b84fd8d4de0c495d2fc727ef22768d
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 11:32:15 2023 +0200
fix FLAlertLayer::onClose
commit 33d0b856e51665083905cc1a4cd39c60ba2c7d85
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 11:18:14 2023 +0200
fix levelleaderboard for mac
commit edc9da076f9cf655a34b2b0e67a4182ae076cd71
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 11:04:40 2023 +0200
update levelbrowserlayer
commit ec9b75d7cb24ff482d01f9e85b0751a310cfc860
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 11:00:15 2023 +0200
add leaderboardslayer::create
commit efbac386fbdc8d0641dc470166657eeef96888c6
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 10:53:38 2023 +0200
add missing infolayer funcs
commit 50f542e0a2d456b9ff6ba7e350566d7738466b42
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 10:43:40 2023 +0200
add a few more missing glm funcs
commit 75eff6e31b5c9cd6071549e8c0251afc21609c74
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 10:17:52 2023 +0200
add missing glm stuff
commit 1009d11bdbe763b434b3382387b468be4cfd9b1c
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 09:58:11 2023 +0200
add some GSM funcs
commit fe9a539b27171636acd9d5ae2b82bdf628b9a552
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 03:32:47 2023 +0200
add offset for dailylevelpage
commit 9f75a8d3b288a66fc80e0645188ff2fdbb8b7751
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 03:19:24 2023 +0200
assume pads for glm
commit 7ec9ebd21f3fc9477f76bf6be4922a3f8bae6ddd
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 03:09:10 2023 +0200
add dailypage updatetimers
commit 9a6e6b5c17e9f8f4ee7719ba3aaf2ce678a66a80
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 03:00:06 2023 +0200
add creatorlayer stuff
commit cf2f3e9fd2f71d3f24f9d712a9003a96342e61ea
Author: Cvolton <cvolton@cvolton.eu>
Date: Thu Aug 24 02:51:32 2023 +0200
add commentcell virtuals
commit c9f82ddc4c
Author: Cvolton <cvolton@cvolton.eu>
Date: Wed Aug 23 00:11:38 2023 +0200
add some missing functions to PlayLayer
98 lines
3.7 KiB
C++
98 lines
3.7 KiB
C++
#include "Common.hpp"
|
|
|
|
#ifdef GEODE_IS_MACOS
|
|
|
|
// PlayerObject
|
|
GEODE_MEMBER_CHECK(PlayerObject, m_collisionLog, 0x518);
|
|
GEODE_MEMBER_CHECK(PlayerObject, m_particleSystems, 0x590);
|
|
GEODE_MEMBER_CHECK(PlayerObject, m_waveTrail, 0x600);
|
|
GEODE_MEMBER_CHECK(PlayerObject, m_objectSnappedTo, 0x690);
|
|
GEODE_MEMBER_CHECK(PlayerObject, m_playerColor1, 0x7c2);
|
|
|
|
// EditorUI
|
|
GEODE_MEMBER_CHECK(EditorUI, m_buttonBar, 0x1a0);
|
|
GEODE_MEMBER_CHECK(EditorUI, m_scaleControl, 0x208);
|
|
GEODE_MEMBER_CHECK(EditorUI, m_swipeEnabled, 0x23c);
|
|
GEODE_MEMBER_CHECK(EditorUI, m_updateTimeMarkers, 0x244);
|
|
GEODE_MEMBER_CHECK(EditorUI, m_selectedObjects, 0x260);
|
|
GEODE_MEMBER_CHECK(EditorUI, m_selectedObject, 0x440);
|
|
|
|
// LevelEditorLayer
|
|
GEODE_MEMBER_CHECK(LevelEditorLayer, m_editorUI, 0x5d8);
|
|
GEODE_MEMBER_CHECK(LevelEditorLayer, m_level, 0x618);
|
|
|
|
// PlayLayer
|
|
GEODE_MEMBER_CHECK(PlayLayer, unknown518, 0x518);
|
|
GEODE_MEMBER_CHECK(PlayLayer, unknown5f4, 0x5f4);
|
|
GEODE_MEMBER_CHECK(PlayLayer, unknown680, 0x680);
|
|
GEODE_MEMBER_CHECK(PlayLayer, m_replayInputs, 0x6a8);
|
|
GEODE_MEMBER_CHECK(PlayLayer, m_level, 0x728);
|
|
GEODE_MEMBER_CHECK(PlayLayer, m_shouldTryToKick, 0x7a8);
|
|
|
|
// GameManager
|
|
GEODE_MEMBER_CHECK(GameManager, m_playLayer, 0x180);
|
|
GEODE_MEMBER_CHECK(GameManager, m_levelEditorLayer, 0x188);
|
|
GEODE_MEMBER_CHECK(GameManager, m_menuLayer, 0x198);
|
|
GEODE_MEMBER_CHECK(GameManager, m_playerUDID, 0x1b8);
|
|
GEODE_MEMBER_CHECK(GameManager, m_playerUserID, 0x1cc);
|
|
GEODE_MEMBER_CHECK(GameManager, m_playerFrame, 0x200);
|
|
GEODE_MEMBER_CHECK(GameManager, m_clickedGarage, 0x2a2); // todo: find why this is not 0x2a2
|
|
|
|
// GameObject
|
|
GEODE_MEMBER_CHECK(GameObject, m_baseColorID, 0x27c);
|
|
GEODE_MEMBER_CHECK(GameObject, m_detailColorID, 0x280);
|
|
GEODE_MEMBER_CHECK(GameObject, m_active, 0x2e5);
|
|
GEODE_MEMBER_CHECK(GameObject, m_baseSprite, 0x348);
|
|
GEODE_MEMBER_CHECK(GameObject, m_startPosition, 0x37c);
|
|
GEODE_MEMBER_CHECK(GameObject, m_baseColor, 0x410);
|
|
GEODE_MEMBER_CHECK(GameObject, m_groups, 0x458);
|
|
GEODE_MEMBER_CHECK(GameObject, m_effectManager, 0x4d8);
|
|
|
|
// EffectGameObject
|
|
GEODE_MEMBER_CHECK(EffectGameObject, m_duration, 0x4f0);
|
|
GEODE_MEMBER_CHECK(EffectGameObject, m_followMod, 0x530);
|
|
GEODE_MEMBER_CHECK(EffectGameObject, m_hsvValue, 0x560);
|
|
GEODE_MEMBER_CHECK(EffectGameObject, m_spawnDelay, 0x588);
|
|
GEODE_MEMBER_CHECK(EffectGameObject, m_itemBlockAID, 0x5b0);
|
|
|
|
// TeleportPortalObject
|
|
GEODE_MEMBER_CHECK(TeleportPortalObject, m_orangePortal, 0x4f8);
|
|
|
|
// StartPosObject
|
|
GEODE_MEMBER_CHECK(StartPosObject, m_levelSettings, 0x5e0);
|
|
|
|
// SetupPulsePopup
|
|
GEODE_MEMBER_CHECK(SetupPulsePopup, m_currentColorSpr, 0x2d0);
|
|
GEODE_MEMBER_CHECK(SetupPulsePopup, m_pulseMode, 0x38c);
|
|
|
|
// ColorSelectPopup
|
|
GEODE_MEMBER_CHECK(ColorSelectPopup, m_copyColor, 0x372);
|
|
|
|
// LevelInfoLayer
|
|
GEODE_MEMBER_CHECK(LevelInfoLayer, m_level, 0x1c0);
|
|
|
|
// LevelBrowserLayer
|
|
GEODE_MEMBER_CHECK(LevelBrowserLayer, m_rightArrow, 0x1a8);
|
|
GEODE_MEMBER_CHECK(LevelBrowserLayer, m_leftArrow, 0x1b0);
|
|
GEODE_MEMBER_CHECK(LevelBrowserLayer, m_searchObject, 0x1d8);
|
|
GEODE_MEMBER_CHECK(LevelBrowserLayer, m_itemCount, 0x208);
|
|
|
|
// LocalLevelManager
|
|
GEODE_MEMBER_CHECK(LocalLevelManager, m_localLevels, 0x140);
|
|
|
|
// GameStatsManager
|
|
GEODE_MEMBER_CHECK(GameStatsManager, m_dailyChests, 0x170);
|
|
GEODE_MEMBER_CHECK(GameStatsManager, m_completedLevels, 0x200);
|
|
GEODE_MEMBER_CHECK(GameStatsManager, m_weeklyChest, 0x278);
|
|
|
|
// DailyLevelPage
|
|
GEODE_MEMBER_CHECK(DailyLevelPage, m_weekly, 0x291);
|
|
|
|
// GameLevelManager
|
|
GEODE_MEMBER_CHECK(GameLevelManager, m_weeklyID, 0x1a8);
|
|
GEODE_MEMBER_CHECK(GameLevelManager, m_gauntletLevels, 0x1b0);
|
|
GEODE_MEMBER_CHECK(GameLevelManager, m_timerDict, 0x1e8);
|
|
GEODE_MEMBER_CHECK(GameLevelManager, m_accountIDtoUserIDDict, 0x1f8);
|
|
GEODE_MEMBER_CHECK(GameLevelManager, m_userIDtoAccountIDDict, 0x200);
|
|
|
|
#endif
|