HJfod
8126175eaa
remove geodeRoot
2022-11-30 18:37:15 +02:00
HJfod
1807f19b51
fix build
...
- no warning on m_icon = icon in Notification
- fix mac InternalLoader.cpp using Loader::get()->getLogs instead of log::Logs::list()
2022-11-30 17:46:00 +02:00
HJfod
72613e8e84
why was Mod including zlib
2022-11-30 17:15:40 +02:00
HJfod
368da1009d
fix mac build
2022-11-30 17:14:50 +02:00
HJfod
2c78b8e620
cleanup
...
- add CCArray::firstObject and CCArray::removeFirstObject
- add minizip zip headers and sources (going to add file::Zip class soon)
- redesign Notifications to be simpler
- rework Result to not have dual implementations
- Result::expect now has one default named argument for formatting the error in
2022-11-30 17:07:05 +02:00
HJfod
f18353c2af
cleanup
...
- rewrote Loader to have a public loading API
- moved logging away from Loader
- moved texture path handling away from Loader into CCFileUtils, added new functions there for that
- bumped version to v0.7.0
- moved ModInfo to its own header
- added early loading support through mod.json instead of loader stuff
- wrote a custom Unzip implementation (essentially same as ZipUtils except with a much more simple and clean API)
- renamed `src/load` to `src/loader`
- other stuff i prolly forgor
2022-11-30 00:48:06 +02:00
HJfod
64e06141df
rename version.cpp and fetch.cpp to match headers
2022-11-28 21:09:30 +02:00
HJfod
c0065b1cd8
Merge branch 'main' into layout
2022-11-28 21:08:40 +02:00
HJfod
b222879681
fix macos build
2022-11-28 21:08:21 +02:00
alk
57d38bfb8b
set CURLOPT_SSL_VERIFYHOST to 0 in fetch
2022-11-28 21:46:18 +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
02efe58724
more GGCP
...
- move Core sources to platform folder
- make sure source files on Mac include DefaultInclude
- make sure sources are added in cmake
2022-11-28 20:03:30 +02:00
HJfod
72bbffa79d
Great Geode cleanup project
...
- move all platform sources to one central folder under src/platform/name
- don't add obj-c sources on windows or platform files from other platforms on all platforms
2022-11-28 19:45:23 +02:00
HJfod
23de63001b
attempt fixing mac build
2022-11-28 19:27:56 +02:00
HJfod
516393ae99
merge utils to be in fewer better-named files
2022-11-28 19:09:39 +02:00
HJfod
dd65a36f2c
Merge branch 'main' into layout
2022-11-28 18:33:38 +02:00
HJfod
09ae7ec942
Great Geode cleanup project
...
- fix filesystem and fmt paths
- replace uses of CCString::createWithFormat with fmt::format
2022-11-28 18:32:25 +02:00
alk
3ec8399ff6
Don't check Content-Type in web request
2022-11-28 19:31:36 +03:00
HJfod
05c48a8fd9
fix util.mm on Mac
2022-11-28 18:04:56 +02:00
HJfod
7d7cb237df
fix postIPCReply signature on mac and ios
2022-11-28 17:48:38 +02:00
HJfod
63749320a3
remove old Result + move everything over to new Result
2022-11-28 17:42:19 +02:00
HJfod
7cdb58878b
Merge branch 'main' into layout
2022-11-27 23:40:46 +02:00
altalk23
e0c89e8d07
implement fix for glowing icons
2022-11-27 01:41:42 +03:00
alk
799e7374a3
Fix index not updating
2022-11-27 01:09:54 +03:00
HJfod
fd42ab0457
delete the unfinished C api
2022-11-25 00:02:48 +02: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
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
alk
df14e82fdf
Update main.cpp
2022-11-19 09:52:02 +03:00
alk
7c43023c7b
Merge branch 'altalk' into main
2022-11-19 09:50:31 +03:00
altalk23
1e760b0777
i dont wanna open vm aa
2022-11-19 09:44:01 +03:00
alk
b860871930
Add Typo
2022-11-17 23:29:08 +03:00
altalk23
a79a13c1ab
fix textarea::create and fix geodenodemetadata
2022-11-17 23:25:22 +03:00
altalk23
1aa66510ae
fix textarea::create and fix geodenodemetadata
2022-11-17 23:24:37 +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
4246856559
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-11-09 20:19:06 -06:00
camila314
c8ae6c9f86
50th event system rewrite
2022-11-09 20:19:01 -06:00
alk
55adca479a
Update LevelSearchLayer.cpp
2022-11-09 21:34:06 +03:00
altalk23
73588e9a3d
fix macos compilation and fix requires expression in clang format
2022-11-09 21:25:27 +03:00
altalk23
6a9046d406
port geode loader hooks to non macro modify
2022-11-09 21:07:20 +03:00
HJfod
078843c4ff
keep 'v' anyway it breaks too much stuff rn
2022-11-09 18:22:25 +02:00
HJfod
796a5103f6
remove support for versions prefixed with "v"
2022-11-09 18:01:22 +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
camila314
9e4b236d1b
Shared directory
2022-11-06 19:40:40 -06:00
altalk23
a7393261ed
stop using github api to check if resources.zip exists it does you silly
2022-11-04 00:06:57 +03: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
HJfod
dae71d584c
fix downloaded resources not being applied
2022-11-01 11:37:25 +02:00
altalk23
ee9718a7f1
fix macos compile on github actions
2022-10-30 22:07:49 +03:00
altalk23
2bb416ba77
formatted sources
2022-10-30 21:56:36 +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
e30669d9ad
my hungry ass could not work as a brain surgeon
2022-10-26 23:57:07 +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
HJfod
ec8da8da87
add geode::cocos::reloadTextures utility
2022-10-26 17:56:52 +03:00
HJfod
e97fad5a9a
add early load option for mods
2022-10-26 00:50:33 +03:00
HJfod
6003efa18d
add node attributes
2022-10-25 22:57:40 +03:00
HJfod
cae4728ac0
texture loading stuff
...
- add Loader::waitForModsToBeLoaded to ensure mods are loaded at startup before loading screen
- add Mod::saveData and Mod::loadData (these have to reworked wholly in v1.0.0 to be more reasonable)
- add ranges::indexOf
- fix ranges::move
- add CCFileUtils::removeAllPaths on mac
- make sure custom resources are loaded before GD
2022-10-25 21:49:50 +03:00
HJfod
c7cc2d4563
fix texture path adding order
2022-10-24 22:46:39 +03:00
HJfod
de64b87ede
savedata stuff
...
* add event-based alternatives to the exported mod entry functions
* add $on macro for listening to those alternatives
* add automatically saved values API in the same vain as the settings API to mod
* add ranges::find and ranges::move
2022-10-24 11:43:17 +03:00
HJfod
27224db75f
fix ListView + GEODE_UNWRAP
2022-10-23 19:44:54 +03:00
HJfod
3278a1ff49
fix LevelBrowserLayer
2022-10-23 18:28:48 +03:00
HJfod
c6919b5565
Merge branch 'main' into layout
2022-10-23 18:02:20 +03:00
HJfod
17014b6302
add geode::cocos::switchToScene utility
2022-10-23 17:54:42 +03:00
alk
a1c9063767
Merge pull request #60 from geode-sdk/altalk
...
add json validation to source
2022-10-23 16:27:50 +03:00
altalk23
483eb198fd
add json validation to source
2022-10-23 16:22:27 +03:00
HJfod
cecc96cb33
add open config button
2022-10-23 16:03:14 +03:00
HJfod
0a0a34eb5c
some minor changes
...
- add Mod::getPackagePath as a replacement for Mod::getPath
- add new geode/config directory for mods' config files
- add Mod::getConfigDir for getting the mod's config directory
- add libfmod.dylib and auto-move it in actions
- add open save directory button to mod settings popup
2022-10-23 15:23:55 +03:00
HJfod
b42d6ae2cc
add CCObject::copy
2022-10-23 14:43:27 +03:00
HJfod
daf16a20da
make sure macos cocos funcs are definitions and not declarations
2022-10-23 14:29:35 +03:00
HJfod
092bee1bf4
add using namespace cocos2d
2022-10-23 14:25:50 +03:00
HJfod
fa9d48a170
add all CCArray definitions on mac
2022-10-23 14:23:28 +03:00
HJfod
bd67102575
add definition of CCArray::exchangeObject on mac
2022-10-23 14:02:53 +03:00
HJfod
6501fcc665
id fixes
2022-10-22 23:11:02 +03:00
HJfod
5a677bf92c
add LevelSearchLayer ids
2022-10-22 22:53:41 +03:00
HJfod
f5dbdff0d8
more workings
...
- update all ID setters to new system
- move EnterLayerEvent to be automatically posted for all id registrers
2022-10-22 22:52:54 +03:00
HJfod
3ac13012ae
Merge branch 'main' into layout
2022-10-22 22:40:38 +03:00
HJfod
e995beb2f9
redesign id registering again, now it's really good
2022-10-22 22:33:04 +03:00
HJfod
40300afb25
new id registering design that's pretty good now
2022-10-22 22:10:36 +03:00
alk
ad37fd5487
Update crashlog.cpp
2022-10-22 20:33:15 +03:00
alk
d192bee692
Update crashlog.cpp
2022-10-22 20:26:34 +03:00
alk
8f4e117325
Merge branch 'geode-sdk:main' into main
2022-10-22 20:20:09 +03:00
altalk23
a88e69fb0c
change some reinterpret_casts to static_casts
2022-10-22 20:19:58 +03:00
HJfod
46381e7cbc
Merge branch 'main' into layout
2022-10-22 19:16:57 +03:00
Jollyc
32a1b7d903
Add files via upload
2022-10-22 09:05:11 -07:00
HJfod
1dad98b235
Result stuff
...
- add NewResult
- deprecate and nodiscard old Result
- silence some warnings
2022-10-22 17:49:09 +03:00
altalk23
2a7c9d1be6
only hash png ogg and mp3 files
2022-10-20 21:47:29 +03:00
altalk23
4e7d044bd8
replace loader hashes with file name check temporarily
2022-10-19 13:34:39 +03:00
HJfod
0b598b3d16
fix windows
2022-10-17 16:14:05 +03:00
HJfod
a0e56c044b
fix macos build
2022-10-17 16:08:12 +03:00
HJfod
c07efcfe15
fix windows build
...
- include IncludeZlib.h instead of zlib.h
2022-10-17 15:57:32 +03:00