Commit graph

829 commits

Author SHA1 Message Date
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
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
d853f2240e move node ids 2023-12-20 20:21:23 +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
altalk23
d7ccfdef3e revert mod.json resource and move markdowns 2023-05-01 13:06:46 +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
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
f7edc81df4 fix macos includes for file.hpp 2023-04-27 10:41:07 +03:00
hjfod
50ff15c356 add public file watching api 2023-04-27 09:22:56 +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
fa48b6aa61 add CCApplication::getControllerConnected on mac 2023-04-16 11:12:14 +03:00
HJfod
b1df152231 add Notification::create default time 2023-04-15 14:25: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
80b5b20efb fix events, resources, and minor stuff 2023-04-10 12:49:59 +03:00
HJfod
746164bba8 make EventListener copy constructor not disable the other & bump version 2023-04-09 18:45:19 +03:00
HJfod
2fe88f1c33 make Event::post return the ListenerResult 2023-04-09 18:35:08 +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
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
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
993cd6fd7e rework event listeners to add different queues for listeners 2023-04-05 18:17:53 +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
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
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
57947a9a27 impl retainCount to fix macos build 2023-04-01 17:28:53 +03:00