Commit graph

1268 commits

Author SHA1 Message Date
HJfod
8101ae50ab new promise impl (does not compile for shit) 2024-03-12 22:41:17 +02:00
HJfod
a7909938c8
Merge pull request #615 from Weebifying/main
icontype 101
2024-03-12 14:29:48 +02:00
camila314
c02dc7d08b you cant use getMod in a source file, silly 2024-03-11 20:15:55 -05:00
Weebifying
d495900068
icontype 101 2024-03-10 23:36:31 -07:00
HJfod
eeb998b4c8 impl links in mod metadata 2024-03-09 22:59:12 +02:00
HJfod
5e76da13f6 add ObjWrapper 2024-03-05 18:25:25 +02:00
HJfod
2105441f0c Merge branch 'main' into new-index-but-better 2024-03-04 22:47:35 +02:00
camila314
ba6483404b you can now update the bytes of a patch 2024-03-03 15:23:26 -06:00
HJfod
0a17fcc985 Merge branch 'main' into new-index-but-better 2024-03-02 18:39:58 +02:00
HJfod
35fcdb4df3 make AxisLayout pimpl + add default scaling options 2024-03-02 17:20:25 +02:00
HJfod
be0880f49c add CCNode::setScaledContentSize, CCNode::getScaledContentWidth etc. 2024-03-02 13:36:06 +02:00
qimiko
dd440433db
force fPIC for openssl on android32
see openssl pull request 22181 for details (just used the changes from there)
2024-03-01 17:29:47 -07:00
qimiko
1fb12f2d12
enable fPIC for openssl 2024-03-01 17:06:25 -07:00
qimiko
6cd6e4d0af
linker magic 2024-03-01 16:45:57 -07:00
qimiko
8998041e1c
update android curl to v8.6.0
also includes nghttp2 v1.60.0 for http2 support
2024-03-01 16:32:24 -07:00
qimiko
2be5854913
update android openssl to v3.2.1 2024-03-01 16:23:12 -07:00
HJfod
72fa718a76 better restarting ui 2024-02-29 21:37:09 +02:00
HJfod
dac16a40cb allow disabling a mod if you enabled it by accident and vice versa 2024-02-29 17:03:18 +02:00
HJfod
eed99d16c5 update default logo to just N/A + move featured to a star icon next to the title rather than glow since we can't enforce mod logo shape 2024-02-28 21:33:58 +02:00
HJfod
b356a7670a remove old bad Colors utility 2024-02-28 00:27:35 +02:00
HJfod
36ef4979ed add new ColorProvider utility 2024-02-28 00:27:19 +02:00
HJfod
fe4dbd96ed add left alignment option to TextInput 2024-02-27 23:32:37 +02:00
HJfod
909317146d featured mod glow :3 2024-02-27 01:16:24 +02:00
HJfod
708d1ec873 refactor a bit; works like a charm :3 2024-02-27 00:55:33 +02:00
HJfod
dd57a39157 Merge branch 'main' into new-index-but-better 2024-02-26 18:28:11 +02:00
HJfod
058f3546dc remove old index + UI fully 2024-02-26 18:27:42 +02:00
HJfod
456c1895be finish Promise 2024-02-26 18:27:33 +02:00
HJfod
463cebf0c4 finish new web requests api 2024-02-26 18:26:34 +02:00
matcool
a5475bda11 add missing GEODE_DLL 2024-02-26 11:58:40 -03:00
Talis
6ee63091de
Fix the failed to set locale on devices that don't have us english (like my phone) (#566) 2024-02-26 13:50:43 +03:00
HJfod
44ae5c83c7 Merge branch 'main' into new-index-but-better 2024-02-25 18:44:36 +02:00
altalk23
f0465ba5b2 readd fods removed stuff for abi 2024-02-25 13:53:49 +03:00
altalk23
500d346b16 geode_dll <3 2024-02-25 11:02:18 +03:00
altalk23
0e1b0e4b91 sorry for the 0 people who were including these headers manually 2024-02-25 10:53:52 +03:00
altalk23
1d444ed05e sorry for the 2 people that manually includes the jsontest headers 2024-02-25 10:44:09 +03:00
altalk23
afd54a64e4 fix dispatch 2024-02-25 10:38:46 +03:00
altalk23
f33f116ced fix the old test mod stuff 2024-02-25 10:21:27 +03:00
altalk23
9a47d611cc fine 2024-02-25 10:04:29 +03:00
altalk23
d8ac85b44a i cant believe this was that easy 2024-02-25 10:00:57 +03:00
altalk23
c7a1f76f1a push pop nest fix 2024-02-24 22:11:41 +03:00
altalk23
baf3a6b306 implement progress visual to index unzip 2024-02-24 22:08:07 +03:00
matcool
ee274195fe how did fod compile this 2024-02-24 14:25:14 -03:00
qimiko
b082dd1a9c
remove deprecated permissions 2024-02-23 21:13:52 -07:00
HJfod
e82ea3eddd finish Promise class + add Promise-based events 2024-02-24 02:08:42 +02:00
HJfod
44cd7ec63f remove default value from parameter in updateAnchoredPosition to fix overload resolution 2024-02-24 02:08:23 +02:00
HJfod
9db76274b5 hash for string_view 2024-02-23 13:28:22 +02:00
HJfod
f540d5bd63 Promise class 2024-02-23 13:28:14 +02:00
HJfod
f781a33239 add another missing cocos2d:: 2024-02-22 23:57:47 +02:00
HJfod
7795baaaf6 add missing cocos2d namespace 2024-02-22 23:57:23 +02:00
HJfod
2825654361 make top sprite offset settable in BasedButtonSprite 2024-02-22 23:56:20 +02:00
HJfod
363a028c1f replace attributes with an augmented user object system 2024-02-22 23:39:45 +02:00
HJfod
f9d7cfdc68 replace attributes with an augmented user object system 2024-02-22 23:39:21 +02:00
HJfod
e452f482a8 View buttons! 2024-02-22 17:28:09 +02:00
HJfod
1f6335ce17 Merge branch 'main' into new-index-but-better 2024-02-22 02:05:12 +02:00
HJfod
8985b32fc2 initial work on new ui 2024-02-22 02:04:38 +02:00
matcool
a19d26d52e also add overloads for std::string 2024-02-19 17:52:33 -03:00
matcool
982e8ab669 add explicit const char* overloads for gd::string 2024-02-19 17:44:22 -03:00
altalk23
30c9a8ec82 use from chars when it can 2024-02-18 17:19:25 +03:00
altalk23
e7997d6c84 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-18 17:05:07 +03:00
altalk23
6d91804c57 implement float parsing to numFromString 2024-02-18 17:04:19 +03:00
HJfod
8cccb4ce5c fix numFromString on floats 2024-02-18 00:13:34 +02:00
HJfod
29f99c2eaa fix TextInputs and InputNodes using tags for fixed touch behaviour 2024-02-17 18:24:23 +02:00
HJfod
d0ed9844be Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 23:11:27 +02:00
HJfod
28f393b4de add sane TextInput class 2024-02-16 23:11:18 +02:00
altalk23
eea35568fe isSpriteFrameName 2024-02-16 23:58:40 +03:00
altalk23
07dd379611 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-16 21:37:15 +03:00
altalk23
e10621d40d actually move it to source 2024-02-16 21:37:10 +03:00
altalk23
85f8a206cd add getChildBySpriteFrameName to cocos utils 2024-02-16 21:28:49 +03:00
HJfod
83cb61bb20 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 16:30:55 +02:00
HJfod
e06b9070d0 add CCNode::setContentWidth etc. 2024-02-16 16:30:31 +02:00
Fleeym
c65626892b over ride 2024-02-16 02:44:02 +02:00
HJfod
3802af1e70 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 01:29:45 +02:00
HJfod
f140e67bef add setIDs overload for automatically incrementing current node ID index 2024-02-16 01:29:23 +02:00
Cvolton
4b667cc82c
change message for conflicting mods as well 2024-02-15 21:58:30 +01:00
Cvolton
98d572c0e5
add separate message for outdated incompat 2024-02-15 21:34:20 +01:00
Cvolton
f1ddc568e0
add more user friendly dependency messages 2024-02-15 20:19:24 +01:00
HJfod
e80d228a59 deprecate mod ids with uppercase letters
adds "supersede" incompatability
2024-02-14 19:52:58 +02:00
HJfod
4ba0b7d58d make clamp use TypeIdentityType so the min and max values dont participate in type deduction 2024-02-14 14:14:02 +02:00
HJfod
077ead1428 imo msvc should be outlawed 2024-02-13 23:17:22 +02:00
HJfod
c4e9c17a35 add numFromString 2024-02-13 23:14:49 +02:00
HJfod
b69ac71ede get rid of strfmt and cstrfmt functions for being evil and redundant 2024-02-13 22:59:07 +02:00
matcool
32644b50d1 add formatter for matjson 2024-02-13 13:26:46 -03:00
altalk23
97139d2fcd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-12 18:39:49 +03:00
altalk23
803df4faeb edit is_jsons to be more detailed 2024-02-12 18:39:46 +03:00
HJfod
83847e37a1 fix JsonValidation leaking exceptions on into 2024-02-12 17:38:06 +02:00
HJfod
628b7d2ec9 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-12 16:56:28 +02:00
HJfod
b71ae176e9 add Mod::hasAvailableUpdate 2024-02-12 16:56:18 +02:00
Chloe
a93ddd4c4a
Implement callbacks for Android keyboard inputs (#507)
* add android input callbacks

* make platformcapability a bool

* fix method signature

* scroll tweaks
2024-02-12 10:53:14 -03:00
HJfod
8250a737e0 add missing GEODE_DLL to ColorPickPopup 2024-02-12 15:04:38 +02:00
mat
2c1eb674c9
add missing GEODE_DLL to web::fetchJSON 2024-02-12 00:04:56 -03:00
altalk23
8e4b76f7d1 thank absolute for the new enum values 2024-02-12 00:59:35 +03:00
ConfiG
3fec377e96
Improve actions build speed by using sccache, removes PCH (#493)
---------

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-02-11 15:58:46 -03:00
altalk23
a971322393 fix the funny thing in popup 2024-02-11 01:17:11 +03:00
matcool
2bcbc396d5 inline ds_dictionary dtor, what could go wrong 2024-02-10 16:34:39 -03:00
HJfod
204ec63ce5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-10 21:12:12 +02:00
HJfod
438252f946 add openSupportPopup 2024-02-10 21:11:59 +02:00
altalk23
076d6e3d30 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-10 14:42:48 +03:00
altalk23
15935642f7 gd::vector push_back pop_back 2024-02-10 14:42:45 +03:00
HJfod
b241c1ccda add platform-specific settings + update changelog and bump version 2024-02-10 13:36:11 +02:00
HJfod
3b7621c8a0 make LayoutOptions CCObject aswell (ABI break!!) 2024-02-10 13:09:11 +02:00
HJfod
9c8fcf15a9 add support for platform-specific setting values
also improves ccColor3B and ccColor4B hex string parsing (API break) and JsonMaybeValue::is (no break because templated)
2024-02-10 13:02:31 +02:00
HJfod
e7a1913254 add $override macro 2024-02-07 21:14:09 +02:00
qimiko
5f7af1a434
replace readmedia perms with one file perm 2024-02-04 12:47:50 -07:00
ConfiG
2e20cccf22
Run codegen on configure and move it to bindings (#484) 2024-02-04 22:45:52 +03:00
altalk23
9d92a7c11c fix simpletextarea alignment & dont update at draw 2024-02-04 19:23:53 +03:00
iAndyHD3
4f4f14241b
define CC_FORMAT_PRINTF on msvc intellisense (#485) 2024-02-03 21:56:47 -03:00
ConfiG
00143ebfac
Refactor console handling (#468)
- console no longer opened/closed in run-time (only opened on startup if enabled)
- log should be fully thread safe now (?)
- windows: the console can now attach to the parent console if ran from cmd or a debugger or whatever
- windows: stdin/stdout are no longer redirected to console, logger uses WriteFile instead
- windows: stdout/stderr are now redirected to logger
2024-02-03 19:59:20 +03:00
HJfod
a694453bfd fix Popup not adding the title as a child if the popup is not dynamic 2024-02-03 12:31:18 +02:00
HJfod
85180d5f1c add support for multiple developers 2024-02-03 12:26:27 +02:00
HJfod
7891ac605e CopySizeLayout wasn't actually dllexported whoops 2024-02-01 16:08:17 +02:00
HJfod
f53c02491a rename Popup::initDynamic to Popup::initAnchored 2024-01-31 23:38:09 +02:00
HJfod
ed588eb9b1 rename AutoSizeLayout to CopySizeLayout 2024-01-31 23:36:00 +02:00
HJfod
563a44c874 add a bunch of documentation and an option to addChildAtPosition 2024-01-31 23:30:52 +02:00
HJfod
389c8b1bda Merge branch 'main' into anchor-layout 2024-01-31 23:14:17 +02:00
HJfod
aa949aed39 finished design for AnchorLayout 2024-01-31 23:11:43 +02:00
altalk23
d9c65b37ea better geode version comparison & handling 2024-01-31 00:47:30 +03:00
altalk23
2fab7147f1 rob on his way to implement the most unintuitive system ever known to mankind 2024-01-30 17:26:04 +03:00
HJfod
7654f6e7cd initial ideas, going to sleep for today 2024-01-30 00:08:53 +02:00
matcool
0c6b003b72 ok a lot of things relied on that ranges include 2024-01-29 09:41:32 -03:00
mat
6dc6e9b418
increase macos target to 10.15
no more std::filesystem errors from other libraries. sorry to all the 3 people still on macos 10.13, not like you can even launch the game anyways
2024-01-29 09:24:33 -03:00
mat
89723cf24c
maybe this will work 2024-01-29 09:17:51 -03:00
mat
7cb02c9d57
avoid filesystem formatting for macos 2024-01-29 09:02:32 -03:00
Fleeym
653c78925d update EditCommand enum 2024-01-29 02:19:42 +02:00
matcool
c16cac0707 add missing GEODE_DLL to these functions 2024-01-28 18:20:27 -03:00
Fleeym
d834ec1221 SimpleTextArea part 2 2024-01-28 20:55:28 +02:00
Fleeym
a105ca05fa fix SimpleTextArea not using public 2024-01-28 20:27:11 +02:00
ConfiG
416f2d588e
add api for saving/loading current log nesting 2024-01-28 19:53:16 +03:00
Skye Prince
7ccaef904c
Launch Argument Additions (#453)
* Safe mode

* Disable custom menu additions

* getLaunchBool -> getLaunchFlag

Yes this is silly I know

* parseLaunchArgument

* Fix loading bar going out of bounds

* Fix not putting arg in

* Remove temporary newline fix

* fix safe mode log

---------

Co-authored-by: ConfiG <cgytrus@cgyt.ru>
2024-01-28 19:00:39 +03:00
ConfiG
17467d129b
better thread names api 2024-01-28 17:41:33 +03:00
matcool
ee97e2daac deprecate blocking file utils, will remove later 2024-01-28 10:37:51 -03:00
ConfiG
ce53fb3135
add api for getting/setting thread names 2024-01-28 15:33:33 +03:00
Fleeym
5498ecb015 update enumKeyCodes with 2.2 controller stuff 2024-01-28 13:47:02 +02:00
dankmeme01
9ff919118e
Add methods for requesting and querying permissions (#461)
* add methods for requesting and querying permissions

* change requestPermission to void and handle jni errors

* move permissions to utils

* how could i forget the mac operating system

* genuinely blind

* make a permission enum

* call permission callbacks on unimpl platforms
2024-01-27 16:02:34 -03:00
altalk23
bb1fcbe678 inputnode has been very fun 2024-01-27 21:09:57 +03:00
altalk23
c551d430c3 inputnode fix 2024-01-26 16:29:14 +03:00
matcool
ba88e12cb0 add android stub fmod binaries 2024-01-25 22:04:20 -03:00
ConfiG
31ed815166
remove unused log severities 2024-01-25 22:11:47 +03:00
matcool
b5f4b55c7b ccdrawnode 2.201 changes 2024-01-25 15:52:17 -03:00
mat
4cafd145b5
Update general.hpp 2024-01-25 13:45:12 -03:00
Skye Prince
a2b164af29
Launch Arguments (#444)
* Loader launch args

* Implement launch args on loader/mod

* Add to test mod

* Documentation

* Rename methods and better docs

* Expand API

* Fix loader impls

* Expand tests

* Add an extra hyphen to the launch arg prefix

* Update comments with extra hyphen
2024-01-24 22:04:00 +03:00
alk
73707610db
Merge pull request #447 from geode-sdk/prio-revert
Revert priority changes hook
2024-01-24 20:14:29 +03:00
altalk23
620c1bb04d forgot to remove AsyncResponseHeader 2024-01-24 19:33:18 +03:00
altalk23
df07409532 implement the last modified since & responseHeaders in async web 2024-01-24 19:31:51 +03:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
altalk23
44976b4348 Make the force a param instead 2024-01-24 13:39:07 +03:00
altalk23
e3d0b30d70 force touch priority for overwriting priorities 2024-01-24 13:37:10 +03:00
altalk23
303d7cede4 force prio hook no more 2024-01-24 11:57:10 +03:00
altalk23
709e3cab48 first impl of revert 2024-01-24 11:30:38 +03:00
altalk23
fd8c3630e3 fix editorui prio final 2024-01-24 00:00:44 +03:00
altalk23
eeeedbb9c4 move clipping rect fix to scrolllayer 2024-01-23 22:14:21 +03:00
dankmeme01
d3559c207d
fix ccnode header (#443) 2024-01-23 15:14:31 -03:00
matcool
82808c3a86 also check gd version on index items 2024-01-23 15:01:46 -03:00
matcool
d2a5135497 move gd version check to ModImpl::loadBinary 2024-01-23 12:06:27 -03:00
altalk23
8eb033c48c update android stubs & version 2024-01-22 17:45:02 +03:00
mat
efe94e553c
macos sucks 2024-01-21 14:33:19 -03:00
alk
9869ddcdea
Macos support for Geode v2 (#437)
updates loader refactor stuff and other things

---------

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
Co-authored-by: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-01-21 14:08:06 -03:00
HJfod
a628ea3ace fixing SearchFilterPopup ui being broken
my brother forced me off my pc so have to commit so i can continue on my laptop
2024-01-20 21:26:01 +02:00
matcool
b63611ede8 add Index::isUpdating(), show message properly when updating index 2024-01-20 11:39:31 -03:00
mat
f7d9c6af17
macos gd::string (#430) 2024-01-19 20:33:17 -03:00
matcool
14d327e8ff use android32 and android64 everywhere, for consistency
breaks launcher lol! sorry
2024-01-18 17:28:21 -03:00
matcool
7e0558e030 set CCMenuItem::m_fSizeMult to 0 by default
fixes #406
2024-01-18 17:00:13 -03:00
matcool
98f4e7e817 no need to overload addressOfNonVirtual 2024-01-18 16:09:39 -03:00
ConfiG
647d463f6a
replace supportsDisabling with isInternal 2024-01-18 21:18:03 +03:00
matcool
f1df13aa63 remove Mod::wasSuccessfullyLoaded 2024-01-18 15:11:43 -03:00
matcool
6a617789d2 remove rvalue requirement, fix claimHook and claimPatch 2024-01-18 14:36:52 -03:00
mat
a5a3a08d65
Merge pull request #421 from geode-sdk/hook-patch-refactor
Refactor Hook/Patch
2024-01-18 13:29:20 -03:00
matcool
5268bc631b add docs 2024-01-18 13:20:48 -03:00
matcool
753fd4e152 add PlatformID::toShortString and other things 2024-01-18 09:51:40 -03:00
Cvolton
e23b051a3d
Add 2.204 support (#422) 2024-01-17 14:09:08 -03:00
mat
4d2b676d48
fix sizes of gnustl set, unordered_map and unordered_set 2024-01-17 11:49:16 -03:00
matcool
806499c8f4 extract gnustl empty string from CCString
no more hardcoded addresses in android!!
2024-01-16 16:54:33 -03:00
matcool
c00bd759c7 fix InputNode::getString 2024-01-16 13:58:31 -03:00
altalk23
c89f68cb18 move the ctors back to private 2024-01-15 18:15:57 +03:00
altalk23
165f05fcb4 funny shared_ptr implementation 2024-01-15 17:57:43 +03:00
ConfiG
28c91f762e
refactor Hook/Patch 2024-01-15 00:42:04 +03:00
ConfiG
be7ee3ef18
Refactor some stuff in Loader (#420)
* move console stuff from loader

* compile platform sources only per platform

* move ipc from loader

* move updater from loader

* remove Loader::didLastLaunchCrash

* remove platformdata from loader

* move updaters events and filters too
2024-01-14 14:23:34 +03:00
ConfiG
05064eb4d5
fix clang-tidy error in clion on windows when using m_fields 2024-01-13 22:12:20 +03:00
altalk23
f0127bdb88 remind me to test my changes 2024-01-13 17:01:50 +03:00
altalk23
badc7061ab fix vector constructing 2024-01-13 16:56:08 +03:00
altalk23
784dd0fe42 breaking change !!! (gd string) 2024-01-13 16:43:53 +03:00
Cvolton
b11d837013
fill in LevelLeaderboardMode enum (#419) 2024-01-13 08:59:57 -03:00
ConfiG
21caf514c2
move forward compat hook toggling to macros 2024-01-13 03:30:07 +03:00
ConfiG
83f7a0b18c
make deleteSaveData in Mod::uninstall an optional param 2024-01-13 01:02:35 +03:00
ConfiG
98b3a8fbf1
remove some funcs from Loader 2024-01-13 00:49:42 +03:00
ConfiG
91bff5fbb2
forward compat mode 2024-01-12 22:18:24 +03:00
matcool
8ccc61febb new util methods, rename postFields and customRequest 2024-01-09 20:10:58 -03:00
matcool
7ba832c9ee debug maybe works now, and other things 2024-01-09 16:59:57 -03:00
matcool
8081860055 Merge branch 'main' of github.com:geode-sdk/geode into web-request-refactor 2024-01-09 15:40:45 -03:00
matcool
aa91e51e0d fix addCustomSetting 2024-01-09 11:49:33 -03:00
mat
e1161a96c6
Merge pull request #417 from dankmeme01/main
use string_view instead of string& in Mod
2024-01-09 11:00:24 -03:00
matcool
947dcf7f26 add concepts to validate the types for the ext classes 2024-01-09 10:47:23 -03:00
dankmeme01
dcaa408bc1 use string_view instead of string& in Mod 2024-01-09 14:47:11 +01:00
matcool
32cd4c40f1 fix ccdictionaryext yet again 2024-01-09 09:41:22 -03:00
matcool
aecd7cc186 oops missed this one 2024-01-09 02:20:10 -03:00
matcool
e1b7b1f4be change ccdictionaryext api sorry 2024-01-09 02:13:44 -03:00
matcool
198948319b compiles for 2.202/2.2011 whatever we'll call it 2024-01-08 16:48:21 -03:00
Cvolton
a555f736d0 add 2.2 SpecialRewardItems 2024-01-05 09:23:51 -03:00
mat
13ac3359f7 add AsyncWebRequest::timeout 2024-01-03 23:12:23 -03:00
mat
1ee1352d70 make AsyncWebRequest pimpl 2024-01-03 22:17:27 -03:00
mat
b9a09f73d5 update json library, changes namespace to matjson
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
mat
a8deaef73f
these ones too 2024-01-03 12:48:36 -03:00
mat
fdf3c2eba6
i want this member in CCTextureCache 2024-01-03 11:10:07 -03:00
mat
386d2d7052
Merge pull request #405 from Cvolton/aaaaa
Some more 2.2 stuff
2024-01-01 18:42:20 -03:00
makitard
8bc65ca1f1 Update PlayerButton in Enums.hpp 2024-01-01 16:22:04 -03:00
Cvolton
87484c04d8
define SizeMult in CCMenuItem 2024-01-01 20:18:31 +01:00
Cvolton
8500acac9e
add CommentKeyType 2024-01-01 20:18:31 +01:00
Cvolton
5b478a83d3
Fix providing IDs for InfoLayer 2024-01-01 20:18:30 +01:00
mat
b0d85e5d43 add prebuilt libs for android arm64
thanks @kynex7510 for the libssl and crypto :-)
2024-01-01 15:08:45 -03:00
altalk23
23423a8ab9 begone thot 2024-01-01 00:42:11 +03:00
altalk23
a99a1f569b generatedaddress no more 2024-01-01 00:39:34 +03:00
mat
9ff1059452
Merge pull request #395 from Cvolton/enums2
Add more 2.2 enum values
2023-12-30 12:22:49 -03:00
mat
347ee36595
include fmtlib's ranges and stl support
previously we had formatters for std::vector and std::optional, so geode should provide them by default :-)
2023-12-30 11:55:56 -03:00
mat
2ba8761f3e
Merge pull request #386 from geode-sdk/refactor-log
Refactor logging internals
2023-12-30 10:59:31 -03:00
Cvolton
bf2fc537f5
Add more 2.2 enum values 2023-12-30 01:25:09 +01:00
mat
953e9504a0 get it working on fmtlib 10.1.1 2023-12-29 20:59:06 -03:00
mat
b61013661e fix formatting of Mod* 2023-12-29 19:11:10 -03:00
matcool
c49d6fe576 make these hidden just in case 2023-12-29 10:58:05 -03:00
matcool
570a3b5904 bring back ccobject* logging by wrapping code and downgrading to 10.0.0 2023-12-29 10:54:19 -03:00
matcool
1df146a516 make Logger and Log loader only, refactor Logger too 2023-12-28 19:56:40 -03:00
Cvolton
2112caac6d
Update some enums to 2.2 2023-12-28 22:57:33 +01:00
matcool
237109ce39 Merge branch 'main' into refactor-log 2023-12-28 15:18:56 -03:00
matcool
2111530743 fix this one function 2023-12-27 19:24:18 -03:00
matcool
67601514fd fix ccdirector maybe 2023-12-27 16:31:53 -03:00
mat
b01db1f0fc even more cleaning 2023-12-25 15:35:07 -03:00
mat
c57db81910 remove log components, just format directly with fmtlib 2023-12-25 15:18:38 -03:00
adafcaefc
32945c3e84
Add saturationChecked and brightnessChecked to ccTypes.h 2023-12-25 14:54:19 +07:00
altalk23
df218e216b fix curl headers for android64 2023-12-23 17:48:38 +03:00
altalk23
11a175a078 add android64 libcocos 2023-12-23 17:33:16 +03:00
altalk23
d83f2825f7 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-23 17:28:45 +03:00
altalk23
74f97c0fa0 testmembers android64 hell yeah 2023-12-23 17:28:42 +03:00
matcool
a3ce94cdaf Merge branch 'main' of github.com:geode-sdk/geode 2023-12-23 11:00:52 -03:00
matcool
d6af9af2b4 rename StringImpl -> StringData, StringImplAdapter -> StringImpl 2023-12-23 11:00:43 -03:00
altalk23
cab63073c2 add android64 to headers 2023-12-23 16:10:23 +03:00
matcool
a82ba30a70 rename string headers 2023-12-23 09:44:29 -03:00
altalk23
d28084c3bf i hate force prio i hate force prio 2023-12-23 11:52:05 +03:00
altalk23
a2389f65ee fix android compiling (did i tell i hate <=> operator) 2023-12-23 11:05:59 +03:00
matcool
1065592e8d i dont know at this point, android still crashes 2023-12-23 02:59:45 -03:00
matcool
24bbc65f19 refactor gd::string 2023-12-22 18:09:58 -03:00
altalk23
9c869f77c8 fix ccobject 2023-12-22 20:15:01 +03:00
matcool
a911b341e5 fix this one function 2023-12-22 10:38:11 -03:00
matcool
ec614d123e comment out gdstring for now 2023-12-22 09:11:39 -03:00
altalk23
1036e780f9 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-21 22:04:45 +03:00
altalk23
9af2bd5e89 android gg 2023-12-21 22:04:43 +03:00
matcool
8c63c65797 fix visibility 2023-12-21 15:09:49 -03:00
matcool
0e7c95f03b update gdstring.lib
btw i finally made public the script i used for this!
check it out:
https://gist.github.com/matcool/3261e808bfc2785436b4ff2a3807b2e7
2023-12-21 15:08:43 -03:00
matcool
5126c31739 add missing default ctor for CCLayerGradient 2023-12-21 13:54:51 -03:00
altalk23
5d07b2ab7d Geode android compiles gg girls and girls 2023-12-21 19:42:01 +03:00
altalk23
7b793a4d1d get codegen sources to compile 2023-12-21 17:13:39 +03:00
matcool
c33ec9942f Merge branch 'matsilly' 2023-12-20 23:23:36 -03:00
matcool
5c71bc9e32 get windows further along 2023-12-20 23:14:53 -03:00
altalk23
32a99eef91 add ParticleStruct 2023-12-20 22:04:08 +03:00
altalk23
baaec62bc0 uhhh things idk it does stuff rn 2023-12-20 21:50:21 +03:00
altalk23
646a60a517 im fed u pby enums 2023-12-20 21:42:57 +03:00
altalk23
10a69a6bae even more enums 2023-12-20 21:36:19 +03:00
altalk23
0c0831ca4d Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-20 21:31:18 +03:00
altalk23
5d9a625456 so many enums yet still going 2023-12-20 21:31:17 +03:00
matcool
b1eaa2be2a a few cocos changes 2023-12-20 14:56:28 -03:00
altalk23
c94119eb01 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-12-20 20:21:25 +03:00
altalk23
d853f2240e move node ids 2023-12-20 20:21:23 +03:00
matcool
ed89655583 update windows .lib files 2023-12-20 14:08:25 -03:00
altalk23
0ed0e25401 update android stub 2023-12-20 19:47:17 +03:00
altalk23
40f99d6397 fix virtuals from main cocos classes 2023-12-20 19:33:32 +03:00
altalk23
d49e14d9ee fix main cocos headers 2023-12-20 19:22:06 +03:00
HJfod
151303c696 remove deprecated funcs from mod and fix wasSuccesfullyLoaded 2023-12-20 12:47:59 +02:00
HJfod
442789e61a Merge branch '1.4.0-dev' into 2.0.0-dev 2023-12-20 12:19:29 +02:00
altalk23
d5027ca6ab Merge branch 'main' into 1.4.0-dev 2023-11-21 20:31:36 +03:00
altalk23
7796bfba9f fix commenttype macos (thanks cocoa!) 2023-11-21 20:10:19 +03:00
dankmeme01
557b9e3126
add the CommentType enum (#344) 2023-11-17 00:27:39 +03:00
ConfiG
5083017b50
improve logging + minor refactors 2023-11-11 19:45:18 +03:00
camila314
645a41c63a forogt to commit the enum 2023-11-11 10:03:31 -06:00
camila314
b17ca9ae4b docs change lmao 2023-10-22 11:01:14 -05:00
Cvolton
6f2044ca92
add missing GJRewardTypes 2023-10-16 17:15:35 +02:00
altalk23
cac2cbc774 fix field alignment by doing max 2023-10-15 19:20:47 +03:00
altalk23
944ab383b4 funny virtual warning 2023-10-15 17:48:40 +03:00
altalk23
335cc445c3 Merge branch '1.4.0-dev' into android 2023-10-15 16:07:42 +03:00
altalk23
6574b22b81 Merge branch 'main' into 1.4.0-dev 2023-10-15 16:06:22 +03:00
altalk23
d6dd153b65 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-10-11 22:16:18 +03:00
altalk23
c967b520df fix the index notif staying on all the time 2023-10-11 22:16:12 +03:00
mat
b55e6465ce
fix gnustl vector dtor 2023-10-11 15:23:13 -03:00
altalk23
0bdb0df702 this code is still very sad 2023-10-11 21:03:54 +03:00
SMJSGaming
42a1a33c53 Added word wrappers, colors and optimizations to text area 2023-10-10 19:19:12 +02:00
altalk23
f57601d0b5 file picker 2023-10-08 16:38:17 +03:00
altalk23
a77c33974b Merge branch '1.4.0-dev' into android 2023-10-04 13:51:05 +03:00
altalk23
8dd2e15c38 fix dynamic cast 2023-10-02 16:50:10 +03:00
altalk23
777cf38df0 implement threaded unzipping and revert typeinfo cast (but its ugly) 2023-10-02 13:37:09 +03:00
SMJS
7f277a77e1
Added a simple text area UI node (#277) 2023-10-01 18:59:44 -03:00
altalk23
877b644962 fix ccmenuitemsprite virtuals 2023-10-01 23:58:16 +03:00
altalk23
fc58ab79ef c++ abi can go burn in gaseous tungsten 2023-10-01 17:36:44 +03:00
altalk23
41ae88ae5b Merge branch '1.4.0-dev' into android 2023-10-01 15:22:18 +03:00
altalk23
275a87aece Merge branch 'main' into 1.4.0-dev 2023-10-01 15:14:06 +03:00
mat
ea4341b38a
some missing geode custom ctors 2023-09-25 19:23:29 -03:00
mat
0b5c9c9b5a
fix callconv on this one function
for some reason the fmod c functions arent stdcall on the dll, need to fix this for the other functions later
2023-09-24 14:37:25 -03:00
altalk23
696a2caf1f Make codegen sources private visibility 2023-09-24 12:16:33 +03:00
altalk23
a43dcc84cb Revert "Add MenuItemSprite"
This reverts commit 152dc7edcf.
2023-09-20 17:37:42 +03:00
altalk23
dcc40f11e1 Revert "Fix some stuff related to menuitemspriteextra but gonna revert"
This reverts commit e8b98e48f5.
2023-09-20 17:37:30 +03:00
altalk23
e8b98e48f5 Fix some stuff related to menuitemspriteextra but gonna revert 2023-09-20 17:37:20 +03:00
altalk23
152dc7edcf Add MenuItemSprite 2023-09-20 17:07:25 +03:00
altalk23
34398b86e9 Merge branch 'main' into 1.4.0-dev 2023-09-20 15:30:29 +03:00
FigmentBoy
cf8fbbad71 Allow for StringSetting character filters 2023-09-18 23:04:45 -04:00
ConfiG
07f3acb0f9
revert cc increment gl draws
let someone else do it i dont have a mac to test
2023-09-18 16:43:19 +03:00
ConfiG
7d1897dbd6
ifx hope 2023-09-18 16:24:27 +03:00
ConfiG
264c9e4a64
bet its this 2023-09-18 16:18:55 +03:00
ConfiG
2726a82e64
Please Die 2023-09-18 16:15:45 +03:00
ConfiG
ca4010e3e3
ccGLBindTexture2DN, macNumberOfDraws, ccIncrementGLDraws 2023-09-18 15:40:04 +03:00
ConfiG
07c6278253
fix CCArrayExt::operator[] return type 2023-09-18 10:09:53 +03:00
mat
23cd456860
fix CCNode::removeChildByID not being exported properly 2023-09-17 14:23:13 -03:00
altalk23
fdc7e314d1 Merge branch '1.4.0-dev' into android 2023-09-16 13:56:21 +03:00
altalk23
f39c6f711a Merge branch 'main' into 1.4.0-dev 2023-09-16 13:55:52 +03:00
altalk23
a6a47bf6cf Fix #239 and revert GEODE_HIDDENs 2023-09-16 09:48:48 +03:00
altalk23
4294177be6 gd opens rn lol! but i commented like everything 2023-09-15 23:37:18 +03:00
altalk23
889bb77e6d make cc_dll attribute hidden on mac 2023-09-15 14:08:38 +03:00
altalk23
9a28e58639 add GEODE_HIDDEN to _spr 2023-09-14 17:54:26 +03:00
altalk23
0f67435685 Merge branch '1.4.0-dev' into 2.0.0-dev 2023-09-13 10:43:47 +03:00
altalk23
71a79ab4dd add GEODE_HIDDEN to _spr 2023-09-12 21:07:53 +03:00
altalk23
ef4764728b change loadinglayer, fix macos spritesheet issue, separate user disabled & problem disabled, fix not enabling a disabled mod that has dependency disabled, 2023-09-12 18:12:46 +03:00
ConfiG
899b0ce82c
Merge branch 'main' into 1.4.0-dev
# Conflicts:
#	VERSION
#	loader/src/ui/internal/list/ModListCell.cpp
2023-09-11 16:50:55 +03:00
ConfiG
a738320e2c
add uninstall button to geode mod 2023-09-11 16:36:35 +03:00
ConfiG
ae048e48a9
deprecate Mod::isLoaded 2023-09-11 14:38:14 +03:00
altalk23
19ad688fcc Merge branch 'main' into 1.4.0-dev 2023-09-10 15:54:26 +03:00
ConfiG
adf1a361a2
add compileShader to broma 2023-09-09 20:26:19 +03:00
altalk23
114fa465a8 Mod cells now use layouts & disable macos console temporarily 2023-09-09 14:32:20 +03:00
camila314
6d599a5e19 allow logging to be disabled per-mod 2023-09-08 12:44:26 -05:00
altalk23
92ca99b82c fix broken web request stuff 2023-09-08 18:05:20 +03:00
altalk23
83e48fa8dc Fix AsyncWebRequest backwards compat 2023-09-08 18:02:59 +03:00
altalk23
c256207457 Add post & custom requests and user agents to AsyncWebRequest 2023-09-08 17:17:45 +03:00
altalk23
b21ff6e234 Fix geode checkbox and installed mods not showing restart 2023-09-08 15:07:11 +03:00
altalk23
5d15eb0215 Implement UI for multiple version downloading (very cursed) 2023-09-05 02:22:57 +03:00
altalk23
63027a7f84 Fix mod logo and special files of index entries 2023-09-04 23:45:04 +03:00
altalk23
b0d39e79c9 make patch dtor protected 2023-09-04 22:42:07 +03:00
altalk23
1eeb8810c9 Move patch getters to srouce 2023-09-04 22:39:27 +03:00
altalk23
69821f3e2c Add disable auto enable to Patch 2023-09-04 22:36:33 +03:00
altalk23
d81774957d Remove runtime enable/disable, requires cleanup 2023-09-04 19:08:25 +03:00
ConfiG
17a5ac93ea
remove all deprecated functions 2023-08-31 15:27:30 +03:00
altalk23
d02bb4e169 map fix again 2023-08-27 20:05:36 +03:00
altalk23
e67f59548f Merge branch '1.2.0-dev' of https://github.com/geode-sdk/geode into 1.2.0-dev 2023-08-27 19:53:45 +03:00
altalk23
967b3d08cf fix insert 2023-08-27 19:53:43 +03:00
matcool
7139ac4dcc
add some methods to windows gd::string 2023-08-27 13:50:10 -03:00
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
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
8b9860be5b
fix addresser for some cocos funcs 2023-08-27 11:10:43 -03:00
ConfiG
32f7610ab6
Merge branch 'main' into 1.2.0-dev 2023-08-23 18:20:34 +03:00
mat
0161c9571f
Update CCActionManager.h 2023-08-21 19:25:27 -03:00
ConfiG
277f68bfd7
rename queueInGDThread to queueInMainThread 2023-08-19 00:23:20 +03:00
altalk23
a31d07237f Add objc hooking utilities 2023-08-18 10:51:00 +03:00
ConfiG
9a3f1c9e7b
change GEODE_UNWRAP to require ; at the end 2023-08-18 01:39:02 +03:00
alk
a0020cc503
Merge branch 'main' into better-dependencies 2023-08-17 01:08:30 +03:00
ConfiG
f316c86756
fix typos in "successfully" 2023-08-16 21:16:15 +03:00
altalk23
86accf9a33 remove friend ModInfo::Impl (created a warning) 2023-08-14 17:03:40 +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
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
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
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
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
363d27395c
fix some warnings 2023-08-02 18:04:37 +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
e3e72cabf3 fix field crash 2023-07-30 22:21:17 +03:00
alk
4c8c0ae7b5
Merge branch 'main' into bi-additions 2023-07-30 20:50:30 +03:00
HJfod
f78969ca83 replace uses of touch priority and registerWithTouchDispatcher 2023-07-29 20:56:55 +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
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
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
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
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
518b15e34a
$on_mod required using geode namespace 2023-05-19 13:58:24 -03:00
altalk23
372e2aaeaa Fix Mod::addHook 2023-05-09 10:13:31 +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