HJfod
516393ae99
merge utils to be in fewer better-named files
2022-11-28 19:09:39 +02:00
HJfod
63749320a3
remove old Result + move everything over to new Result
2022-11-28 17:42:19 +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
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
HJfod
61c0f1b274
Merge branch 'main' into layout
2022-11-12 12:03:15 +02: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
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
altalk23
11e81e3d64
formatted includes
2022-10-30 21:59:20 +03:00
HJfod
b252c69b8b
add more getters + ranges utils
2022-10-27 15:12:31 +03:00
HJfod
e37dd6dc55
add default constructor to VersionInfo finally
2022-10-26 19:52:44 +03:00
HJfod
ec8da8da87
add geode::cocos::reloadTextures utility
2022-10-26 17:56:52 +03:00
HJfod
8340387fc9
fix CCArrayExt crashing on a nullptr array
2022-10-26 16:20:39 +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
17014b6302
add geode::cocos::switchToScene utility
2022-10-23 17:54:42 +03:00
alk
5a8bc843dc
Update JsonValidation.hpp to add missing GEODE_DLL
2022-10-23 16:39:33 +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
86a87b00a4
remove deprecation warning from old result
2022-10-23 16:09:01 +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
2ef03197b5
fix mac build
...
- move attribute & E -> T
2022-10-22 17:55:10 +03:00
HJfod
1dad98b235
Result stuff
...
- add NewResult
- deprecate and nodiscard old Result
- silence some warnings
2022-10-22 17:49:09 +03:00
HJfod
d2536f95ce
who cares about the return type anyway then
2022-10-15 21:54:28 +03:00
HJfod
6fe9a5f2ce
utils rework
...
- deprecate utils::vector and utils::container and replace them with utils::ranges
2022-10-15 21:45:53 +03: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
HJfod
c210ab2f33
change CCArrayExt to use Ref
2022-10-14 16:26:16 -03:00
HJfod
22ee4b3f29
get ready for v0.4.5 release
...
- update changelog
- add documentation to AsyncWebRequest
- remove some debugs
2022-10-13 22:30:57 +03:00
HJfod
7dd94422b4
lots of index-related stuff (see details)
...
- show crashlog on crash when GEODE_DEBUG is enabled
- fix mod resources not being loaded when installed from index + more index reworking, it's actually pretty neat now
- fix ModInfoLayer crashing when leaving it while downloading
- fix other index crashes
- fix queueInGDThread sometimes leaving out functions
- add new file utils and deprecate ones that don't use ghc::filesystem::path
- index mods now show their about.md files
- general cleanup and goodcodeification
2022-10-13 21:37:59 +03:00
HJfod
f0557056c7
meaningless stuff
2022-10-13 16:36:36 +03:00
altalk23
1822860d50
Merge altalk23:main
2022-10-13 15:43:34 +03:00
altalk23
cce4daf501
more compile time optimizations
2022-10-13 12:56:23 +03:00
matcool
577242a49b
fix macos build
2022-10-12 23:14:14 -03:00
HJfod
2b06316397
rework Index + add AsyncWebRequest API + add GEODE_DEBUG macro
2022-10-13 00:22:43 +03:00
HJfod
1931e87c24
deprecate makeMenuSelector and replace all uses with actual member
...
functions ;-;
2022-10-09 16:24:24 +03:00
alk
2bf2d859b8
Some header additions (fix) ( #41 )
...
* starting
* editorui
* leveleditorlayer
* leveleditorlayer2
* effectgameobject
* gameobject
* coloraction
* ccarrayiterator adds
* editlevellayer, optionslayer, pauselayer, statscell, endlevellayer
* fix overload resolution for CCObject*
Co-authored-by: altalk23 <student@altalk23.local>
Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-10-09 16:17:14 +03:00
matcool
c5538da709
switch to {} style formatting for logs
2022-10-08 22:57:10 -03:00
altalk23
6d5e02a6b4
completely remove interface + implement scheduling stuff
2022-10-08 16:53:09 +03:00
HJfod
a6cc6f4bec
fix Windows build + bump version to v0.4.0 + bump minimum mod version
2022-10-08 12:47:47 +03:00
camila314
76175c746d
merge
2022-10-06 16:09:15 -05:00
camila314
b902a49894
complete remake of log
2022-10-06 16:08:44 -05:00
HJfod
5e0d1f6645
fix codegen + tons of addresses on windows
2022-10-05 23:31:25 +03:00
HJfod
b1776d1d26
move fetch from Index to exported utils + add close button as a member
...
to Popup and move setup to be last in init + add
GEODE_PLATFORM_SHORT_IDENTIFIER macro for the platform's identifier in
GitHub release zips + add GEODE_VERSION to cmake + move unzipTo from
Index to be an exported util in file namespace + add mod resources
directories in accordance with new CLI
2022-10-05 15:41:05 +03:00
HJfod
83088dc67a
fix clang build
2022-10-01 11:20:11 +03:00
HJfod
a39a79d8cb
more stuff to SafeCreate + make last crash info popup not show again +
...
fix file utils on windows by using wstring instead of string
2022-10-01 11:14:51 +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
d9b7489d66
fix LevelEditorLayer members + fix Wrapper (alk fixed it but because
...
she was extremely silly and did it on her own branch i'm taking credit
and claiming i figured out and wrote this fix all on my own >:-) )
2022-09-29 00:49:59 +03:00
HJfod
51cb3ba85e
fix warnings on clang
2022-09-28 16:21:05 +03:00
HJfod
421cf4da84
in-game feature mods
2022-09-26 22:29:36 +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
d10e52202c
mod settings order is now saved
2022-09-24 18:46:47 +03:00
HJfod
19293e2fdf
now with color settings
2022-09-21 14:50:23 +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
c29443c0d7
new blank + move ModInfo definitions to their own file + mod settings
...
are now saved
2022-09-17 15:42:33 +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
6dc8660801
expanded view for mods list + fix member lambda errors
2022-09-04 21:24:33 +03:00
HJfod
67a88d7ffc
support for sorting by category (seems like makeMenuSelector is causing
...
crashes, will have to look into that)
2022-09-03 21:52:59 +03:00
HJfod
1599a6ca04
working on category support
2022-09-03 16:36:07 +03:00
HJfod
8d7a46f6ab
Improved Popup class; makeMemberFunction & makeMenuSelector; one-time
...
info alerts; improved some UI stuff
2022-09-01 09:35:18 +03:00
HJfod
f7fabdbd38
some code cleanup on InstallTicket + a safe sprite creation utility in
...
cocos.hpp (that i'll probably remove in the next commit)
2022-08-06 21:46:18 +03:00
HJfod
cdaa8ad6dc
add all UI-related stuff from API, including index, nodes, actual ui,
...
resources, md4c; and fix up some minor formatting issues
2022-08-01 18:18:03 +03:00
HJfod
19c9f9ebde
fix AddressGen hooking gd::base and causing Windows to not work at all +
...
fix GD bug with Open GL errors not showing properly
2022-07-31 22:50:49 +03:00
HJfod
46e3a071d3
whole of geode except without history
2022-07-30 19:24:03 +03:00