Commit graph

200 commits

Author SHA1 Message Date
HJfod
63749320a3 remove old Result + move everything over to new Result 2022-11-28 17:42:19 +02:00
HJfod
5b3fb508e3 delete remnants of old C api 2022-11-28 16:38:25 +02:00
HJfod
7cdb58878b Merge branch 'main' into layout 2022-11-27 23:40:46 +02:00
mat
ea2da96566 implement operator[] for gnustl vector<bool> 2022-11-27 15:31:18 -03:00
altalk23
1d808dfbfd fix internal macros 2022-11-27 03:57:05 +03:00
HJfod
3ba1ad12ff Merge branch 'main' into layout 2022-11-25 00:03:09 +02:00
HJfod
fd42ab0457 delete the unfinished C api 2022-11-25 00:02:48 +02:00
alk
f347741068
Update gnustl.hpp 2022-11-25 00:57:11 +03:00
HJfod
adf8295a41 Merge branch 'main' into layout 2022-11-24 23:55:50 +02:00
altalk23
29d6d11f4e implement struct returns on membercall 2022-11-25 00:41:02 +03:00
HJfod
1ac6ad4996 update ipc
- add getRuntimeInfo funcs for getting json representation of Hook, Patch, Mod and others
 - add args to list-mods
2022-11-23 16:38:08 +02:00
HJfod
b9287cebde rework IPC
- replies are now handled by returning from the listener callback
 - can now handle multiple IPC connections at once
 - make Loader::s_unloading actually thread-safe
2022-11-23 15:53:38 +02:00
HJfod
7a047e2a08 update IPC to use json 2022-11-23 00:35:08 +02:00
HJfod
182ced8e17 Merge branch 'main' into layout 2022-11-22 17:24:03 +02:00
HJfod
f5b5a64557 new events stuff
- add preliminary IPC stuff
 - preliminary IPC implementation on Windows (will evolve still)
 - more ids
 - move InternalLoader platform definitions to their own files
 - fix ranges::map not resizing the output
2022-11-22 17:21:00 +02:00
alk
4928f672f1
Update msvcstl.hpp 2022-11-22 16:56:47 +03:00
alk
322dc1b048
Update msvcstl.hpp 2022-11-22 16:49:53 +03:00
alk
af35eb7228
Update msvcstl.hpp 2022-11-22 16:47:04 +03:00
alk
4f66b8d8f7
add operator= to msvc string (#82)
* add operator= to msvc string
2022-11-22 16:46:03 +03:00
alk
9a51843727
Add msvcstl (#81)
* implement gd::string for windows

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-11-22 15:59:46 +03:00
altalk23
2034b3e62d cast the c_str pointer 2022-11-22 14:06:39 +03:00
altalk23
caac958c37 replace ccstring create implementation 2022-11-22 14:06:39 +03:00
altalk23
9b359fba56 get geode working on cross compile macos, also modifies Setting event to not use shared ptr, also disables fmt consteval 2022-11-19 21:13:47 +03:00
alk
7b9c68567a
Get geode working on macos wine 2022-11-19 15:05:10 +03:00
camila314
5e3ec38359 tee-hee forgot something again 2022-11-18 23:19:23 -06:00
camila314
c12fde309e oops silly me forgot something 2022-11-18 23:18:37 -06:00
camila314
4ff33d0985 fix bad impl 2022-11-18 23:15:01 -06:00
camila314
06d69b1db5 findFirstChildRecursive put inside utils because its very useful 2022-11-18 23:04:14 -06:00
altalk23
b7bbee5669 make GEODE_DEBUG obey if it's already set and make private members in CCMotionStreak protected 2022-11-16 17:42:18 +03: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
HJfod
61c0f1b274 Merge branch 'main' into layout 2022-11-12 12:03:15 +02:00
camila314
4a6105a976 remove small thing 2022-11-09 20:22:36 -06:00
camila314
c8ae6c9f86 50th event system rewrite 2022-11-09 20:19:01 -06:00
altalk23
e349dc9b74 implement new Modify sytnax 2022-11-09 21:07:20 +03:00
altalk23
32196f3545 add gjgamelevel::getcurrent and levelsettingsobject::get 2022-11-09 21:07:20 +03:00
HJfod
d20a77aeb1 add ostream operator<< for VersionInfo 2022-11-09 17:45:59 +02:00
HJfod
6d67033eb6 minor changes
- make index always use latest version of mod in index
 - more bindings
 - implement rest of setting types for getBuiltInSettingValue
2022-11-09 17:32:44 +02:00
HJfod
2a81ed1ac1 fix CCArrayExt crashing on a nullptr array 2022-11-08 14:23:40 +02:00
camila314
9e4b236d1b Shared directory 2022-11-06 19:40:40 -06:00
altalk23
727304a276 implement http headers to webasyncrequest and make index conditional request 2022-11-03 23:46:01 +03:00
HJfod
fa1eee5b69 fix merge 2022-11-02 13:44:45 +02:00
HJfod
c8fa701762 Merge branch 'main' into layout 2022-11-02 12:57:03 +02:00
HJfod
2d0bbebfef preliminary stuff
- customize hardcoded colors api (no impl yet)
 - more ids
2022-11-02 12:47:58 +02:00
altalk23
ee9718a7f1 fix macos compile on github actions 2022-10-30 22:07:49 +03:00
altalk23
11e81e3d64 formatted includes 2022-10-30 21:59:20 +03:00
alk
444464b185
Merge branch 'geode-sdk:main' into altalk 2022-10-30 21:25:03 +03:00
altalk23
94d45ccf21 added clang-format 2022-10-30 21:24:06 +03:00
HJfod
b252c69b8b add more getters + ranges utils 2022-10-27 15:12:31 +03:00
HJfod
ffc9287a61 small changes
- hook loadAssets instead loadFinished for target scene in geode::cocos::reloadTextures
 - add virtual destructor to BasicEventHandler that unlistens the handler
2022-10-26 23:42:59 +03:00
HJfod
6059a15dff add generic AEnterLayerEvent for my spooky textureldr stuff 2022-10-26 21:52:38 +03:00