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