camila314
3f8cdd994a
proper platform console for mac
2023-09-08 19:48:27 -05:00
camila314
6d599a5e19
allow logging to be disabled per-mod
2023-09-08 12:44:26 -05:00
altalk23
cbd1d04cab
fix target 2
2023-09-08 18:07:21 +03:00
altalk23
92ca99b82c
fix broken web request stuff
2023-09-08 18:05:20 +03:00
altalk23
645eb8e03d
delete extra
2023-09-08 18:04:18 +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
7816c435c4
Update macos crashlog to include base and offset
2023-09-08 16:33:22 +03:00
altalk23
2c0c36277f
Merge branch 'main' into 1.3.0-dev
2023-09-08 15:54:56 +03:00
altalk23
e68c0d7fcd
Fix ontab keeping scroll
2023-09-08 15:49:25 +03:00
altalk23
b3d444a0f3
Keep scroll value when refreshing the list
2023-09-08 15:25:55 +03:00
altalk23
d40f4672c4
change install and uninstall popups to reflect 1.3.0 changes
2023-09-08 15:13:07 +03:00
altalk23
b21ff6e234
Fix geode checkbox and installed mods not showing restart
2023-09-08 15:07:11 +03:00
ConfiG
e557a551d8
actually update m_applied in Patch
2023-09-07 21:32:28 +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
5572f9cd1c
use mods-v2 for index
2023-09-04 23:15:41 +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
23c3095263
move ModEventType::Loaded place
2023-09-04 22:14:51 +03:00
altalk23
4f2835ae34
Fix dependencies getting installed when they exist
2023-09-04 22:07:12 +03:00
altalk23
d81774957d
Remove runtime enable/disable, requires cleanup
2023-09-04 19:08:25 +03:00
altalk23
e78eaf01e8
Fix search paths missing with spritesheetless mods
2023-09-04 17:21:34 +03:00
altalk23
65b4364ab5
Fix search paths when reloaded
2023-09-04 16:50:32 +03:00
altalk23
87749d46c2
why does msvc compile trailing comma
2023-09-04 13:00:40 +03:00
altalk23
9ee0994a0e
fix CustomizeObjectLayer ids moving around when multiple objects are selected
2023-09-04 01:04:15 +03:00
ConfiG
17a5ac93ea
remove all deprecated functions
2023-08-31 15:27:30 +03:00
matcool
eda87da1a2
improved formatting for registers and most list on crashlogs
2023-08-27 15:51:34 -03:00
matcool
6e97c2700c
Merge branch 'main' of github.com:geode-sdk/geode into 1.2.0-dev
2023-08-27 13:57:07 -03:00
matcool
0835477572
also check for GJ_GameSheetIcons.png
2023-08-27 13:53:39 -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
a7181ebba8
fix objc/runtime include
2023-08-27 19:35:50 +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
9875f5d597
improve lag because of cc_2x2_white_image
2023-08-27 11:23:36 -03:00
ConfiG
32f7610ab6
Merge branch 'main' into 1.2.0-dev
2023-08-23 18:20:34 +03:00
alk
e639ff3182
Update crashlog.mm
2023-08-22 16:09:43 +03:00
ConfiG
f91b289388
actually fix dingus
2023-08-19 01:22:31 +03:00
mat
19af576db2
fix dingus
2023-08-18 18:35:24 -03:00
ConfiG
277f68bfd7
rename queueInGDThread to queueInMainThread
2023-08-19 00:23:20 +03:00
ConfiG
ef1f1d15c6
fix search buttons not clickable over view buttons
2023-08-19 00:13:14 +03:00
ConfiG
919276977c
improve install confirmation popup
2023-08-19 00:13:13 +03:00
altalk23
794dded30f
Revert "replace macos entry with objc hook"
2023-08-18 11:04:53 +03:00
altalk23
a31d07237f
Add objc hooking utilities
2023-08-18 10:51:00 +03:00
altalk23
409815acb3
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-08-18 10:27:02 +03:00
altalk23
e54bd552ce
replace macos entry with objc hook
2023-08-18 10:08:03 +03:00
matcool
38cc38c2c3
remove unnecessary gd thread queues for mod events
2023-08-16 21:02:13 -03:00
ConfiG
1d5fae8fbb
fix loading layer not using m_fields for m_loadedModsLabel
2023-08-16 23:29:51 +03:00
ConfiG
f316c86756
fix typos in "successfully"
2023-08-16 21:16:15 +03:00
ConfiG
cd772bd056
swap Recommended/Customize, Cancel/Delete > Keep/Delete
2023-08-16 21:13:37 +03:00
altalk23
86accf9a33
remove friend ModInfo::Impl (created a warning)
2023-08-14 17:03:40 +03:00
ConfiG
aee84c0ffc
problems list ui
2023-08-13 22:20:53 +03:00
ConfiG
6ab542d51a
dont enable mods on update
2023-08-13 21:52:36 +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
3707418355
new install list ui
2023-08-13 21:52:35 +03:00
altalk23
0e1d639002
implement missing stuff to macos
2023-08-13 21:52:34 +03:00
ConfiG
a9cce769d5
fix index ui with show installed filter on
2023-08-13 21:52:33 +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
80f387d9d1
name ipc threads
2023-08-13 21:40:20 +03:00
ConfiG
ed5b5c9685
fix index not parsing tags correctly
2023-08-13 21:40:19 +03:00
ConfiG
cb8759bef0
add api label
2023-08-13 21:40:18 +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
ConfiG
82e128bb57
add utils::string::join
2023-08-07 01:47:14 +03:00
altalk23
e41784ed39
Change resources.zip to be platform dependent
2023-08-05 22:16:35 +03:00
ConfiG
1c1a2f2680
Merge remote-tracking branch 'origin/main'
2023-08-04 20:50:50 +03:00
ConfiG
c055933d95
sus
2023-08-04 20:50:29 +03:00
matcool
7a83354c8c
use std::filesystem on windows on some wine-problematic functions
...
the code added could definitely be cleaned later by wrapping the
problematic functions, but this is a working solution for now
2023-08-04 14:47:16 -03:00
matcool
2945422744
use correct changelog for mod info popup
2023-08-04 13:24:20 -03:00
ConfiG
1f7e6da304
fix auto update
2023-08-04 13:58:15 +03:00
ConfiG
ca5bcc3a18
Merge remote-tracking branch 'origin/main'
2023-08-04 01:23:38 +03:00
altalk23
fc72c24e2e
Add mod ids to logged removed keys of ModInfo
2023-08-04 01:18:46 +03:00
ConfiG
c2aacd9979
fix when bootstrapper present but update isn't
2023-08-04 01:18:19 +03:00
ConfiG
cf3ed327e5
"MacOS" > "macOS", "iOS" > "IOS" in platform filters
2023-08-04 00:56:52 +03:00
ConfiG
e3c2ca7417
fix mac build
...
workaround by using convertToWorldSpace instead of convertToWorldSpaceAR and setting the anchor point to 0,0
2023-08-03 21:27:57 +03:00
ConfiG
ebab230bf5
Merge remote-tracking branch 'origin/main'
2023-08-03 21:00:02 +03:00
ConfiG
8ce12278aa
new cool tabs 😎
2023-08-03 20:33:42 +03: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
HJfod
0a6d31ebb6
make all mods including disables ones be unzipped
...
this makes it so disabled mods' resources are loaded
2023-08-02 19:42:31 +03:00
ConfiG
363d27395c
fix some warnings
2023-08-02 18:04:37 +03:00
altalk23
4f6265ae32
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-08-02 15:58:51 +03:00
altalk23
fe8cb42129
change getSaveDir and implement autoupdate macos
2023-08-02 15:58:37 +03:00
HJfod
912b766ecb
fix text input not being clickable
2023-07-30 22:21:26 +03:00
HJfod
8c567a57fd
make menu detachment code generic
2023-07-30 22:20:55 +03:00
HJfod
f8da81625f
change select channel button string id to be more specific
2023-07-30 12:03:25 +03:00
HJfod
138fdbb1a4
fix CustomizeObjectLayer bindings and menus not hiding on mode change
2023-07-29 23:58:13 +03:00
HJfod
f78969ca83
replace uses of touch priority and registerWithTouchDispatcher
2023-07-29 20:56:55 +03:00
HJfod
e00b3a6a7f
add option to disable last crashed popup
2023-07-29 20:56:46 +03:00
HJfod
6d92bb817f
add CustomizeObjectLayer ids
2023-07-29 20:44:24 +03:00
HJfod
8ca2b99d7c
fix spacers not actually taking any space
2023-07-29 20:39:50 +03:00
HJfod
8027b807e5
fix switchToMenu assuming nodes to have a parent
2023-07-29 20:39:25 +03:00
altalk23
b558962f2f
fix main.mm includes
2023-07-08 17:08:24 +03:00
altalk23
26e38ecbab
Change geode loading order, auto updating not implemented yet
2023-07-08 16:38:09 +03:00
altalk23
07d9fcbc0d
Fix windows wine crashing on static init time
2023-06-30 17:27:19 +03:00
altalk23
4ad8b486ff
implement save and open panel
2023-06-25 19:52:01 +03:00
altalk23
f5e57380aa
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-06-24 00:45:21 +03:00
altalk23
7e70daf5a0
fix getMousePos for macchew
2023-06-24 00:45:13 +03:00
ConfiG
e98a756361
unsillify dllmain and better early errors
2023-06-11 01:53:25 +03:00
ConfiG
9acb07229b
move loadGeode call to geode's DllMain
2023-06-11 00:33:17 +03:00
altalk23
991e714810
check if the github tag exists before downloading
2023-06-10 16:35:51 +03:00
ConfiG
7097ab4d89
dont try latest on error when downloading res
2023-06-10 15:53:17 +03:00
ConfiG
46fab0e821
use weakly_canonical in getGameDir and getSaveDir
2023-06-10 15:49:55 +03:00
ConfiG
3eb686c4b5
improve updater code
2023-06-10 13:57:12 +03:00
matcool
8f5c229f7c
use memcpy instead of WriteProcessMemory
2023-06-09 23:08:57 -03:00
matcool
681fb481a9
fix updateGeode() when geode or the update folder doesnt exist
2023-06-09 23:04:22 -03:00
ConfiG
884825488d
actually fix mac build
2023-06-09 19:09:28 +03:00
ConfiG
73e94193ef
fix mac build
...
i forgor 💀
2023-06-09 18:52:44 +03:00
ConfiG
3c1529caa6
split main.cpp per platform
2023-06-09 18:29:19 +03:00
ConfiG
7f772e9bee
open console early
2023-06-09 18:11:35 +03:00
ConfiG
d29f86ef3e
add upgrade path to new updater and xinput
2023-06-09 17:52:22 +03:00
ConfiG
692e227194
add LIBRARY_OUTPUT_DIRECTORY back
...
and change SIZE_T to size_t
2023-06-09 15:54:37 +03:00
ConfiG
ab5975aa9c
don't do c_str inplace
2023-06-09 15:48:01 +03:00
ConfiG
b47870e7e9
new proxy loader
...
- remove bootstrapper dll
- add updater exe
- remove createthread/loadlibrary calls
- and link instead to let windows load it
- needs mac port probably?
2023-06-09 15:39:35 +03:00
altalk23
4c4be3657a
add sigbus & print the crashlog
2023-06-08 23:54:39 +03:00
altalk23
dd7e18fb57
you didnt see me commiting a __builtin_trap shush
2023-06-08 23:09:17 +03:00
altalk23
3881e65511
make stacktrace make sense even if atos is missing
2023-06-08 23:07:40 +03:00
altalk23
9b58b3376b
Implement macos crashlog (wow this was hard)
2023-06-08 22:59:45 +03:00
altalk23
fd3fd9536e
fix crashlog to actually build (doesnt work on macos yet)
2023-06-08 19:22:51 +03:00
altalk23
9c3759b398
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-06-08 19:04:45 +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
qimiko
df7166711c
remove unsigned from table indexes
...
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
altalk23
20f461305b
addresses and crashlog
2023-06-02 21:56:59 +03:00
alk
d9c775651e
Update pickup fix for collectibles
2023-05-23 00:01:40 +03:00
alk
cdc80ffe9f
Add pickup trigger fix
2023-05-22 23:54:28 +03:00
camila314
392c6941fe
Implement update functionality
2023-05-18 10:20:04 -05:00
matcool
af8d4a04de
enable ansi color support for windows console, use it on logs
...
this will use gray for debug, blue for info, yellow for warning and red
for error
2023-05-06 13:32:34 -03:00
altalk23
56b7b66b93
fix getSaveDir not working with nonascii paths
2023-05-06 18:31:51 +03:00
altalk23
a968153331
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-05-01 18:41:36 +03:00
altalk23
0f6b173a11
handle the ui for major and minor versions
2023-05-01 18:41:18 +03:00
matcool
a1e9ac46b9
use wide version of winapi functions
...
This in theory should help with unicode support, as the old cocos2d
methods did not handle unicode well. However i was not able to test this
since vanilla gd itself doesnt launch on a non ascii path for me!
2023-05-01 11:18:35 -03:00
altalk23
b236a1daac
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-05-01 16:41:03 +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
alk
799a6672ce
Update util.cpp
2023-05-01 15:15:27 +03:00
altalk23
dc96da012d
don't rely on filesystem current_path
2023-05-01 14:47:25 +03:00
altalk23
d7ccfdef3e
revert mod.json resource and move markdowns
2023-05-01 13:06:46 +03:00
altalk23
144bb1baae
remove debug message box
2023-05-01 12:12:29 +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
altalk23
b7c2a422fd
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-04-28 15:04:13 +03:00
altalk23
c174f81998
make getGameDir weaklyCanonical
2023-04-28 15:03:58 +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
7af062f35d
fix fuzzy search
2023-04-27 11:28:39 +03:00
hjfod
50ff15c356
add public file watching api
2023-04-27 09:22:56 +03:00
altalk23
8842e8f793
fix pickFile on macos
2023-04-26 12:29:43 +03:00
hjfod
40f36bbeb8
make sure to also remove event listeners from the toAdd queue
2023-04-20 11:24:45 +03:00
HJfod
9deb5a8a09
add some bindings
2023-04-16 21:45:22 +03:00
HJfod
a5f3fe10c7
fix layouts not working properly on nodes whose scale isn't 1
2023-04-15 15:08:28 +03:00
HJfod
475499407f
fix Notification not being at the top of the scene tree
2023-04-15 14:20: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
d0d0b79578
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-04-10 14:35:27 +03:00
altalk23
f89cdcd78a
Fix macos crashing on hook enabling
2023-04-10 14:35:09 +03:00
HJfod
2ce5680a6a
fix weakref on CCTextInputNode
2023-04-10 12:59:23 +03:00
HJfod
bc840ecb98
minor formatting changes
2023-04-10 12:50:31 +03:00
altalk23
80b5b20efb
fix events, resources, and minor stuff
2023-04-10 12:49:59 +03:00
HJfod
208ba02279
add a fix for CCTextInputNode content size
2023-04-10 10:20:42 +03:00
HJfod
43a705ace1
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-04-09 18:36:10 +03:00
HJfod
2fe88f1c33
make Event::post return the ListenerResult
2023-04-09 18:35:08 +03:00
alk
80e75f2a4a
Add continue for null hooks
2023-04-09 18:30:48 +03:00
altalk23
22d138bee2
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-04-09 18:29:18 +03:00
altalk23
d7fd2a581d
error non virtual missing bindings on compile time
2023-04-09 18:29:11 +03:00
HJfod
97b7cbe211
fix AxisLayout::getSizeHint cross axis size
2023-04-09 15:09:05 +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
fac032f8b1
fix dev names being clickable in the dev popup (fix for #153 )
2023-04-07 20:25:55 +03:00
HJfod
cf69fa3b2f
fix WeakRef
2023-04-07 20:07:16 +03:00
hjfod
69ddb75bd9
always place new listeners at the front of the queue
2023-04-06 19:01:06 +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
6d77f841c9
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-04-05 18:18:21 +03:00
hjfod
993cd6fd7e
rework event listeners to add different queues for listeners
2023-04-05 18:17:53 +03:00
Fleeym
530551ec95
add bindings and ids for CustomSongWidget
2023-04-05 14:06:31 +03:00
hjfod
b44b5d3cd3
add SpacerNode & bring back Dispatch
2023-04-04 17:44:49 +03:00
HJfod
c1d4a89f8b
fix event listeners vector containing freed listeners
2023-04-03 21:04:56 +03:00
hjfod
75580a01ae
changelog stuff
...
- make changelog visible in-game
- fix issues with the changelog in ModInfoPopup & scrollbar
2023-04-03 10:43:52 +03:00
hjfod
2efe772329
fix crash if event listener is destroyed while they are being iterated
2023-04-03 09:36:38 +03:00
HJfod
21ee6894cf
fix EditLevelLayer not properly handling the id and layout of desc btn
2023-04-02 16:14:31 +03:00
HJfod
9fb5051f80
fix mod resources not being updated when a mod is enabled at runtime
2023-04-02 16:00:17 +03:00
HJfod
152f90cf67
add option to ignore invisible children to Layout
2023-04-02 14:43:39 +03:00
HJfod
83fe2bb679
Merge branch 'addEventListener' of https://github.com/geode-sdk/geode into addEventListener
2023-04-01 17:21:02 +03:00
HJfod
eabb68bbcf
fix circle button sprite size
2023-04-01 17:20:49 +03:00
hjfod
0e4636284b
fix multiple weak refs causing a memory leak
2023-03-31 11:36:54 +03:00
HJfod
e92541a655
add WeakRef
2023-03-30 22:07:57 +03:00
HJfod
83b0850878
fix scrollbar going funky on DevTools description
2023-03-30 19:20:17 +03:00
HJfod
585a9de18d
fix scrollbar hitbox being goofy due to ignoring anchor point position
2023-03-30 18:45:27 +03:00
HJfod
35f7f86e6d
add optional ids to node event listeners + properly clean them up
2023-03-29 22:07:33 +03:00
hjfod
69bd0d99ef
add AttributeSetEvent
2023-03-29 16:05:20 +03:00
hjfod
7963469f1e
make attributes use json::Value instead of std::any
2023-03-29 15:23:57 +03:00
hjfod
38575ac825
add CCScene::get + CCScheduler::get + CCNode::hasAncestor
2023-03-29 11:11:22 +03:00
HJfod
22a6745b74
make Mod::getResourcesDir return resources/{mod.id}
2023-03-26 10:39:40 +02:00
hjfod
52c308e65d
event stuff
2023-03-25 18:22:34 +02:00
HJfod
9bdd9fc526
add event listener stuff
2023-03-23 21:42:01 +02:00
HJfod
93fd396ed9
ensure mod events are only posted in gd thread
2023-03-21 22:01:10 +02:00
HJfod
6b67789b63
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-03-19 15:29:25 +02:00
HJfod
81472c9ab5
make Layout inherit from CCObject
2023-03-19 15:02:49 +02:00
matcool
db9ea383a3
prevent mod from trying to resolve multiple times
2023-03-19 09:37:04 -03:00
camila314
8fc23e14da
make mac pos accurate to cocos2d positioning
2023-03-16 20:06:19 -05:00
camila314
d7b0e09779
mouse and file picker impl for mac
2023-03-16 19:42:30 -05:00
matcool
306fde70d0
add util geode::cocos::getMousePos
2023-03-11 11:40:03 -03:00
HJfod
5f3c6587b3
add CCNode::removeChildByID
2023-03-11 10:19:26 +02:00
PoweredByPie
5af15fba7c
Add geode::prelude
to replace USE_GEODE_NAMESPACE()
...
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00
mat
162979c2da
fix error message in enableHook
2023-03-08 20:01:04 -03:00
HJfod
0a37b01845
fix max size of editor button sprites
2023-03-08 19:31:07 +02:00
hjfod
eb0e4b6b1e
delete geode/unzipped on startup if it exists
2023-03-08 13:23:42 +02:00
hjfod
b88eda0fde
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-03-08 08:38:25 +02:00
hjfod
ebfa7b2af4
fix loader min mod version
2023-03-07 08:50:20 +02:00
HJfod
00852654ad
fix layout infinite recursion issue + EditorPauseLayer object labels
2023-03-06 21:55:02 +02:00
altalk23
abad98f951
Fix autoEnableHook not affecting mod enabling
2023-03-02 01:13:32 +03:00
altalk23
e89a792293
Fix conversion of integer to string
2023-03-02 01:09:07 +03:00
altalk23
ceeea0bd51
Make the field fix only a minor change
2023-03-02 01:08:25 +03:00
altalk23
f6dd88aed1
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-03-02 01:02:19 +03:00
altalk23
7710fa91b8
Fix field index, allow Parent* conversion of field
2023-03-02 01:02:09 +03:00
HJfod
5c9ee08922
fix file open dialog default path not having a way to specify filename
2023-02-26 20:37:13 +02:00
altalk23
63b4774813
Unload the mod when first time warning pops up
2023-02-26 17:39:40 +03:00
altalk23
6aba7cfdec
Make log not throw, but warn on invalid format
2023-02-26 17:25:11 +03:00
altalk23
02b56abf4a
Fix EditorUI build category tab spacing
2023-02-26 16:42:44 +03:00
altalk23
8fc8413298
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-02-26 16:28:28 +03:00
altalk23
f5983a251e
fix editorpauselayer guideline button missing
2023-02-26 16:28:02 +03:00
matcool
1dfa907c92
include commit hash in geode mod info popup
2023-02-26 09:49:14 -03:00
altalk23
67f5c87ea8
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-02-26 15:34:13 +03:00
altalk23
d024dbb858
fix macos crash on opening (typeinfo_cast nullptr)
2023-02-26 15:33:00 +03:00
HJfod
4d2daec7df
api break yahoo!!! fix BasedButtonSprite names and top node scaling
2023-02-26 12:46:55 +02:00
HJfod
9f60091fbb
add file::readDirectory as a sane alternative to file::listFiles
2023-02-25 11:21:43 +02:00
HJfod
00550323e5
add Mod::getResourcesDir for getting the mod's resources directory
2023-02-25 11:10:36 +02:00
HJfod
7089194be9
fix setting value changes not being broadcast
2023-02-24 21:30:36 +02:00
HJfod
93bf3e7121
no more need to specially add internal mod
2023-02-24 21:30:26 +02:00
HJfod
4261e99049
make internal mod be included the usual mods list
2023-02-24 21:29:58 +02:00
HJfod
3222097029
make getLoadedMod and isModLoaded only return if the mod is also enabled
2023-02-24 20:52:12 +02:00
HJfod
12d88aedc4
finish EditorPauseLayer layouts and ids
2023-02-23 22:23:19 +02:00
HJfod
da815aba72
fix positioning in single line
2023-02-23 22:22:46 +02:00
HJfod
4613af6791
change CCNode::insertBefore behaviour to insert at the start if nullptr
2023-02-23 22:03:20 +02:00
HJfod
295aedbdb5
add cross axis line alignment to layouts
2023-02-23 21:18:43 +02:00
HJfod
b6c1c8b66e
layouts now work fr fr
2023-02-23 20:46:02 +02:00
HJfod
0e7a3f6f3f
finish layouts!!
2023-02-23 16:32:52 +02:00
HJfod
8fb118fb12
Merge branch 'better-layouts' of https://github.com/geode-sdk/geode into better-layouts
2023-02-22 16:06:46 +02:00
hjfod
5d9857f77d
working on finishing layouts
2023-02-22 14:31:15 +02:00
hjfod
bbbf3324eb
versions now support tag numbers + tags are now used in comparisons
2023-02-22 12:19:17 +02:00
HJfod
d809d5f939
remove the test onMoreGames hook from MenuLayer
2023-02-20 19:42:57 +02:00
HJfod
0cfa4a42fe
add back isAPI impl
2023-02-19 22:04:46 +02:00
HJfod
511938fe1c
Merge branch 'main' into better-layouts
2023-02-19 19:58:47 +02:00
mat
54e082e8d5
fix build for cross compilation clang
2023-02-17 15:41:10 -03:00
hjfod
80a3ce60d2
layout prio almost works
2023-02-17 17:25:53 +02:00
HJfod
060ea5865c
layout testing
2023-02-15 21:25:12 +02:00
hjfod
3827a00964
adding new big stuff to layouts, this def wont work
...
also removed PositionHint
2023-02-15 16:02:56 +02:00
matcool
37361269ec
move Addresser::followThunkFunction to source
2023-02-14 18:28:13 -03:00
HJfod
ffd50eb0f1
fix ranges::reverse + add break line option to AxisLayoutOptions
...
also EditorPauseLayer ids but didn't finish the layouts yet
2023-02-14 21:54:45 +02:00
hjfod
f7ddf0af2e
EditorUI ids finished!
2023-02-14 15:58:57 +02:00
HJfod
7a4a1b078b
more editorui layouts + AxisLayoutOptions
2023-02-13 22:09:16 +02:00
HJfod
c08c19b440
Merge branch 'main' into better-layouts
2023-02-13 19:50:37 +02:00
HJfod
ea037a9ccb
make layouts responsive to different screen sizes
...
also add CCSize::aspect convenience method
2023-02-13 19:49:51 +02:00
hjfod
5a1545ebc1
CCEGLView::getDisplaySize and other bindings
2023-02-13 18:31:32 +02:00
alk
bce9d3a013
Merge branch 'geode-sdk:main' into main
2023-02-12 14:45:36 +03:00
HJfod
cb1a6f15ee
update a lot of ids
2023-02-12 13:01:12 +02:00
altalk23
74d1527412
move static log stuff to source
2023-02-12 13:44:29 +03:00
hjfod
a78bc0c9c8
more layouts
2023-02-11 23:14:04 +02:00
HJfod
ef9e741bf9
add a bunch of layouts and ids
2023-02-11 21:13:35 +02:00
HJfod
eb10eca6e5
add CCNode::insertBefore and CCNode::insertAfter
2023-02-11 21:13:22 +02:00
HJfod
3f64b98cf1
update MenuLayer ids
2023-02-11 19:34:40 +02:00
HJfod
187e360201
fix layout crash if some node is too large to fit in any row
2023-02-11 19:30:55 +02:00
HJfod
8fd027531b
impl even layouts
2023-02-11 19:03:23 +02:00
HJfod
f5ce865b55
add AxisLayout::create
2023-02-11 17:50:14 +02:00
HJfod
ba0851e4fa
fix swapChildIndices not also swapping z order and order of arrival
2023-02-11 12:57:35 +02:00
HJfod
8890901af5
add child order update option to CCNode::updateLayout
2023-02-11 12:06:37 +02:00
HJfod
676b96a34f
add getters for AxisLayout
2023-02-11 12:06:01 +02:00
HJfod
3fb8c2be83
reset child z order when applying layouts
2023-02-11 12:05:25 +02:00
HJfod
92e9ce09e8
Merge branch 'main' into better-layouts
2023-02-10 16:07:20 +02:00
camila314
0cfb064631
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-02-09 09:45:11 -06:00
camila314
41aef57758
make >= default prevent issues
2023-02-09 09:45:06 -06:00
altalk23
688b8c4ac9
compile only a singe objcpp file
2023-02-09 13:25:23 +03:00
HJfod
8147d6d28d
grid layout works!!
2023-02-08 21:45:29 +02:00
matcool
28b26220c8
force ModImpl::m_saved to an object when loading saved.json
2023-02-08 15:29:48 -03:00
altalk23
345625e164
rename loading error
2023-02-08 21:23:34 +03:00
altalk23
0eb5f01ca8
make mod binaries not load not silently fail
2023-02-08 21:18:47 +03:00
altalk23
4ecc4ac23a
fix modinfo impl ctor being broken
2023-02-08 20:52:54 +03:00
HJfod
ecfb90b252
column squishing works
2023-02-08 19:05:08 +02:00
altalk23
04dd151f0e
minifunction replacing compiles
2023-02-08 18:25:07 +03:00
altalk23
d31d95d6bf
somewhat improve objc compile times
2023-02-08 17:43:31 +03:00
altalk23
478f70e900
fix filesystem pch breaking the impl
2023-02-08 17:37:37 +03:00
altalk23
4bf6344def
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-02-08 16:44:23 +03:00
altalk23
4f259c6e3a
forward filesystem
2023-02-08 16:42:34 +03:00
camila314
1f7d50a9b9
fix potentially modifying event listeners set while iterating
2023-02-07 13:58:21 -06:00
HJfod
783edf7bb7
ok i fixed a bunch of stuff but squishing columns is still a lil weird
2023-02-07 21:44:21 +02:00
HJfod
50cf18bcc4
attempting to add grid layout impl
2023-02-06 21:36:08 +02:00
HJfod
e36a5aea35
rework layouts
2023-02-04 15:58:10 +02:00
HJfod
d09b74eb34
working on a layout rewrite
2023-02-04 11:33:22 +02:00
HJfod
d23563a9c0
Revert "working on a layout rewrite"
...
This reverts commit ecbfd5ad0f
.
2023-02-04 11:28:33 +02:00
HJfod
ecbfd5ad0f
working on a layout rewrite
2023-02-02 17:08:13 +02:00
HJfod
6d3847d9e1
change equal perfix from == to =
2023-02-01 23:43:10 +02:00
HJfod
98496182f9
fix build errors
2023-01-31 21:56:50 +02:00
HJfod
fa94a56ea0
fix Unzip::extract failing if the extractable file is empty
2023-01-31 21:31:41 +02:00
altalk23
51990ad89b
make ModInfo pimpl
2023-01-31 16:44:28 +03:00
HJfod
f32aaa8b12
add better support for dependencies
...
- create_geode_file now redirects to a new function called setup_geode_mod
- setup_geode_mod auto-links loader
- setup_geode_mod invokes CLI (if v1.4.0+) to automatically check your dependencies and install them + link their headers and libs to your project
- fix Result::expect not working on non-copiable types
- add in-memory functions for file::Zip and file::Unzip
- ComparableVersionInfo now always returns false if major versions dont match
2023-01-31 14:48:34 +02:00
HJfod
5bbd34cd73
make sure m_saved in Mod is initialized to an object
2023-01-28 21:27:39 +02:00
HJfod
ef86ae03f1
fix next mod mutex not being released if mod failed to load
2023-01-28 21:18:54 +02:00
matcool
deab672bc2
json rewrite, use custom lib instead of nlohmann::json
...
This is in attempt to make compile times better, as the old json library
was quite slow to compile due to many template instantiations and such a
large header.
macOS tests have shown build times from 610s to ~390s, about a 1.5x
speedup
Co-authored-by: camila314 <47485054+camila314@users.noreply.github.com>
2023-01-27 21:14:26 -03:00
HJfod
30dc9ad220
add manual resource downloading instructions if automatic failed
2023-01-25 10:06:21 +02:00
altalk23
b6a6e4da12
add id priorities
2023-01-24 20:08:17 +03:00
altalk23
b00ab40ae2
remove handler fixes by replacing dynamic_cast
2023-01-24 19:52:51 +03:00
HJfod
3e54252c4e
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-01-24 18:17:42 +02:00
HJfod
a418828394
fix resources not being downloaded by fallbacking to github api
...
- also add an overload to AsyncWebRequest::expect that gives you the http status code
2023-01-24 18:17:03 +02:00
altalk23
ceb02e90a5
remove empty "fix" filea
2023-01-24 18:03:52 +03:00
altalk23
a90b3e18dd
remove meta and hook-core remnants
2023-01-24 18:03:52 +03:00
HJfod
8551071ac9
dont auto-update major versions
2023-01-24 14:12:54 +02:00
HJfod
1ea3309fac
add automatic updates
2023-01-24 12:00:19 +02:00
HJfod
6e426babdd
fix userTriedToLoadDLLs return value
2023-01-24 10:45:18 +02:00
HJfod
57fd2c25c2
fix Loader::userTriedToLoadDLLs definition on mac & ios
2023-01-24 10:37:02 +02:00
HJfod
ec28634c26
remove debug message whoops
2023-01-24 10:29:22 +02:00
HJfod
0012762c84
check if the user has loaded dlls and show a warning if so
2023-01-24 10:28:43 +02:00
HJfod
0ab93ee0a2
update index to geode-sdk/mods
2023-01-24 09:22:55 +02:00
HJfod
e4706c9aca
fix AEnterLayerEvent + resources not being loaded properly
2023-01-24 00:13:20 +02:00
HJfod
db32b910ea
fix resource paths not being updated on switch to fullscreen
2023-01-23 22:24:38 +02:00
HJfod
9be7bea66f
move tulip wrappers to their own namespace
2023-01-23 22:14:36 +02:00
HJfod
b9dfd1b115
make mods work without getting tuliphook link errors
2023-01-23 21:58:50 +02:00
HJfod
6839316a5d
adios lilac
2023-01-23 20:30:18 +02:00
HJfod
d264694700
update tuliphook to fix hooking cdecls
2023-01-23 16:53:43 +02:00
HJfod
2c2bb8d706
Merge branch 'tulip-hook' of https://github.com/geode-sdk/geode into tulip-hook
2023-01-21 22:44:37 +02:00
HJfod
8a9a183e08
update tuliphook version
2023-01-21 22:16:16 +02:00
altalk23
c72967abb5
fix setup compilation errors
2023-01-21 23:07:58 +03:00
HJfod
7f52356955
Merge branch 'tulip-hook' of https://github.com/geode-sdk/geode into tulip-hook
2023-01-21 19:02:59 +02:00
HJfod
e322cc5fae
fix internal mod being setup at static init time
2023-01-21 19:02:23 +02:00
altalk23
394cb96733
fix silly entry
2023-01-21 19:56:01 +03:00
altalk23
d8c0ba6799
fix internal mod setting up at static init time
2023-01-21 19:54:19 +03:00
HJfod
f089afc27c
fix includes + add some doccing
2023-01-21 16:00:14 +02:00
altalk23
dc0da9fc56
make it compile on macos
2023-01-15 02:00:59 +03:00
altalk23
a1c7139e53
I only changed the headers and not the sources to improve compile times a bit
2023-01-15 00:45:58 +03:00
altalk23
a1be695aab
replace modify checking implementation
...
i got distracted
2023-01-14 22:24:12 +03:00
altalk23
e47a5b4e27
fix the trysavegame hook
2023-01-14 19:31:56 +03:00
altalk23
a15e8cb30f
temporarily comment out trysavegame hook
2023-01-13 09:12:50 +03:00
altalk23
b97bb0cc98
Merge branch 'main' into tulip-hook
2023-01-06 22:09:53 +03:00
altalk23
ac238e54da
fix crashlog
2023-01-06 20:25:53 +03:00
altalk23
07e64c4dc9
remove cursed this->m_
2022-12-31 18:20:43 +03:00
altalk23
eb0ef4c045
format src/ids
2022-12-31 16:43:29 +03:00
altalk23
9e30870c79
Merge branch 'main' of https://github.com/geode-sdk/geode into tulip-hook
2022-12-26 21:35:29 +03:00
HJfod
56cfbde73d
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-17 19:08:15 +02:00
HJfod
2d7ce01b1f
fix resource download freezing the game
2022-12-17 19:08:01 +02:00
HJfod
6a8fec3a9f
fix markdown not adding newlines after list items
2022-12-17 17:03:11 +02:00
camila314
4dd5dc67c2
pauselayer ids
2022-12-16 10:24:29 -06:00
camila314
47cce30351
fix start pos menu crash
2022-12-14 12:35:26 -06:00
camila314
b3c88d349e
EditLevelLayer ids
2022-12-14 11:54:32 -06:00
altalk23
ac40e4c8fb
fix tuliphook result and windows messageboxfix
2022-12-14 17:25:25 +03:00
altalk23
1bdc8f408c
Update TulipHook and fix some really minor stuff
2022-12-14 17:17:52 +03:00
altalk23
641c56e7be
fix merge artifacts as usual
2022-12-14 16:01:01 +03:00
altalk23
bcfe6a6914
Merge branch 'main' into tulip-hook
2022-12-14 15:38:38 +03:00
altalk23
1359a26c5e
Merge branch 'main' of https://github.com/geode-sdk/geode
2022-12-14 14:50:58 +03:00
altalk23
5efee1e42f
do a funny by reverting the internal naming back to impl
2022-12-14 14:50:46 +03:00
HJfod
f3fa425674
replace std::regex with re2
2022-12-14 13:50:16 +02:00
altalk23
5666c8f356
separate mod and impl
2022-12-14 14:11:19 +03:00
altalk23
950db7e474
Fix recursive stuff
2022-12-14 10:42:06 +03:00
altalk23
643abe64ab
seperate setup of mod
2022-12-14 09:47:09 +03:00
HJfod
1de4fd93f7
fix mac build pt. 3
2022-12-14 00:24:47 +02:00
HJfod
407ea1ba01
fix mac build pt 2
2022-12-14 00:05:10 +02:00
HJfod
bd79f275cc
fix mac build
2022-12-13 23:50:19 +02:00
altalk23
962dca6ab2
fix cvs
2022-12-13 22:57:20 +02:00
HJfod
f42fdfcf55
fix merge + make sure test mods aren't installed again
2022-12-13 22:51:09 +02:00
HJfod
afd9258995
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-13 22:42:49 +02:00
HJfod
9ffb15b616
rework settings
...
- Settings no longer abuse templates
- Custom settings are now supported (finally)
- Bumped version to v1.0.0-alpha
2022-12-13 22:39:45 +02:00
altalk23
0c506ea46c
fix cvs
2022-12-13 20:44:56 +03:00
altalk23
d7b1d9ba70
fix macos tulip-hook, it works
2022-12-13 18:34:09 +03:00
altalk23
cef0f3f3bb
hooks try to get enabled
2022-12-13 16:32:49 +03:00
altalk23
eeb4bea97a
fix windows compilation
2022-12-13 13:41:34 +03:00
altalk23
c605c24f26
Merge branch 'main' into tulip-hook
2022-12-13 13:30:34 +03:00
altalk23
5e1d1eccdb
remove schedules, also make Mod::get() lazy
2022-12-13 12:23:37 +03:00
altalk23
63671c9618
compilation test
2022-12-13 10:35:26 +03:00
altalk23
3dae2d0b43
Merge remote-tracking branch 'main-repo/main' into main-repo/tulip-hook
2022-12-13 08:00:06 +03:00
matcool
25fcc35dad
define NOMINMAX
2022-12-12 21:30:15 -03:00
matcool
2c3520f454
Add CPM.cmake, use it for external libraries
...
this removes submodules and external libraries in the code in favor of
importing them as CPM packages. CPM_SOURCE_CACHE is recommended as
codegen has to readd two of the same dependencies
2022-12-12 18:20:24 -03:00
mat
8f0a132780
log::critical -> log::error in MessageBoxFix.cpp
2022-12-12 17:44:49 -03:00
camila314
550e87377d
optimize util slightly
2022-12-12 14:06:04 -06:00
camila314
c440aaa7cc
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-12 13:33:14 -06:00
camila314
98bae53959
LevelSettingsLayer string ids
2022-12-12 13:32:44 -06:00
HJfod
189040ac78
thingies
...
- rename LayerBG.hpp to General.cpp
- add addListBorders UI function for adding comment borders to a list
- change VersionInfo parsing to use streams
- remove VersionInfo::validate and instead just have VersionInfo::parse
- remove scnlib
2022-12-12 18:44:17 +02:00
altalk23
5c9066618d
add debug texts
2022-12-12 19:41:42 +03:00
altalk23
437a996b14
fix compilation errors
2022-12-12 19:23:11 +03:00
altalk23
459add6022
add tulip hook first commit
2022-12-12 18:42:56 +03:00
HJfod
c8e7ce0b18
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-12 15:45:43 +02:00
HJfod
4c4674da93
add suffixes to versions
2022-12-12 15:45:27 +02:00
altalk23
c99104909a
Merge branch 'main' of https://github.com/geode-sdk/geode
2022-12-12 15:40:17 +03:00
altalk23
a47937c379
remove spinlocks & make sent async response pimpl
2022-12-12 15:40:05 +03:00
HJfod
ef55605b5b
remove SafeCreate for being pointless
2022-12-12 14:11:14 +02:00
HJfod
c1b5a16e27
fix loader impl not loading hooks
2022-12-12 14:03:15 +02:00
HJfod
5e8a321a36
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-12 13:47:22 +02:00
HJfod
d95c2f3e3c
loader stuff
...
- remove InternalLoader info alerts
- make sure mods that need early load are early loaded
2022-12-12 13:46:00 +02:00
altalk23
ca61385f0d
Merge branch 'main' of https://github.com/geode-sdk/geode
2022-12-12 14:42:47 +03:00
altalk23
d5e0582934
Fix compilation caused from merging
2022-12-12 14:42:20 +03:00
altalk23
a449225d60
Merge branch 'altalk'
2022-12-12 14:09:16 +03:00
HJfod
3897293862
add file::Zip utility for creating Zip files
2022-12-12 12:45:20 +02:00
HJfod
0178b63102
fix mod loading
...
- Loader::refreshModsList and Loader::loadModsFromDirectory now return void instead of Result and don't fail if one of the mods fail to load
2022-12-12 11:12:37 +02:00
HJfod
9fe9853325
implement back monkey patch to center mod icons on featured bg
2022-12-12 00:49:13 +02:00
HJfod
571d33fa9b
add filtering by developer (will rework later)
...
- rn how it works is that it just filters the list when you click the dev name, although honestly this is kinda neat too
2022-12-12 00:36:26 +02:00
HJfod
afe57c4bc1
add featured items to Index
...
- also fix index checksum not being saved if you close the game with the console X button like i do when developing
2022-12-12 00:19:54 +02:00
HJfod
596c806fa4
bring back searching
...
- yeah that
- also Index::getTags for getting all tags in index now
2022-12-11 23:50:08 +02:00
HJfod
49fbf9c2e4
clean up ModListLayer.cpp
2022-12-11 21:20:03 +02:00
HJfod
f59e82f682
change how tag node colors work to just pick one from a predefined array
2022-12-11 21:17:08 +02:00
HJfod
f8c307dd6e
update tag node to look less bad
2022-12-11 20:36:32 +02:00
HJfod
880b0dab41
fix loader crashing if mods fail to load (again)
2022-12-11 20:23:42 +02:00
HJfod
9e3e9ed856
fix some uses of m_ in structs
2022-12-11 19:45:33 +02:00
HJfod
6456a3fcc5
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-11 19:39:00 +02:00
altalk23
a137fd9637
fix filesystem for windows
2022-12-11 14:37:57 +03:00
camila314
9465d7ff75
UILayer id
2022-12-10 23:10:52 -06:00
camila314
08df8c627a
GJGarageLayer ids
2022-12-10 22:54:09 -06:00
altalk23
3a31efe113
implement pimpl for loader
2022-12-10 19:30:14 +03:00
camila314
5921c96bcb
string id helpers and editorui fully done
2022-12-09 23:08:25 -06:00
HJfod
286bdb2bc6
standardization
...
- remove m_ prefix from structs
- make IPC event members public
- make IPC event reply as json
2022-12-09 21:29:21 +02:00
HJfod
b3b5370c4b
remove advanced settings as early load is handled through mod.json now
2022-12-09 21:00:31 +02:00
HJfod
3b1a11e11f
index work
...
- installing mods works again
- add EventListener::setFilter
- fix loader panicking if some mods failed to load
2022-12-09 15:13:08 +02:00
HJfod
92c22d25e4
rename UpdateError to UpdateFailed
2022-12-09 12:53:49 +02:00
camila314
44bcf1844a
macos dir issue
2022-12-08 21:25:58 -06:00
HJfod
7397193e57
index is looking good
...
- mod dependencies reworked to be much less bad and actually good now
- mod dependencies finally check the version
- support for dynamic versions for dependencies (<=vX.X.X, ==vX.X.X, >=vX.X.X)
- index is now ready for implementing mod installation, then we're done with this massive sausage package
2022-12-09 00:28:05 +02:00
HJfod
28b413d636
make VersionInfo constexpr
2022-12-08 22:04:02 +02:00
HJfod
17a13f22cc
add update indicator back to MenuLayer
2022-12-08 21:31:10 +02:00
HJfod
84bdeb7beb
index work!!
...
- add tag support for index
- rename CategoryNode to TagNode
- add them back to the UI + fix spacing issues related to them
- deleted ModListView, now using a generic ListView with the mod cells added as children to it
2022-12-08 21:15:06 +02:00
camila314
77bd2743d4
loader cleanup
2022-12-08 12:00:23 -06:00
HJfod
311eb2e356
work
...
- fix file::listFiles
- temporarily make loader mod min version very low to work with index
- index now properly updates
2022-12-08 13:35:02 +02:00
HJfod
9da9493816
fix Unzip::intoDir not deleting the zip after
2022-12-08 13:08:45 +02:00
HJfod
037602ecea
more work on index
...
- fix index not being a static instance
- fix small stuff related mods list UI including index updating and error messages
- fix Unzip directories not being created relatively properly
2022-12-08 13:06:11 +02:00
HJfod
82c3179885
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-08 11:53:49 +02:00
camila314
282797b0ea
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-07 13:39:09 -06:00
camila314
6331c37ac6
what did i do
2022-12-07 13:39:07 -06:00
HJfod
e0d7dbf15b
index is now download correctly + that is reported in the UI
2022-12-07 21:21:50 +02:00
HJfod
996acf15aa
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-07 12:37:10 +02:00
HJfod
b4b9986fa5
tryna fix crash due to events
2022-12-07 12:35:50 +02:00
HJfod
956ad1d6d5
many changes for updating Index
...
- events now follow a public const member pattern instead of getters
- more file utils
- ModInfoLayer split into LocalModInfoPopup and IndexItemInfoPopup to reduce uses of ugly variant
- same with ModCell
- lots of restructuring related to UI anyway
- Index also got tons of redesigning
- much more i've forgotten
- this commit compiles, surprisingly enough, but it's not usable as installing mods through index was removed
- remove duplicate LevelSearchLayer ids
2022-12-06 21:22:03 +02:00
HJfod
08934132d8
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-04 18:41:14 +02:00
altalk23
20a2dc9f07
fix events and cleanup
2022-12-04 19:39:40 +03:00
altalk23
c116b47a61
Merge branch 'altalk' of https://github.com/altalk23/geode into altalk
2022-12-03 17:28:09 +03:00
alk
780aaf33f8
remove getFieldIndex from Intermediate
2022-12-03 16:59:55 +03:00
alk
cf4f058945
Move getFieldIndexForClass to source
2022-12-03 16:51:46 +03:00
altalk23
e8fcb57c9f
some formatting
2022-12-03 15:24:31 +03:00
altalk23
a776b167a9
merge geode-sdk/main
2022-12-03 14:49:52 +03:00
altalk23
67d26ac6a7
fully fix result impl
2022-12-03 14:35:28 +03:00
camila314
9b34e2fe72
header fix
2022-12-02 13:00:26 -06:00
camila314
3d393362e0
cleanup structure by a lot
2022-12-02 12:14:08 -06:00
altalk23
9838f51f07
Merge branch 'altalk' of https://github.com/altalk23/geode into altalk
2022-12-02 18:41:08 +03:00
altalk23
0803f83355
completely replace result impl - TODO: fix unzip
2022-12-02 18:40:51 +03:00
HJfod
a11c526066
fix file::createDirectory + fix Notification warning
2022-12-01 22:44:44 +02:00
HJfod
a8cc48f35a
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-01 22:43:11 +02:00
HJfod
66d12395e1
work on new index
...
- add PlatformID::from string
2022-12-01 22:42:49 +02:00
HJfod
3656e4e6de
Merge pull request #91 from cgytrus/main
...
Fix wrong usage of create_directory/create_directories API
2022-12-01 20:36:33 +00:00
camila314
cc84d821d9
macos std vector fix
2022-12-01 13:53:17 -06:00
ConfiG
33ccfdfd35
fix wrong usage of create_directory(ies) api
2022-12-01 17:11:44 +03:00
camila314
74a8449533
file utils fix
2022-11-30 12:35:45 -06:00
camila314
655154518a
windows fix v2
2022-11-30 11:35:17 -06:00
HJfod
f9b6595073
actually add Dirs files
2022-11-30 19:19:37 +02:00
HJfod
f73d1042a3
move directories away from loader into new dirs namespace
2022-11-30 19:19:00 +02:00
camila314
25d4f2e5c0
windows fix
2022-11-30 11:05:14 -06:00
camila314
3ec28e7420
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-11-30 10:52:19 -06:00
camila314
130e3fb834
ipc is good now
2022-11-30 10:51:38 -06:00
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
HJfod
662a9e99f5
big cocos reworks
...
- remove cocos2dx folder
- change all include paths in cocos2d to be relative
2022-10-17 15:46:36 +03:00
HJfod
843b1ac44f
will revert this later
2022-10-17 12:25:56 +03:00
HJfod
86c1956790
Merge branch 'main' into layout
2022-10-17 00:05:14 +03:00
HJfod
0a1b5c9281
i forgot to add the LayerBG header
2022-10-16 21:37:18 +03:00
HJfod
ee68a73629
Merge branch 'main' into layout
2022-10-16 21:36:27 +03:00
HJfod
a38743d01d
textureldr stuff
...
- reworked mod resource loading again
- added `Loader::addTexturePath` and `Loader::removeTexturePath` for texture pack managers to add search paths
- added `LayerBG.hpp` header with `createLayerBG` function for creating the blue background GD layers have
2022-10-16 21:34:16 +03:00
matcool
9e38af5070
add begin and end to gd::vector
2022-10-16 00:08:20 -03:00
HJfod
49c5bbf2eb
use ranges instead of vector
2022-10-15 21:50:03 +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
787c0ba91c
deprecate utils::vector and utils::container and replace them with
...
utils::ranges
2022-10-15 21:44:35 +03:00
HJfod
4b842e5f2a
v0.5.0
...
- add `CCFileUtils::get`
- turns out i was doing semver wrong. i'm deeply sorry. read: https://www.twitlonger.com/show/n_1ss44g2
- fix MenuLayer crashes related to node IDs
- remove `Loader::updateModResourcePaths` and `Loader::updateResourcePaths`. Loader minimum mod version is still v0.4.0 however, as you should not have used these ever.
- rework how mod resources are added
2022-10-15 20:19:20 +03:00
HJfod
fb22ca5734
fix MenuLayer nullptr derefs
2022-10-15 19:16:26 +03:00
HJfod
6b83463972
fix merge conflicts
2022-10-15 19:03:13 +03:00
HJfod
c926f69790
Merge branch 'main' into layout
2022-10-15 18:49:07 +03:00
HJfod
bb7bd87dfc
ready for v0.4.8
...
- move LoadingLayer resource download info to loading text
2022-10-15 18:35:13 +03:00
HJfod
57b32182c8
update resources to use hashes again (CLI v1.0.6 should fix the issues)
2022-10-15 18:22:09 +03:00
matcool
7c410c4628
hotfix resources repair
2022-10-14 19:10:19 -03:00
alk
bd97f25958
Change pch to not use Geode.hpp and change mod disable popup ( #52 )
...
* replace pch
* update disable popup
2022-10-14 23:42:35 +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
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
563b3b8445
reremove installticket
2022-10-13 16:24:55 +03:00
altalk23
7748f2300a
fix index.cpp
2022-10-13 16:18:48 +03:00
altalk23
1822860d50
Merge altalk23:main
2022-10-13 15:43:34 +03:00
altalk23
80796b9ca4
uncomment settings.cpp
2022-10-13 14:18:00 +03:00
altalk23
6350feae74
fix crashlog.cpp for windows
2022-10-13 14:17:23 +03:00
altalk23
92099a9ba5
fix messageboxfix
2022-10-13 14:08:48 +03:00
altalk23
f91bad2acc
fix codegen dir
2022-10-13 14:03:50 +03:00
altalk23
070474dd18
some header fixings and more compile time improvements
2022-10-13 14:00:41 +03:00
altalk23
97456db101
more removal of geode.hpp headers
2022-10-13 13:07:37 +03:00
altalk23
cce4daf501
more compile time optimizations
2022-10-13 12:56:23 +03:00
altalk23
1cfc793f7c
seperation of modify and bindings
2022-10-13 11:31: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
alk
0646ea95f8
Fix unformatted log::logs ( #45 )
...
* fix unformmated log::log functions
Co-authored-by: altalk23 <student@altalk23.local>
2022-10-12 21:34:13 +03:00
altalk23
377aa3f7ce
fix unformmated log::log functions
2022-10-12 21:31:33 +03:00
HJfod
081df4e0b5
dont use createWithCapacity
2022-10-11 22:37:59 +03:00
HJfod
843466391b
make sure it's closed
2022-10-11 22:22:42 +03:00
HJfod
69d7604e9d
fix problem with GD not starting up through Steam
2022-10-11 22:22:42 +03:00
HJfod
397f73c81f
make sure it's closed
2022-10-11 22:03:16 +03:00
HJfod
b38353a70f
fix problem with GD not starting up through Steam
2022-10-11 22:00:08 +03:00
HJfod
4e5ce3cdff
Merge branch 'main' into layout
2022-10-11 16:46:40 +03:00
HJfod
66285aeadf
fix setting crash on slider control disable + expose some internal ui
...
stuff for mods to use + update changelog
2022-10-11 16:45:56 +03:00
HJfod
1b90149227
bump version to v0.4.3 + fix max and min mod versions
2022-10-11 16:22:59 +03:00
HJfod
3659215347
add LevelBrowserLayer ids
2022-10-11 11:03:06 +03:00
HJfod
c213827131
add IDs to CreatorLayer
2022-10-10 23:39:33 +03:00
HJfod
132f522416
split MenuLayer menus into more logical groupings
2022-10-10 22:10:27 +03:00
HJfod
a5158c6330
Merge branch 'main' into layout
2022-10-10 21:07:19 +03:00
HJfod
7fea821c7e
fix log filenames
2022-10-10 21:00:32 +03:00
HJfod
3f7a9ed8d3
initial layout stuff
2022-10-10 20:58:47 +03:00
HJfod
1931e87c24
deprecate makeMenuSelector and replace all uses with actual member
...
functions ;-;
2022-10-09 16:24:24 +03:00
mat
38536692b7
Merge pull request #40 from matcool/ui-new-log
...
UI new log
2022-10-09 09:21:18 -03:00
matcool
23593f50dc
fix overload resolution for CCObject*
2022-10-09 09:18:17 -03:00
matcool
c5538da709
switch to {} style formatting for logs
2022-10-08 22:57:10 -03:00
altalk23
ae83610ec2
set save dir path for geode.loader
2022-10-08 20:26:23 +03:00
altalk23
0c19e0c75d
fix includes for macos
2022-10-08 18:20:32 +03:00
altalk23
1a5f07eae2
fix log deleting
2022-10-08 17:31:42 +03:00
altalk23
40bf7962ea
add crash log directory
2022-10-08 17:27:28 +03:00
altalk23
da998694a0
add clearLogs and virtual destructor to logs
2022-10-08 17:13:16 +03:00
altalk23
cb3a610407
remove internal_log
2022-10-08 17:05:53 +03:00
altalk23
6d5e02a6b4
completely remove interface + implement scheduling stuff
2022-10-08 16:53:09 +03:00
altalk23
496fcc9965
merge
2022-10-08 14:57:09 +03:00
altalk23
e67eaf7ec3
log scheduling
2022-10-08 14:56:41 +03:00
HJfod
a886605403
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
2022-10-08 14:11:36 +03:00
HJfod
959e1d08c3
code style fixes
2022-10-08 14:00:23 +03:00
altalk23
df4b4dbd9c
fix log not logging anything
2022-10-08 13:59:51 +03:00
altalk23
1b0f87c271
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
2022-10-08 13:30:39 +03:00
altalk23
92f27de390
interface includes
2022-10-08 13:30:31 +03:00
HJfod
4a1b8a67f3
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
2022-10-08 13:30:05 +03:00
altalk23
954cfdc3aa
fix internal mod includes
2022-10-08 13:24:45 +03:00
altalk23
41cce1c81f
fix resources not updating
2022-10-08 13:21:57 +03:00
HJfod
dbf8c4af22
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
2022-10-08 12:59:25 +03:00
altalk23
650849c242
fixed macos bootstrapper
2022-10-08 12:59:06 +03:00
HJfod
0c31238c44
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
2022-10-08 12:52:06 +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
altalk23
48ab98a115
macos fixes and implemented the bootstrapper without testing
2022-10-08 12:41:36 +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
07733c6fac
and also make MenuLayer use it
2022-10-06 23:36:48 +03:00
HJfod
7e6a46a9d4
more getters for cocos2d managers + bump version 0.3.1 + some addresses
...
+ give IDs to everything in MenuLayer when the controller is connected
2022-10-06 22:33:56 +03:00
HJfod
7370f78a6d
fix GEODE_PRETTY_FUNCTION on clang
2022-10-06 20:58:05 +03:00
HJfod
1b40d1a6da
move fields to be a member of a new GeodeNodeMetadata class that also
...
supports user objects again through proxies + string IDs for nodes +
fix nightly folder in cmake + fix codegen not hooking cocos2d funcs +
add every missing virtual to GeometryDash.bro + tons of other addresses
2022-10-06 20:46:07 +03:00
HJfod
b6b138953d
Merge branch 'ui' of https://github.com/geode-sdk/geode into ui
2022-10-05 15:45:31 +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
altalk23
b4c8d0f65a
fully works on macos
2022-10-04 17:26:20 +03:00
altalk23
d9a1fae5b0
compiles on macos, though there are still some crashes
2022-10-04 13:32:40 +03:00
HJfod
915e2f6966
update for new cli
2022-10-03 13:51:48 +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
64674166e8
add changelog tab
2022-09-30 00:30:25 +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
9881d3e75f
add issues key to mod.json for specifying where to report issues for
...
mods
2022-09-29 15:17:02 +03:00
HJfod
6af42cb41f
add some addresses + CCDirector::get and CCKeyboardDispatcher::get (does
...
MSVC actually allow this? what?)
2022-09-28 22:38:30 +03:00
HJfod
b8451a58a5
oops left my crash test code in
2022-09-28 21:44:57 +03:00
HJfod
6ed265aa85
improve createQuickPopup + show crash info on startup
2022-09-28 19:56:34 +03:00
HJfod
67c9dd30ce
remove awaitPlatformConsole from mac and ios
2022-09-28 19:22:26 +03:00
HJfod
1b8289a420
setting change events + remove platform console input queue + simplify
...
platform console API + add show-platform-console event listener
2022-09-28 19:15:27 +03:00
HJfod
5af74e9ab7
move internal mod json data to an actual json file + move platform
...
console from a cmake arg to an in-game setting
2022-09-28 17:38:02 +03:00
HJfod
e2cb16d919
add MDPopup for Markdown FLAlertLayers + support info & button to mods
2022-09-28 01:15:20 +03:00
HJfod
e4a63d428f
add repo button + geode repo to internal representation
2022-09-28 00:27:38 +03:00
HJfod
021b5f4ad3
finally fix scrollbar
2022-09-28 00:14:53 +03:00
HJfod
421cf4da84
in-game feature mods
2022-09-26 22:29:36 +03:00
HJfod
809d79f848
include operators.hpp
2022-09-26 18:34:54 +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
8e629cb2cf
preserve settings order (note: still need to change all uses of json to
...
ordered_json) + preliminary work on file setting
2022-09-23 22:25:20 +03:00
HJfod
faa269fe8a
move color pick popup to its own class so modders can use it :3 also
...
finish that thing
2022-09-23 21:42:52 +03:00
HJfod
19293e2fdf
now with color settings
2022-09-21 14:50:23 +03:00
HJfod
25fb983cb4
support disabling input
2022-09-19 23:17:39 +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
a30f5063e7
now with categories in UI
2022-09-05 13:23:51 +03:00
HJfod
ce925f0bb2
fix mod list enlarge sprite to make more sense + add more addresses
2022-09-05 01:10:11 +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
bfa5206704
working on better index filtering
2022-09-02 12:22:59 +03:00
HJfod
59ada9e7f0
filter mods to download by platform
2022-09-01 23:36:26 +03:00
HJfod
9eee266e86
fix mod enabling
2022-09-01 20:26:49 +03:00
HJfod
035091fbc2
working on more filters for index mods
2022-09-01 12:46:37 +03:00
HJfod
e6aee53f45
now uses MinHook on Windows ( 😨 )
2022-09-01 11:02:14 +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
78415153b5
mod sprite names now use directories instead of prefixes. note that this
...
commit will not work without manually removing the prefixes from loader
resources (and adding the directory prefixes to spritesheet keys) until
the CLI rewrite is finished
2022-08-29 00:16:30 +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
cc45578f0d
this should be all the header includes fixed?
2022-08-02 13:29:17 +03:00
HJfod
8a6d098ad4
how did windows even let that file build with a missing include
2022-08-02 13:24:44 +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