Commit graph

123 commits

Author SHA1 Message Date
altalk23
9fa9284726 add not working clipboard 2023-10-01 23:25:13 +03:00
Cvolton
63940f2ce9 Improve Android bindings 2023-10-01 14:45:28 -03:00
altalk23
8f34244023 android m_shouldTryToKick 2023-10-01 19:07:33 +03:00
altalk23
fc58ab79ef c++ abi can go burn in gaseous tungsten 2023-10-01 17:36:44 +03:00
altalk23
506bb05c4c Implement the new broma codege 2023-10-01 15:42:54 +03:00
altalk23
4e8f7866bf Playlayer is different on android? 2023-09-14 15:38:03 +03:00
altalk23
bb032cc160 Fix not linking to functions 2023-09-14 15:25:28 +03:00
altalk23
175f488c23 Add android.cpp to test members 2023-09-14 14:50:13 +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
mat
d6710315c2
fix macos test 2023-08-23 12:48:12 -03:00
altalk23
a7e2ece0ca fix m_updateTimeMarkers 2023-08-22 14:55:30 +03:00
alk
0fee8010a8
fix LevelBrowserLayer macchew checks 2023-07-30 20:54:46 +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
ConfiG
566d891994
fix member offset test 2023-06-12 01:56:53 +03:00
ConfiG
17dfe975af
CCApplication, AppDelegate and controller stuff 2023-06-11 19:57:03 +03:00
altalk23
7fd42312bb fix setuppulsepopup and colorselectpopup 2023-04-27 10:33:07 +03:00
altalk23
5062899848 edit color popup struct 2023-04-26 12:09:11 +03:00
altalk23
4cec5d7eb0 Add copy ctors to event filters 2023-04-10 16:54:58 +03:00
HJfod
cf69fa3b2f fix WeakRef 2023-04-07 20:07:16 +03:00
hjfod
f8b32cdc88 add event tests 2023-04-03 10:04:56 +03:00
HJfod
61015be6b1
Merge pull request #150 from geode-sdk/addEventListener
Event stuff
2023-04-01 21:40:00 +03:00
hjfod
7963469f1e make attributes use json::Value instead of std::any 2023-03-29 15:23:57 +03:00
matcool
7e60770c9b
some members 2023-03-25 19:28:55 -03:00
matcool
9fb1c4dcdb
add AudioEffectsLayer members and rename some PlayerObject ones 2023-03-19 16:39:37 -03: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
altalk23
f5983a251e fix editorpauselayer guideline button missing 2023-02-26 16:28:02 +03:00
HJfod
7089194be9 fix setting value changes not being broadcast 2023-02-24 21:30:36 +02:00
camila314
14d0eadb4b change member 2023-02-22 14:23:02 -06: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
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
HJfod
f089afc27c fix includes + add some doccing 2023-01-21 16:00:14 +02:00
altalk23
dc0da9fc56 make it compile on macos 2023-01-15 02:00:59 +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
matcool
1f789ae53b add windows offsets and fix some classes 2022-12-31 17:32:31 -03:00
altalk23
fab8c1eae3 add some generic member tests to macos 2022-12-31 16:06:05 +03:00
altalk23
c8765adb5b fix PlayerObject for macos 2022-12-31 15:48:05 +03:00
altalk23
1e58896a26 Merge branch 'main' of https://github.com/geode-sdk/geode 2022-12-31 15:33:33 +03:00
altalk23
45032a4511 Don't link the entirety of geode-sdk for membertest 2022-12-31 15:33:15 +03:00
matcool
09b127527b Add CI for member tests, fix PlayerObject
also adds some offsets for windows
2022-12-31 09:09:39 -03:00
altalk23
b87883903c add member offset checker test 2022-12-30 22:13:45 +03:00
HJfod
f42fdfcf55 fix merge + make sure test mods aren't installed again 2022-12-13 22:51:09 +02:00
HJfod
afd9258995 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-13 22:42:49 +02:00
HJfod
9ffb15b616 rework settings
- Settings no longer abuse templates
 - Custom settings are now supported (finally)
 - Bumped version to v1.0.0-alpha
2022-12-13 22:39:45 +02:00
altalk23
5e1d1eccdb remove schedules, also make Mod::get() lazy 2022-12-13 12:23:37 +03:00
altalk23
a554f93b93 use cxx_std_XX instead of CXX_STANDARD 2022-12-13 08:36:50 +03:00
HJfod
72af8b95e6 GGCP
- remove datastore
 - remove binary parsing in mod.json
 - try to fix mac build again
2022-11-28 20:17:58 +02:00
HJfod
d701563534 lots of stuff
- add TableView virtuals on windows
 - rework events to match new events system
 - rename NodeStringIDManager to NodeIDs and add a syntactically sugary NodeIDs::provideFor function
 - change test mod to use event callbacks instead of exported ones
2022-11-12 14:55:25 +02:00
altalk23
6a9046d406 port geode loader hooks to non macro modify 2022-11-09 21:07:20 +03:00
HJfod
796a5103f6 remove support for versions prefixed with "v" 2022-11-09 18:01:22 +02:00
HJfod
f9cda74b58 automatic resource repair
- loader checks if resources are correct at startup, if not, downloads them and replaces
 - add sha256 to hash
 - change hash to use paths instead of strings
 - cmake rework; GeodeFile.cmake now checks CLI version
 - add optional `DONT_INSTALL` argument to `create_geode_file`
 - test mods are now not installed by default
 - add package_geode_resources_now command for packaging resources at configure time and creating a header with their calculated hashes
2022-10-14 16:26:16 -03:00
altalk23
070474dd18 some header fixings and more compile time improvements 2022-10-13 14:00:41 +03:00
altalk23
97456db101 more removal of geode.hpp headers 2022-10-13 13:07:37 +03:00
altalk23
1cfc793f7c seperation of modify and bindings 2022-10-13 11:31:23 +03:00
altalk23
6d5e02a6b4 completely remove interface + implement scheduling stuff 2022-10-08 16:53:09 +03:00
HJfod
9607c898b9 bump test mod target versions + fix msvc warning about ast.hpp finally 2022-10-08 13:34:04 +03:00
altalk23
48ab98a115 macos fixes and implemented the bootstrapper without testing 2022-10-08 12:41:36 +03:00
altalk23
d9a1fae5b0 compiles on macos, though there are still some crashes 2022-10-04 13:32:40 +03:00
HJfod
aed28fc240 rename GEODE_DONT_PACKAGE_RESOURCES to GEODE_DISABLE_CLI_CALLS in cmake
+ fix build
2022-10-03 14:01:08 +03:00
HJfod
915e2f6966 update for new cli 2022-10-03 13:51:48 +03:00
HJfod
0118945a39 bump version to v0.2.1 + change optional members in ModInfo to actually
use std::optional + JsonValidation support for std::optional
2022-09-29 22:34:28 +03:00
HJfod
6d2718ce09 rename utils namespaces to be consistent + add file picking function +
implement it on windows via NFD + settings are pretty much finished
2022-09-26 13:53:40 +03:00
HJfod
8e629cb2cf preserve settings order (note: still need to change all uses of json to
ordered_json) + preliminary work on file setting
2022-09-23 22:25:20 +03:00
HJfod
19293e2fdf now with color settings 2022-09-21 14:50:23 +03:00
HJfod
25fb983cb4 support disabling input 2022-09-19 23:17:39 +03:00
HJfod
5fd6c187d0 controls in setting nodes + update reset sprites + add more control
over setting controls
2022-09-19 23:03:50 +03:00
HJfod
98684a62e5 add touch dispatcher fix + move built-in settings' nodes to their own
internal header & source + regex match validation for string settings +
further work on settings UI now featuring a cooler reset button
2022-09-19 00:07:08 +03:00
HJfod
71bd0fec83 now with a settings value getter in Mod so settings are actually usable
+ more settings UI stuff, preliminary control parsing (no UI for them
yet though) + fix InputNode not working
2022-09-14 19:21:35 +03:00
HJfod
0ab32b3e25 update json validation to no longer use exceptions and be enjoyable to
work with + preliminary settings & UI work + various other fixes and
changes
2022-09-13 00:37:25 +03:00
HJfod
efed426532 fully bump version to 0.2.0 + fix cmake platform binary name on windows 2022-08-09 01:13:21 +03:00
HJfod
46e3a071d3 whole of geode except without history 2022-07-30 19:24:03 +03:00