Commit graph

1432 commits

Author SHA1 Message Date
altalk23
196ab7bb19 fix erase and rebalance 2023-08-27 19:44:29 +03:00
altalk23
824614e704 add macos map operator[] 2023-08-27 19:40:49 +03:00
altalk23
d6ef0a9650 Merge branch '1.2.0-dev' of https://github.com/geode-sdk/geode into 1.2.0-dev 2023-08-27 19:36:11 +03:00
altalk23
a7181ebba8 fix objc/runtime include 2023-08-27 19:35:50 +03:00
altalk23
db02c3dd1a macos map add things 2023-08-27 19:34:33 +03:00
altalk23
7836e60b86 Merge branch 'main' into 1.2.0-dev 2023-08-27 19:16:32 +03:00
matcool
9875f5d597
improve lag because of cc_2x2_white_image 2023-08-27 11:23:36 -03:00
matcool
8b9860be5b
fix addresser for some cocos funcs 2023-08-27 11:10:43 -03:00
Cvolton
b7da6c2f2b Add required bindings for cvolton.betterinfo
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
2023-08-25 21:40:02 +02:00
ConfiG
d27be5a633
Merge remote-tracking branch 'origin/main' into 1.2.0-dev 2023-08-23 19:43:52 +03:00
mat
d6710315c2
fix macos test 2023-08-23 12:48:12 -03:00
ConfiG
32f7610ab6
Merge branch 'main' into 1.2.0-dev 2023-08-23 18:20:34 +03:00
alk
e639ff3182
Update crashlog.mm 2023-08-22 16:09:43 +03:00
altalk23
0b2cfcce00 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-22 14:55:36 +03:00
altalk23
a7e2ece0ca fix m_updateTimeMarkers 2023-08-22 14:55:30 +03:00
camila314
4dc143964e Merge remote-tracking branch 'refs/remotes/origin/main' 2023-08-21 22:20:26 -05:00
camila314
dd167972c7 fix for apple silicon 2023-08-21 22:20:20 -05:00
mat
0161c9571f
Update CCActionManager.h 2023-08-21 19:25:27 -03:00
ConfiG
f91b289388
actually fix dingus 2023-08-19 01:22:31 +03:00
mat
19af576db2
fix dingus 2023-08-18 18:35:24 -03:00
ConfiG
277f68bfd7
rename queueInGDThread to queueInMainThread 2023-08-19 00:23:20 +03:00
ConfiG
108f56aa62
improve tab textures 2023-08-19 00:13:14 +03:00
ConfiG
ef1f1d15c6
fix search buttons not clickable over view buttons 2023-08-19 00:13:14 +03:00
ConfiG
919276977c
improve install confirmation popup 2023-08-19 00:13:13 +03:00
altalk23
794dded30f Revert "replace macos entry with objc hook" 2023-08-18 11:04:53 +03:00
altalk23
a31d07237f Add objc hooking utilities 2023-08-18 10:51:00 +03:00
altalk23
409815acb3 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-18 10:27:02 +03:00
altalk23
e54bd552ce replace macos entry with objc hook 2023-08-18 10:08:03 +03:00
ConfiG
9a3f1c9e7b
change GEODE_UNWRAP to require ; at the end 2023-08-18 01:39:02 +03:00
matcool
38cc38c2c3
remove unnecessary gd thread queues for mod events 2023-08-16 21:02:13 -03:00
alk
a0020cc503
Merge branch 'main' into better-dependencies 2023-08-17 01:08:30 +03:00
ConfiG
1d5fae8fbb
fix loading layer not using m_fields for m_loadedModsLabel 2023-08-16 23:29:51 +03:00
ConfiG
f316c86756
fix typos in "successfully" 2023-08-16 21:16:15 +03:00
ConfiG
cd772bd056
swap Recommended/Customize, Cancel/Delete > Keep/Delete 2023-08-16 21:13:37 +03:00
altalk23
86accf9a33 remove friend ModInfo::Impl (created a warning) 2023-08-14 17:03:40 +03:00
ConfiG
aee84c0ffc
problems list ui 2023-08-13 22:20:53 +03:00
ConfiG
6ab542d51a
dont enable mods on update 2023-08-13 21:52:36 +03:00
ConfiG
73169fbf22
improve index related ui
- hide install list behind a popup
- remove android and ios filters
- don't show not installable mods
- allow quick popups to be completely cancelled by esc
2023-08-13 21:52:36 +03:00
ConfiG
3707418355
new install list ui 2023-08-13 21:52:35 +03:00
altalk23
0e1d639002
implement missing stuff to macos 2023-08-13 21:52:34 +03:00
ConfiG
a9cce769d5
fix index ui with show installed filter on 2023-08-13 21:52:33 +03:00
ConfiG
3d2e447333
add epic super secret api that nobody should use 2023-08-13 21:52:31 +03:00
ConfiG
8908235234
add importance to incompat 2023-08-13 21:52:30 +03:00
ConfiG
e7180695b8
early load 2023-08-13 21:40:21 +03:00
ConfiG
80f387d9d1
name ipc threads 2023-08-13 21:40:20 +03:00
ConfiG
ed5b5c9685
fix index not parsing tags correctly 2023-08-13 21:40:19 +03:00
ConfiG
cb8759bef0
add api label 2023-08-13 21:40:18 +03:00
ConfiG
5200128544
huge dependency stuff refactor 2023-08-13 21:40:18 +03:00
ConfiG
7f449b996e
add utils::game::restart, reset => forceReset 2023-08-10 23:49:29 +03:00
ConfiG
53b52eaeeb
ModInfo => ModMetadata 2023-08-10 23:49:28 +03:00
ConfiG
2b1dc178a4
add any (*) to ComparableVersionInfo 2023-08-09 21:58:44 +03:00
ConfiG
7d74f16c01
add logger nesting 2023-08-09 21:58:44 +03:00
Jouca
e342810a9a
added FriendsProfilePage (#208)
- Corrected UserListType
- Added UserListDelegate
- Added FriendsProfilePage create & init functions
2023-08-09 13:47:59 -03:00
ConfiG
82e128bb57
add utils::string::join 2023-08-07 01:47:14 +03:00
altalk23
a0d7b2f451 make LoadedTextureQuality a ccsynthesize 2023-08-07 00:56:21 +03:00
altalk23
e41784ed39 Change resources.zip to be platform dependent 2023-08-05 22:16:35 +03:00
matcool
f5a68154d2
fix CCControllerState using unknown byte type 2023-08-05 15:26:41 -03:00
matcool
8938df02de
fix CCSceneTransitionDelegate for mac 2023-08-04 18:28:44 -03:00
Cvolton
22efe94fac
add CreatorLayer delegates 2023-08-04 22:36:54 +02:00
altalk23
6e58a0a721 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-04 21:22:28 +03:00
altalk23
e489681c38 begone openssl 3 2023-08-04 21:22:09 +03:00
ConfiG
1c1a2f2680
Merge remote-tracking branch 'origin/main' 2023-08-04 20:50:50 +03:00
ConfiG
c055933d95
sus 2023-08-04 20:50:29 +03:00
matcool
7a83354c8c
use std::filesystem on windows on some wine-problematic functions
the code added could definitely be cleaned later by wrapping the
problematic functions, but this is a working solution for now
2023-08-04 14:47:16 -03:00
ConfiG
041d44cf0c
make xinput lazy load real xinput 2023-08-04 20:29:28 +03:00
matcool
2945422744
use correct changelog for mod info popup 2023-08-04 13:24:20 -03:00
ConfiG
1f7e6da304
fix auto update 2023-08-04 13:58:15 +03:00
ConfiG
ca5bcc3a18
Merge remote-tracking branch 'origin/main' 2023-08-04 01:23:38 +03:00
ConfiG
3d70c1be68
use spaces in Updater.cpp 2023-08-04 01:19:33 +03:00
altalk23
fc72c24e2e Add mod ids to logged removed keys of ModInfo 2023-08-04 01:18:46 +03:00
ConfiG
c2aacd9979
fix when bootstrapper present but update isn't 2023-08-04 01:18:19 +03:00
ConfiG
cf3ed327e5
"MacOS" > "macOS", "iOS" > "IOS" in platform filters 2023-08-04 00:56:52 +03:00
altalk23
b0d72b0c79 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-03 23:39:31 +03:00
altalk23
ea5a5f0076 fix macos installer and the action 2023-08-03 23:39:17 +03:00
matcool
ddc10d633e
fix sha3 library on mac 2023-08-03 17:34:56 -03:00
matcool
bbf2608ac2
Switch libraries for sha3 256, move implementation to source file
The previous library we used (picosha3) returned a wrong hash for one
particular file. Though this was quite rare (we only found 1 such file),
it was a bug with the library regardless.
The current sha3 library now comes from
https://github.com/stbrumme/hash-library
2023-08-03 17:24:04 -03:00
ConfiG
e3c2ca7417
fix mac build
workaround by using convertToWorldSpace instead of convertToWorldSpaceAR and setting the anchor point to 0,0
2023-08-03 21:27:57 +03:00
ConfiG
ebab230bf5
Merge remote-tracking branch 'origin/main' 2023-08-03 21:00:02 +03:00
ConfiG
8ce12278aa
new cool tabs 😎 2023-08-03 20:33:42 +03:00
HJfod
7a0ade2bf6 update index to be pimpl
also remove the ability for multiple sources from it
2023-08-03 20:01:37 +03:00
ConfiG
228a37fd7f
change "updates to Geode" to "Geode updates" 2023-08-03 13:37:42 +03:00
ConfiG
e921466745
fix xinput 2023-08-03 01:23:00 +03:00
HJfod
b2d677111a Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-08-02 19:43:10 +03:00
HJfod
0a6d31ebb6 make all mods including disables ones be unzipped
this makes it so disabled mods' resources are loaded
2023-08-02 19:42:31 +03:00
ConfiG
aa74bb0ecb
fix ci 2023-08-02 18:27:38 +03:00
ConfiG
363d27395c
fix some warnings 2023-08-02 18:04:37 +03:00
ConfiG
2b1becc233
silence warnings from dependencies 2023-08-02 17:34:36 +03:00
altalk23
4f6265ae32 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-02 15:58:51 +03:00
altalk23
fe8cb42129 change getSaveDir and implement autoupdate macos 2023-08-02 15:58:37 +03:00
ConfiG
25bafae278
try to use ninja on win actions 2023-08-02 02:06:20 +03:00
ConfiG
803bfadf2a
fix windows build 2023-08-01 22:09:45 +03:00
ConfiG
8f5559f531
refactor actions
- add ability to automatically create a draft release
 - change windows to windows-latest
 - unify "Unzip CLI" and "Add CLI to Path"
 - remove out folder
 - prevent unnecessary files from generating on windows
 - leave resources in platform-specific artifacts
 - unify "Package MacOS" and "Package Windows"
 - use steps outputs instead of env variables for storing version/hash
2023-08-01 21:57:01 +03:00
ConfiG
dcf89588e6
link to xinput1_3 instead of xinput1_4
allows use in windows 7 without workarounds
2023-07-31 19:18:58 +03:00
HJfod
66b3c289c5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-07-30 22:21:37 +03:00
HJfod
912b766ecb fix text input not being clickable 2023-07-30 22:21:26 +03:00
HJfod
e3e72cabf3 fix field crash 2023-07-30 22:21:17 +03:00
HJfod
8c567a57fd make menu detachment code generic 2023-07-30 22:20:55 +03:00
alk
0fee8010a8
fix LevelBrowserLayer macchew checks 2023-07-30 20:54:46 +03:00
alk
4c8c0ae7b5
Merge branch 'main' into bi-additions 2023-07-30 20:50:30 +03:00
HJfod
f8da81625f change select channel button string id to be more specific 2023-07-30 12:03:25 +03:00
HJfod
138fdbb1a4 fix CustomizeObjectLayer bindings and menus not hiding on mode change 2023-07-29 23:58:13 +03:00
HJfod
f78969ca83 replace uses of touch priority and registerWithTouchDispatcher 2023-07-29 20:56:55 +03:00
HJfod
e00b3a6a7f add option to disable last crashed popup 2023-07-29 20:56:46 +03:00
HJfod
6d92bb817f add CustomizeObjectLayer ids 2023-07-29 20:44:24 +03:00
HJfod
8ca2b99d7c fix spacers not actually taking any space 2023-07-29 20:39:50 +03:00
HJfod
8027b807e5 fix switchToMenu assuming nodes to have a parent 2023-07-29 20:39:25 +03:00
altalk23
b558962f2f fix main.mm includes 2023-07-08 17:08:24 +03:00
altalk23
26e38ecbab Change geode loading order, auto updating not implemented yet 2023-07-08 16:38:09 +03:00
altalk23
07d9fcbc0d Fix windows wine crashing on static init time 2023-06-30 17:27:19 +03:00
altalk23
4ad8b486ff implement save and open panel 2023-06-25 19:52:01 +03:00
altalk23
5b9e8a7467 fix infolayer and browserlayer structs 2023-06-25 18:47:16 +03:00
altalk23
f5e57380aa Merge branch 'main' of https://github.com/geode-sdk/geode 2023-06-24 00:45:21 +03:00
altalk23
7e70daf5a0 fix getMousePos for macchew 2023-06-24 00:45:13 +03:00
alk
17eb0e5aa0
Add EnterLayerEvent<N> as default template param to the filter 2023-06-23 23:48:41 +03:00
Cvolton
b097404063
add chest reward related bindings 2023-06-22 01:57:14 +02:00
Cvolton
16716d8bb9
add missing addresses and members needed for bi 2023-06-22 01:13:49 +02:00
ConfiG
48e84e406f
rob made setContentScaleFactor public 2023-06-12 18:31:34 +03:00
ConfiG
566d891994
fix member offset test 2023-06-12 01:56:53 +03:00
ConfiG
6615ad99f7
CCApplication and CCEGLView stuff 2023-06-12 01:50:10 +03:00
ConfiG
17dfe975af
CCApplication, AppDelegate and controller stuff 2023-06-11 19:57:03 +03:00
ConfiG
e98a756361
unsillify dllmain and better early errors 2023-06-11 01:53:25 +03:00
ConfiG
9acb07229b
move loadGeode call to geode's DllMain 2023-06-11 00:33:17 +03:00
altalk23
7209d4fe3f Merge branch 'new-proxy' of https://github.com/geode-sdk/geode into new-proxy 2023-06-10 16:35:53 +03:00
altalk23
991e714810 check if the github tag exists before downloading 2023-06-10 16:35:51 +03:00
ConfiG
d5fe754b65
format code and use std::filesystem in updater 2023-06-10 16:24:35 +03:00
ConfiG
7097ab4d89
dont try latest on error when downloading res 2023-06-10 15:53:17 +03:00
ConfiG
46fab0e821
use weakly_canonical in getGameDir and getSaveDir 2023-06-10 15:49:55 +03:00
ConfiG
68357143e8
clear directory before deleting it 2023-06-10 14:06:11 +03:00
ConfiG
3eb686c4b5
improve updater code 2023-06-10 13:57:12 +03:00
matcool
8f5c229f7c
use memcpy instead of WriteProcessMemory 2023-06-09 23:08:57 -03:00
matcool
681fb481a9
fix updateGeode() when geode or the update folder doesnt exist 2023-06-09 23:04:22 -03:00
ConfiG
884825488d
actually fix mac build 2023-06-09 19:09:28 +03:00
ConfiG
73e94193ef
fix mac build
i forgor 💀
2023-06-09 18:52:44 +03:00
ConfiG
3c1529caa6
split main.cpp per platform 2023-06-09 18:29:19 +03:00
ConfiG
7f772e9bee
open console early 2023-06-09 18:11:35 +03:00
ConfiG
d29f86ef3e
add upgrade path to new updater and xinput 2023-06-09 17:52:22 +03:00
ConfiG
c045b49492
fix build 2023-06-09 16:19:20 +03:00
ConfiG
692e227194
add LIBRARY_OUTPUT_DIRECTORY back
and change SIZE_T to size_t
2023-06-09 15:54:37 +03:00
ConfiG
ab5975aa9c
don't do c_str inplace 2023-06-09 15:48:01 +03:00
ConfiG
b47870e7e9
new proxy loader
- remove bootstrapper dll
- add updater exe
- remove createthread/loadlibrary calls
  - and link instead to let windows load it
- needs mac port probably?
2023-06-09 15:39:35 +03:00
ConfiG
d72797334f
fix CCEGLView custom ctor on windows
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2023-06-09 15:30:08 +03:00
altalk23
4c4be3657a add sigbus & print the crashlog 2023-06-08 23:54:39 +03:00
altalk23
dd7e18fb57 you didnt see me commiting a __builtin_trap shush 2023-06-08 23:09:17 +03:00
altalk23
3881e65511 make stacktrace make sense even if atos is missing 2023-06-08 23:07:40 +03:00
altalk23
9b58b3376b Implement macos crashlog (wow this was hard) 2023-06-08 22:59:45 +03:00
altalk23
fd3fd9536e fix crashlog to actually build (doesnt work on macos yet) 2023-06-08 19:22:51 +03:00
altalk23
9c3759b398 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-06-08 19:04:45 +03:00
mat
d071e75f95
Merge pull request #185 from cgytrus/cocos-stuff
Add some more cocos stuff
2023-06-07 16:30:23 -03:00
ConfiG
ba40d39a2d
fix g_uNumberOfDraws 2023-06-07 19:07:42 +03:00
ConfiG
11f2208767
add more cocos stuff 2023-06-07 18:58:19 +03:00
qimiko
041a98ee4d
implement loader for android
compilation still won't work, pending implementations for gdstl/codegen/tuliphook. the first two should be mostly done already. may also be good to get FileWatcher, crashlog, and the file picker implemented but they aren't necessary

the libcurl.a and libssl.a files were built using
https://github.com/ibaoger/libcurl-android. they are placed in the link/android folder because putting them in the link folder confused the macOS build.

once built, the geode binary should be loaded after nativeSetApkPath is ran (otherwise the directory setup crashes). in the future it would be nice if the internal mod also did save data path redirection, as base GD is incapable of doing this

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2023-06-05 17:42:22 -07:00
mat
2a1a08ef24
Merge pull request #184 from cgytrus/cocos-stuff
Add some cocos stuff
2023-06-05 13:52:01 -03:00
ConfiG
a58d40889c
fix particlesystem and particlesystemquad 2023-06-05 16:19:39 +03:00
ConfiG
faa0c77304
add some cocos stuff 2023-06-05 15:45:12 +03:00
qimiko
41891637d6
update bindings to match android symbols 2023-06-04 17:46:48 -07:00
qimiko
df7166711c
remove unsigned from table indexes
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
ConfiG
58477bbd2c fix Mod::setSettingValue 2023-06-04 17:52:03 +03:00
mat
69fabc1fd9
Merge pull request #183 from cgytrus/fix-glfw-headers
Fix GLFW headers
2023-06-04 11:50:51 -03:00
HJfod
5dfff3693f add default case for version comparisons 2023-06-04 17:23:31 +03:00
HJfod
d0c2394a1e fix GEODE_UNWRAP macros not using fully qualified names 2023-06-04 17:23:13 +03:00
qimiko
36ac8397ce
add dialog enum types to bindings 2023-06-04 04:30:47 -07:00
altalk23
20f461305b addresses and crashlog 2023-06-02 21:56:59 +03:00
ConfiG
6ada069737
fix glfw headers 2023-06-01 23:04:05 +03:00
ConfiG
983e640fde
more stuff 2023-06-01 23:00:48 +03:00
ConfiG
fd3a587aa9 add modify to CCParticleSystem, fix removed field 2023-05-31 17:42:53 -03:00
matcool
a2b8f2721a
make json library exported 2023-05-24 16:17:58 -03:00
alk
d9c775651e
Update pickup fix for collectibles 2023-05-23 00:01:40 +03:00
alk
cdc80ffe9f
Add pickup trigger fix 2023-05-22 23:54:28 +03:00
matcool
518b15e34a
$on_mod required using geode namespace 2023-05-19 13:58:24 -03:00
matcool
0f1d81326a
remove minhook and commented out dobby
we seriously were including minhook this whole time?? its literally
unused btw
2023-05-19 12:49:36 -03:00
camila314
392c6941fe Implement update functionality 2023-05-18 10:20:04 -05:00
altalk23
261851887c Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-09 10:13:52 +03:00
altalk23
372e2aaeaa Fix Mod::addHook 2023-05-09 10:13:31 +03:00
matcool
af8d4a04de
enable ansi color support for windows console, use it on logs
this will use gray for debug, blue for info, yellow for warning and red
for error
2023-05-06 13:32:34 -03:00
altalk23
56b7b66b93 fix getSaveDir not working with nonascii paths 2023-05-06 18:31:51 +03:00
altalk23
a968153331 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-01 18:41:36 +03:00
altalk23
0f6b173a11 handle the ui for major and minor versions 2023-05-01 18:41:18 +03:00
matcool
a1e9ac46b9
use wide version of winapi functions
This in theory should help with unicode support, as the old cocos2d
methods did not handle unicode well. However i was not able to test this
since vanilla gd itself doesnt launch on a non ascii path for me!
2023-05-01 11:18:35 -03:00
altalk23
b236a1daac Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-01 16:41:03 +03:00
altalk23
4929599c19 Reenable has update icon 2023-05-01 16:40:55 +03:00
altalk23
1323debea7 remove file::current_path, add less and more version compares 2023-05-01 16:06:06 +03:00
alk
91ad04b86c
Update Bootstrapper.cpp 2023-05-01 15:28:55 +03:00
alk
be70700349
Update Bootstrapper.cpp 2023-05-01 15:16:29 +03:00
alk
799a6672ce
Update util.cpp 2023-05-01 15:15:27 +03:00
altalk23
dc96da012d don't rely on filesystem current_path 2023-05-01 14:47:25 +03:00
altalk23
d7ccfdef3e revert mod.json resource and move markdowns 2023-05-01 13:06:46 +03:00
altalk23
144bb1baae remove debug message box 2023-05-01 12:12:29 +03:00
altalk23
e3bda2a544 Fix resources because of broken working directory 2023-05-01 12:11:32 +03:00
altalk23
95f046b98e add markdowns and mod.json as resources 2023-05-01 11:36:11 +03:00
altalk23
b7c2a422fd Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-28 15:04:13 +03:00
altalk23
c174f81998 make getGameDir weaklyCanonical 2023-04-28 15:03:58 +03:00
HJfod
a45032ae2c Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-27 18:51:08 +03:00
HJfod
e7ab46cfdb add logging for gd::string and fix version comparisons being inverted 2023-04-27 18:50:45 +03:00
altalk23
7af062f35d fix fuzzy search 2023-04-27 11:28:39 +03:00
altalk23
f7edc81df4 fix macos includes for file.hpp 2023-04-27 10:41:07 +03:00
altalk23
1fbfbd85ae Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-27 10:33:14 +03:00
altalk23
7fd42312bb fix setuppulsepopup and colorselectpopup 2023-04-27 10:33:07 +03:00
hjfod
50ff15c356 add public file watching api 2023-04-27 09:22:56 +03:00
altalk23
8842e8f793 fix pickFile on macos 2023-04-26 12:29:43 +03:00
altalk23
2e9a3b213b Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-26 12:09:28 +03:00
altalk23
5062899848 edit color popup struct 2023-04-26 12:09:11 +03:00
hjfod
1c699c3b04 fix file::writeToJson 2023-04-24 08:59:38 +03:00
HJfod
2dbad94e52 add utils for loading and saving structs as json files 2023-04-22 21:37:57 +03:00
hjfod
40f36bbeb8 make sure to also remove event listeners from the toAdd queue 2023-04-20 11:24:45 +03:00
HJfod
9deb5a8a09 add some bindings 2023-04-16 21:45:22 +03:00
HJfod
fa48b6aa61 add CCApplication::getControllerConnected on mac 2023-04-16 11:12:14 +03:00
HJfod
a5f3fe10c7 fix layouts not working properly on nodes whose scale isn't 1 2023-04-15 15:08:28 +03:00
HJfod
b1df152231 add Notification::create default time 2023-04-15 14:25:33 +03:00
HJfod
475499407f fix Notification not being at the top of the scene tree 2023-04-15 14:20:33 +03:00
HJfod
7bcb6d75eb fix CCApplication member offsets 2023-04-15 14:18:09 +03:00
HJfod
11a90adf12 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-11 20:41:51 +03:00
HJfod
3a357027d6 add Mod::hasSavedValue + fix some enumKeyCodes 2023-04-11 20:41:35 +03:00
altalk23
ed442702fe make ModStateFilter copy ctor default 2023-04-10 17:12:49 +03:00
altalk23
4cec5d7eb0 Add copy ctors to event filters 2023-04-10 16:54:58 +03:00
altalk23
d0d0b79578 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-10 14:35:27 +03:00
altalk23
f89cdcd78a Fix macos crashing on hook enabling 2023-04-10 14:35:09 +03:00
HJfod
2ce5680a6a fix weakref on CCTextInputNode 2023-04-10 12:59:23 +03:00
HJfod
bc840ecb98 minor formatting changes 2023-04-10 12:50:31 +03:00
altalk23
80b5b20efb fix events, resources, and minor stuff 2023-04-10 12:49:59 +03:00
HJfod
208ba02279 add a fix for CCTextInputNode content size 2023-04-10 10:20:42 +03:00
HJfod
746164bba8 make EventListener copy constructor not disable the other & bump version 2023-04-09 18:45:19 +03:00
HJfod
43a705ace1 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-09 18:36:10 +03:00
HJfod
2fe88f1c33 make Event::post return the ListenerResult 2023-04-09 18:35:08 +03:00
alk
80e75f2a4a
Add continue for null hooks 2023-04-09 18:30:48 +03:00
altalk23
22d138bee2 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-09 18:29:18 +03:00
altalk23
d7fd2a581d error non virtual missing bindings on compile time 2023-04-09 18:29:11 +03:00
HJfod
97b7cbe211 fix AxisLayout::getSizeHint cross axis size 2023-04-09 15:09:05 +03:00
HJfod
fe27260abc add a special case for null mod to allow listening for all mod events 2023-04-09 11:19:48 +03:00
HJfod
fac032f8b1 fix dev names being clickable in the dev popup (fix for #153) 2023-04-07 20:25:55 +03:00
HJfod
cf69fa3b2f fix WeakRef 2023-04-07 20:07:16 +03:00
HJfod
e71023f36f dont move parameters for dispatchevent 2023-04-07 13:31:42 +03:00
hjfod
69ddb75bd9 always place new listeners at the front of the queue 2023-04-06 19:01:06 +03:00
hjfod
0460fef4a2 make getFilter return a reference to it 2023-04-06 19:00:49 +03:00
hjfod
b9b8c29d1d make EventFilter store a pointer to its listener 2023-04-06 09:29:09 +03:00
alk
5924901d2d
Make SentAsyncWebRequest dllexported 2023-04-05 21:01:32 +03:00
HJfod
3dd6d55b49 add CCNode::getEventListenerCount 2023-04-05 19:26:46 +03:00
HJfod
6ba91482a6 fix event listeners not being removed from the right queue 2023-04-05 18:59:25 +03:00
hjfod
6d77f841c9 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-05 18:18:21 +03:00
hjfod
993cd6fd7e rework event listeners to add different queues for listeners 2023-04-05 18:17:53 +03:00
Fleeym
530551ec95 add bindings and ids for CustomSongWidget 2023-04-05 14:06:31 +03:00
HJfod
ed8d230733 add EventFilter::getCallback 2023-04-04 21:56:18 +03:00
hjfod
b44b5d3cd3 add SpacerNode & bring back Dispatch 2023-04-04 17:44:49 +03:00
HJfod
c1d4a89f8b fix event listeners vector containing freed listeners 2023-04-03 21:04:56 +03:00
hjfod
75580a01ae changelog stuff
- make changelog visible in-game
 - fix issues with the changelog in ModInfoPopup & scrollbar
2023-04-03 10:43:52 +03:00
hjfod
f8b32cdc88 add event tests 2023-04-03 10:04:56 +03:00
hjfod
2efe772329 fix crash if event listener is destroyed while they are being iterated 2023-04-03 09:36:38 +03:00
alk
ab2abcdae3
remove GEODE_DEBUG ifdef from log::debug 2023-04-03 01:01:40 +03:00
HJfod
5e6efa9112 add xml custom ctors 2023-04-02 17:47:28 +03:00
HJfod
ca3bf6516c add geode custom ctor to DS_Dictionary 2023-04-02 17:30:53 +03:00
HJfod
21ee6894cf fix EditLevelLayer not properly handling the id and layout of desc btn 2023-04-02 16:14:31 +03:00
HJfod
9fb5051f80 fix mod resources not being updated when a mod is enabled at runtime 2023-04-02 16:00:17 +03:00
HJfod
152f90cf67 add option to ignore invisible children to Layout 2023-04-02 14:43:39 +03:00
HJfod
cd3c09637b add custom constructors to CCClippingNode and CCAction 2023-04-02 12:46:37 +03:00
HJfod
13e41ee059 buncha mac addresses for betteredit *slurp* :3 2023-04-02 11:02:47 +03:00
HJfod
61015be6b1
Merge pull request #150 from geode-sdk/addEventListener
Event stuff
2023-04-01 21:40:00 +03:00
HJfod
57947a9a27 impl retainCount to fix macos build 2023-04-01 17:28:53 +03:00
HJfod
83fe2bb679 Merge branch 'addEventListener' of https://github.com/geode-sdk/geode into addEventListener 2023-04-01 17:21:02 +03:00
HJfod
eabb68bbcf fix circle button sprite size 2023-04-01 17:20:49 +03:00
hjfod
0e4636284b fix multiple weak refs causing a memory leak 2023-03-31 11:36:54 +03:00
HJfod
e92541a655 add WeakRef 2023-03-30 22:07:57 +03:00
HJfod
83b0850878 fix scrollbar going funky on DevTools description 2023-03-30 19:20:17 +03:00
HJfod
585a9de18d fix scrollbar hitbox being goofy due to ignoring anchor point position 2023-03-30 18:45:27 +03:00
HJfod
e2e1da069d give a name to the touch type enum aswell as explicit values 2023-03-30 16:50:38 +03:00
HJfod
35f7f86e6d add optional ids to node event listeners + properly clean them up 2023-03-29 22:07:33 +03:00
hjfod
69bd0d99ef add AttributeSetEvent 2023-03-29 16:05:20 +03:00
hjfod
7963469f1e make attributes use json::Value instead of std::any 2023-03-29 15:23:57 +03:00
hjfod
38575ac825 add CCScene::get + CCScheduler::get + CCNode::hasAncestor 2023-03-29 11:11:22 +03:00
HJfod
7305445f05 add vector log 2023-03-28 22:17:22 +03:00
HJfod
5cdfbc3e67 add EventListener::getFilter 2023-03-27 21:22:18 +03:00
HJfod
22a6745b74 make Mod::getResourcesDir return resources/{mod.id} 2023-03-26 10:39:40 +02:00
matcool
7e60770c9b
some members 2023-03-25 19:28:55 -03:00
HJfod
8c969a8628 fix codegen base classes not all being public + CCApplication members 2023-03-25 20:31:11 +02:00
hjfod
52c308e65d event stuff 2023-03-25 18:22:34 +02:00
hjfod
e962d5b89f fix mac build 2023-03-24 09:43:46 +02:00
HJfod
9bdd9fc526 add event listener stuff 2023-03-23 21:42:01 +02:00
HJfod
a5e33668aa add filter to EventListenerNode 2023-03-23 19:14:09 +02:00
hjfod
dc4f029bf3 add CCEGLView::setupWindow 2023-03-23 18:01:10 +02:00
HJfod
11299df20c remove uses of RT_ADD + more bindings 2023-03-22 21:49:29 +02:00
HJfod
93fd396ed9 ensure mod events are only posted in gd thread 2023-03-21 22:01:10 +02:00
altalk23
909e3355f9 update tuliphook 2023-03-20 11:48:15 +03:00
HJfod
2cc25ba914 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-19 21:45:41 +02:00
HJfod
1265aafd56 more editor bindigs + CCRect dual CCPoint constructor 2023-03-19 21:45:23 +02:00
matcool
9fb1c4dcdb
add AudioEffectsLayer members and rename some PlayerObject ones 2023-03-19 16:39:37 -03:00
HJfod
6b67789b63 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-19 15:29:25 +02:00
HJfod
81472c9ab5 make Layout inherit from CCObject 2023-03-19 15:02:49 +02:00
matcool
db9ea383a3
prevent mod from trying to resolve multiple times 2023-03-19 09:37:04 -03:00
HJfod
cc13197c98 add editor settings bindings 2023-03-19 10:01:40 +02:00
HJfod
b191f8a583 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-18 21:01:48 +02:00
HJfod
55b0312664 more editor bindings 2023-03-18 21:01:39 +02:00
alk
0216a66e89
Fix cutoff constructor 2023-03-18 21:59:53 +03:00
camila314
8fc23e14da make mac pos accurate to cocos2d positioning 2023-03-16 20:06:19 -05:00
camila314
d7b0e09779 mouse and file picker impl for mac 2023-03-16 19:42:30 -05:00
HJfod
09341840f8 more bindings 2023-03-15 22:36:13 +02:00
matcool
c1900ac45c
use FieldIntermediate instead of plain Derived*
m_fields contains a .self() method, which would be missing in the
intellisense pass
2023-03-12 18:20:56 -03:00
matcool
cf1371f408
Simplify modify when __INTELLISENSE__ is set
This should greatly help anyone using C++ intellisense by getting rid of
the phantom "incomplete type is not allowed" errors
2023-03-12 18:13:00 -03:00
matcool
306fde70d0
add util geode::cocos::getMousePos 2023-03-11 11:40:03 -03:00
HJfod
5f3c6587b3 add CCNode::removeChildByID 2023-03-11 10:19:26 +02:00
PoweredByPie
5af15fba7c Add geode::prelude to replace USE_GEODE_NAMESPACE()
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00
mat
174136ce0b
Make CCDictionaryExt::operator= return type not const 2023-03-10 09:22:48 -03:00
dogotrigger
8310485fc0 Fix CCDictionary's = operator
that was easy and working fix
2023-03-10 09:19:24 -03:00
mat
162979c2da
fix error message in enableHook 2023-03-08 20:01:04 -03:00
HJfod
0a37b01845 fix max size of editor button sprites 2023-03-08 19:31:07 +02:00
hjfod
eb0e4b6b1e delete geode/unzipped on startup if it exists 2023-03-08 13:23:42 +02:00
hjfod
b88eda0fde Merge branch 'main' of https://github.com/geode-sdk/geode 2023-03-08 08:38:25 +02:00
alk
1b2c7606b6
Fix recursive comparison in VersionTag 2023-03-07 11:56:36 +03:00
hjfod
ebfa7b2af4 fix loader min mod version 2023-03-07 08:50:20 +02:00
HJfod
00852654ad fix layout infinite recursion issue + EditorPauseLayer object labels 2023-03-06 21:55:02 +02:00
HJfod
0f19f09a32 fix version comparisons 2023-03-06 20:59:30 +02:00
altalk23
ed02c8a893 actually fix fields lol 2023-03-06 21:24:38 +03:00
altalk23
7dba804969 Half revert constructors, having two types 2023-03-06 21:20:50 +03:00
HJfod
ad98823438 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-06 19:53:01 +02:00
HJfod
2e485d88a9 add CurrencyRewardLayer::create and its related enums 2023-03-06 19:52:49 +02:00
altalk23
c89df7b992 rename monostate ctors to zero ctors & make it platform independent 2023-03-06 00:52:39 +03:00
alk
0706e52c81
Add m_fields.self() 2023-03-03 12:08:56 +03:00
mat
c71890c179
remove unecessary templates 2023-03-01 20:09:37 -03:00
altalk23
abad98f951 Fix autoEnableHook not affecting mod enabling 2023-03-02 01:13:32 +03:00
altalk23
e89a792293 Fix conversion of integer to string 2023-03-02 01:09:07 +03:00
altalk23
ceeea0bd51 Make the field fix only a minor change 2023-03-02 01:08:25 +03:00
altalk23
f6dd88aed1 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-03-02 01:02:19 +03:00
altalk23
7710fa91b8 Fix field index, allow Parent* conversion of field 2023-03-02 01:02:09 +03:00
hjfod
4a15afc7a7 add EditorUI::sliderChanged + Result::ok + bump version 2023-02-27 18:36:36 +02:00
HJfod
5c9ee08922 fix file open dialog default path not having a way to specify filename 2023-02-26 20:37:13 +02:00
altalk23
63b4774813 Unload the mod when first time warning pops up 2023-02-26 17:39:40 +03:00
altalk23
6aba7cfdec Make log not throw, but warn on invalid format 2023-02-26 17:25:11 +03:00
altalk23
724a9d342b Modify don't hook if address is nullptr 2023-02-26 17:11:02 +03:00
altalk23
02b56abf4a Fix EditorUI build category tab spacing 2023-02-26 16:42:44 +03:00
altalk23
8fc8413298 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-02-26 16:28:28 +03:00
altalk23
f5983a251e fix editorpauselayer guideline button missing 2023-02-26 16:28:02 +03:00
matcool
1dfa907c92
include commit hash in geode mod info popup 2023-02-26 09:49:14 -03:00
altalk23
67f5c87ea8 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-02-26 15:34:13 +03:00
altalk23
d024dbb858 fix macos crash on opening (typeinfo_cast nullptr) 2023-02-26 15:33:00 +03:00
HJfod
277ad8c159 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-02-26 12:47:26 +02:00
HJfod
4d2daec7df api break yahoo!!! fix BasedButtonSprite names and top node scaling 2023-02-26 12:46:55 +02:00
matcool
c183a3566f
fix addresser for CCFileUtils 2023-02-25 15:25:12 -03:00
HJfod
9f60091fbb add file::readDirectory as a sane alternative to file::listFiles 2023-02-25 11:21:43 +02:00
HJfod
00550323e5 add Mod::getResourcesDir for getting the mod's resources directory 2023-02-25 11:10:36 +02:00
HJfod
7089194be9 fix setting value changes not being broadcast 2023-02-24 21:30:36 +02:00
HJfod
93bf3e7121 no more need to specially add internal mod 2023-02-24 21:30:26 +02:00
HJfod
4261e99049 make internal mod be included the usual mods list 2023-02-24 21:29:58 +02:00
HJfod
3222097029 make getLoadedMod and isModLoaded only return if the mod is also enabled 2023-02-24 20:52:12 +02:00
HJfod
cb00c2105f fix MDTextArea containing html tags that confuse flash's html minifier 2023-02-24 12:04:48 +02:00
HJfod
75be0b6502
Merge pull request #137 from geode-sdk/better-layouts
Better layouts
2023-02-23 22:34:14 +02:00
HJfod
12d88aedc4 finish EditorPauseLayer layouts and ids 2023-02-23 22:23:19 +02:00
HJfod
da815aba72 fix positioning in single line 2023-02-23 22:22:46 +02:00
HJfod
4613af6791 change CCNode::insertBefore behaviour to insert at the start if nullptr 2023-02-23 22:03:20 +02:00
HJfod
295aedbdb5 add cross axis line alignment to layouts 2023-02-23 21:18:43 +02:00
HJfod
b6c1c8b66e layouts now work fr fr 2023-02-23 20:46:02 +02:00
HJfod
0e7a3f6f3f finish layouts!! 2023-02-23 16:32:52 +02:00
camila314
14d0eadb4b change member 2023-02-22 14:23:02 -06:00
HJfod
8fb118fb12 Merge branch 'better-layouts' of https://github.com/geode-sdk/geode into better-layouts 2023-02-22 16:06:46 +02:00
hjfod
5d9857f77d working on finishing layouts 2023-02-22 14:31:15 +02:00
hjfod
bbbf3324eb versions now support tag numbers + tags are now used in comparisons 2023-02-22 12:19:17 +02:00
altalk23
5dfef0c352 revert friend create for getting address 2023-02-21 10:41:11 +03:00
HJfod
d809d5f939 remove the test onMoreGames hook from MenuLayer 2023-02-20 19:42:57 +02:00
HJfod
0cfa4a42fe add back isAPI impl 2023-02-19 22:04:46 +02:00
HJfod
511938fe1c Merge branch 'main' into better-layouts 2023-02-19 19:58:47 +02:00
mat
54e082e8d5
fix build for cross compilation clang 2023-02-17 15:41:10 -03:00
hjfod
80a3ce60d2 layout prio almost works 2023-02-17 17:25:53 +02:00
HJfod
060ea5865c layout testing 2023-02-15 21:25:12 +02:00
hjfod
3827a00964 adding new big stuff to layouts, this def wont work
also removed PositionHint
2023-02-15 16:02:56 +02:00
matcool
37361269ec move Addresser::followThunkFunction to source 2023-02-14 18:28:13 -03:00
alk
cb9c26b597
Update Modify.hpp 2023-02-14 23:50:34 +03:00
HJfod
ffd50eb0f1 fix ranges::reverse + add break line option to AxisLayoutOptions
also EditorPauseLayer ids but didn't finish the layouts yet
2023-02-14 21:54:45 +02:00
hjfod
f7ddf0af2e EditorUI ids finished! 2023-02-14 15:58:57 +02:00
HJfod
7a4a1b078b more editorui layouts + AxisLayoutOptions 2023-02-13 22:09:16 +02:00
HJfod
c08c19b440 Merge branch 'main' into better-layouts 2023-02-13 19:50:37 +02:00
HJfod
ea037a9ccb make layouts responsive to different screen sizes
also add CCSize::aspect convenience method
2023-02-13 19:49:51 +02:00
hjfod
5a1545ebc1 CCEGLView::getDisplaySize and other bindings 2023-02-13 18:31:32 +02:00
alk
bce9d3a013
Merge branch 'geode-sdk:main' into main 2023-02-12 14:45:36 +03:00
HJfod
cb1a6f15ee update a lot of ids 2023-02-12 13:01:12 +02:00
altalk23
74d1527412 move static log stuff to source 2023-02-12 13:44:29 +03:00
hjfod
a78bc0c9c8 more layouts 2023-02-11 23:14:04 +02:00
HJfod
ef9e741bf9 add a bunch of layouts and ids 2023-02-11 21:13:35 +02:00
HJfod
eb10eca6e5 add CCNode::insertBefore and CCNode::insertAfter 2023-02-11 21:13:22 +02:00
HJfod
3f64b98cf1 update MenuLayer ids 2023-02-11 19:34:40 +02:00
HJfod
f4a3258586 fix typeinfo_cast if passed a nullptr 2023-02-11 19:31:30 +02:00
HJfod
187e360201 fix layout crash if some node is too large to fit in any row 2023-02-11 19:30:55 +02:00
HJfod
8fd027531b impl even layouts 2023-02-11 19:03:23 +02:00
HJfod
f5ce865b55 add AxisLayout::create 2023-02-11 17:50:14 +02:00
HJfod
ba0851e4fa fix swapChildIndices not also swapping z order and order of arrival 2023-02-11 12:57:35 +02:00
HJfod
8890901af5 add child order update option to CCNode::updateLayout 2023-02-11 12:06:37 +02:00
HJfod
676b96a34f add getters for AxisLayout 2023-02-11 12:06:01 +02:00
HJfod
3fb8c2be83 reset child z order when applying layouts 2023-02-11 12:05:25 +02:00
HJfod
9c9706b456 fix warnings 2023-02-11 12:04:28 +02:00
HJfod
06bc6fda91 move GEODE_DLL to the structs themselves in JsonValidation 2023-02-10 17:09:05 +02:00
HJfod
92e9ce09e8 Merge branch 'main' into better-layouts 2023-02-10 16:07:20 +02:00
matcool
65f2cbb286
follow thunk functions for non virtuals 2023-02-09 13:54:30 -03:00
camila314
0cfb064631 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-02-09 09:45:11 -06:00
camila314
41aef57758 make >= default prevent issues 2023-02-09 09:45:06 -06:00
altalk23
688b8c4ac9 compile only a singe objcpp file 2023-02-09 13:25:23 +03:00
HJfod
8147d6d28d grid layout works!! 2023-02-08 21:45:29 +02:00
matcool
ebe1dd7102
fix ScheduledFunction 2023-02-08 15:43:09 -03:00
matcool
28b26220c8
force ModImpl::m_saved to an object when loading saved.json 2023-02-08 15:29:48 -03:00
altalk23
345625e164 rename loading error 2023-02-08 21:23:34 +03:00
altalk23
0eb5f01ca8 make mod binaries not load not silently fail 2023-02-08 21:18:47 +03:00
altalk23
4ecc4ac23a fix modinfo impl ctor being broken 2023-02-08 20:52:54 +03:00
HJfod
ecfb90b252 column squishing works 2023-02-08 19:05:08 +02:00
altalk23
04dd151f0e minifunction replacing compiles 2023-02-08 18:25:07 +03:00
altalk23
d31d95d6bf somewhat improve objc compile times 2023-02-08 17:43:31 +03:00
altalk23
478f70e900 fix filesystem pch breaking the impl 2023-02-08 17:37:37 +03:00
altalk23
4bf6344def Merge branch 'main' of https://github.com/geode-sdk/geode 2023-02-08 16:44:23 +03:00
altalk23
4f259c6e3a forward filesystem 2023-02-08 16:42:34 +03:00
camila314
1f7d50a9b9 fix potentially modifying event listeners set while iterating 2023-02-07 13:58:21 -06:00
HJfod
783edf7bb7 ok i fixed a bunch of stuff but squishing columns is still a lil weird 2023-02-07 21:44:21 +02:00
HJfod
50cf18bcc4 attempting to add grid layout impl 2023-02-06 21:36:08 +02:00
mat
df00ad7b88
disable zstd support for minizip
this should fix some macos issues
2023-02-04 17:31:37 -03:00
HJfod
e36a5aea35 rework layouts 2023-02-04 15:58:10 +02:00
HJfod
d09b74eb34 working on a layout rewrite 2023-02-04 11:33:22 +02:00
HJfod
d23563a9c0 Revert "working on a layout rewrite"
This reverts commit ecbfd5ad0f.
2023-02-04 11:28:33 +02:00
HJfod
ecbfd5ad0f working on a layout rewrite 2023-02-02 17:08:13 +02:00
HJfod
ab0030136a make CC_DLL not link
also remove uses of GEODE_ADD for docs
2023-02-02 00:03:01 +02:00
HJfod
0849323ea1 docs changes 2023-02-01 23:43:53 +02:00
HJfod
6d3847d9e1 change equal perfix from == to = 2023-02-01 23:43:10 +02:00
HJfod
98496182f9 fix build errors 2023-01-31 21:56:50 +02:00
HJfod
fa94a56ea0 fix Unzip::extract failing if the extractable file is empty 2023-01-31 21:31:41 +02:00
HJfod
049ff650e4 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-01-31 21:20:05 +02:00
HJfod
6fe40e9c31 add gd string symbol fix on windows through cmake + fix dependencies 2023-01-31 21:19:43 +02:00
altalk23
51990ad89b make ModInfo pimpl 2023-01-31 16:44:28 +03:00
HJfod
f32aaa8b12 add better support for dependencies
- create_geode_file now redirects to a new function called setup_geode_mod
 - setup_geode_mod auto-links loader
 - setup_geode_mod invokes CLI (if v1.4.0+) to automatically check your dependencies and install them + link their headers and libs to your project
 - fix Result::expect not working on non-copiable types
 - add in-memory functions for file::Zip and file::Unzip
 - ComparableVersionInfo now always returns false if major versions dont match
2023-01-31 14:48:34 +02:00
altalk23
5c2db47104 add concepts lib to addresser 2023-01-30 17:29:41 +03:00
altalk23
7c646c21df add special care for CCScrollView 2023-01-30 14:10:39 +03:00
altalk23
e44a4bb513 make cached instance 2023-01-30 11:36:31 +03:00
altalk23
63e9b4c5f7 fix create overloads not recognising 2023-01-30 11:07:18 +03:00
altalk23
4aa09c085b use std::enable_if for create checking 2023-01-30 11:02:32 +03:00
altalk23
68e75eafb5 fix HasCreate 2023-01-30 10:24:59 +03:00
altalk23
2f0c36f007 allow protected and private create funcs 2023-01-30 10:16:55 +03:00
altalk23
f385cc9d43 use ::create wherever you can 2023-01-30 10:06:58 +03:00
altalk23
1e9faac5aa add exception for ccset 2023-01-30 09:53:20 +03:00
altalk23
ae1eb8bb71 add codegenned address -> handlermetadata map 2023-01-29 17:17:41 +03:00
HJfod
5bbd34cd73 make sure m_saved in Mod is initialized to an object 2023-01-28 21:27:39 +02:00
HJfod
ef86ae03f1 fix next mod mutex not being released if mod failed to load 2023-01-28 21:18:54 +02:00
matcool
deab672bc2 json rewrite, use custom lib instead of nlohmann::json
This is in attempt to make compile times better, as the old json library
was quite slow to compile due to many template instantiations and such a
large header.

macOS tests have shown build times from 610s to ~390s, about a 1.5x
speedup

Co-authored-by: camila314 <47485054+camila314@users.noreply.github.com>
2023-01-27 21:14:26 -03:00
altalk23
dd2672f665 add OSX_DEPLOYMENT_TARGET to loader too 2023-01-28 02:59:43 +03:00
HJfod
d8fb9a948a dont add md4c and re2 if building docs 2023-01-27 14:10:44 +02:00
altalk23
c644b43468 fix cross compiling for clang windowsgit status uwugit status 2023-01-26 16:12:06 +03:00
altalk23
274ff02f9e readd the function param 2023-01-25 20:30:18 +03:00
altalk23
c9f41c784c fix asstaticfunction with nonbase virtuals 2023-01-25 20:29:13 +03:00
altalk23
fbf33adc6a add log to adjust 2023-01-25 20:24:46 +03:00
HJfod
30dc9ad220 add manual resource downloading instructions if automatic failed 2023-01-25 10:06:21 +02:00
HJfod
6c557fa96a minor docs stuff 2023-01-25 00:07:15 +02:00
HJfod
b25740dc98 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-01-24 21:50:52 +02:00
HJfod
befcf8ecfd add icon for docs 2023-01-24 21:50:40 +02:00
altalk23
b6a6e4da12 add id priorities 2023-01-24 20:08:17 +03:00
altalk23
b00ab40ae2 remove handler fixes by replacing dynamic_cast 2023-01-24 19:52:51 +03:00
HJfod
3e54252c4e Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-01-24 18:17:42 +02:00
HJfod
a418828394 fix resources not being downloaded by fallbacking to github api
- also add an overload to AsyncWebRequest::expect that gives you the http status code
2023-01-24 18:17:03 +02:00
altalk23
ceb02e90a5 remove empty "fix" filea 2023-01-24 18:03:52 +03:00
altalk23
a90b3e18dd remove meta and hook-core remnants 2023-01-24 18:03:52 +03:00
HJfod
8551071ac9 dont auto-update major versions 2023-01-24 14:12:54 +02:00
HJfod
287816a17c bump version to v1.0.0-beta 2023-01-24 13:17:27 +02:00
HJfod
1ea3309fac add automatic updates 2023-01-24 12:00:19 +02:00
HJfod
6e426babdd fix userTriedToLoadDLLs return value 2023-01-24 10:45:18 +02:00
HJfod
57fd2c25c2 fix Loader::userTriedToLoadDLLs definition on mac & ios 2023-01-24 10:37:02 +02:00
HJfod
ec28634c26 remove debug message whoops 2023-01-24 10:29:22 +02:00
HJfod
0012762c84 check if the user has loaded dlls and show a warning if so 2023-01-24 10:28:43 +02:00
HJfod
0ab93ee0a2 update index to geode-sdk/mods 2023-01-24 09:22:55 +02:00
HJfod
e4706c9aca fix AEnterLayerEvent + resources not being loaded properly 2023-01-24 00:13:20 +02:00
HJfod
db32b910ea fix resource paths not being updated on switch to fullscreen 2023-01-23 22:24:38 +02:00
HJfod
9be7bea66f move tulip wrappers to their own namespace 2023-01-23 22:14:36 +02:00
HJfod
b9dfd1b115 make mods work without getting tuliphook link errors 2023-01-23 21:58:50 +02:00
matcool
53296bbb5e
remove old_cmake.txt 2023-01-23 15:54:49 -03:00
HJfod
6839316a5d adios lilac 2023-01-23 20:30:18 +02:00
HJfod
9e52089a01 whoops turns out union cast is required to make it work 2023-01-23 19:51:51 +02:00
HJfod
e65f1184e7 remove use of union_cast 2023-01-23 19:45:29 +02:00
HJfod
21e25ff382 fix thunk adjust 2023-01-23 19:31:38 +02:00
HJfod
d264694700 update tuliphook to fix hooking cdecls 2023-01-23 16:53:43 +02:00
HJfod
2c2bb8d706 Merge branch 'tulip-hook' of https://github.com/geode-sdk/geode into tulip-hook 2023-01-21 22:44:37 +02:00
HJfod
8a9a183e08 update tuliphook version 2023-01-21 22:16:16 +02:00
altalk23
c72967abb5 fix setup compilation errors 2023-01-21 23:07:58 +03:00
HJfod
7f52356955 Merge branch 'tulip-hook' of https://github.com/geode-sdk/geode into tulip-hook 2023-01-21 19:02:59 +02:00
HJfod
e322cc5fae fix internal mod being setup at static init time 2023-01-21 19:02:23 +02:00
altalk23
394cb96733 fix silly entry 2023-01-21 19:56:01 +03:00
altalk23
d8c0ba6799 fix internal mod setting up at static init time 2023-01-21 19:54:19 +03:00
HJfod
51f70bc810 fix getMod being undefined because silly me marked it inline 2023-01-21 16:42:39 +02:00
HJfod
f089afc27c fix includes + add some doccing 2023-01-21 16:00:14 +02:00
HJfod
c8e627d921 Merge branch 'main' into tulip-hook 2023-01-21 14:17:58 +02:00
HJfod
8d08ca07a0 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-01-21 14:17:45 +02:00
HJfod
f8737dde43 docs stuff i think 2023-01-21 14:17:33 +02:00
matcool
1b8123c997
fix ColorPickerDelegate 2023-01-19 22:20:43 -03:00
matcool
d093efbc8b
fix codegen issues 2023-01-19 21:58:22 -03:00
matcool
1a51754e65
Merge branch 'main' into tulip-hook 2023-01-19 20:18:24 -03:00
altalk23
cc3c768aa5 add default constructor 2023-01-19 14:31:32 +03:00
altalk23
6e0e822e22 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-01-19 14:27:55 +03:00
altalk23
4a548ab8fd fix msvc string 2023-01-19 14:27:42 +03:00
alk
018a42a258
Update MiniFunction.hpp 2023-01-18 23:40:33 +03:00
alk
50eecc2c0b
Update MiniFunction.hpp 2023-01-18 23:10:00 +03:00
alk
db109bfdf2
Fix recursive ctor in minifunction 2023-01-18 23:05:37 +03:00
altalk23
dc0da9fc56 make it compile on macos 2023-01-15 02:00:59 +03:00
altalk23
a1c7139e53 I only changed the headers and not the sources to improve compile times a bit 2023-01-15 00:45:58 +03:00
altalk23
a1be695aab replace modify checking implementation
i got distracted
2023-01-14 22:24:12 +03:00
altalk23
e47a5b4e27 fix the trysavegame hook 2023-01-14 19:31:56 +03:00
altalk23
a15e8cb30f temporarily comment out trysavegame hook 2023-01-13 09:12:50 +03:00
altalk23
b97bb0cc98 Merge branch 'main' into tulip-hook 2023-01-06 22:09:53 +03:00
altalk23
8c7be45226 fix TeleportPortalObject 2023-01-06 21:43:22 +03:00
altalk23
bfe05a77e2 add some gameobject offsets as anchors 2023-01-06 21:39:11 +03:00
altalk23
8fb5a84117 fix PlayLayer for macos 2023-01-06 21:30:06 +03:00
altalk23
ac238e54da fix crashlog 2023-01-06 20:25:53 +03:00
altalk23
6ea61a993d Merge branch 'main' of https://github.com/geode-sdk/geode 2023-01-06 20:21:21 +03:00
altalk23
c8cf6e20fd fix appdelegate 2023-01-06 20:20:57 +03:00
matcool
1f789ae53b add windows offsets and fix some classes 2022-12-31 17:32:31 -03:00