HJfod
8147d6d28d
grid layout works!!
2023-02-08 21:45:29 +02:00
matcool
ebe1dd7102
fix ScheduledFunction
2023-02-08 15:43:09 -03: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
mat
df00ad7b88
disable zstd support for minizip
...
this should fix some macos issues
2023-02-04 17:31:37 -03: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
ab0030136a
make CC_DLL not link
...
also remove uses of GEODE_ADD for docs
2023-02-02 00:03:01 +02:00
HJfod
0849323ea1
docs changes
2023-02-01 23:43:53 +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
HJfod
049ff650e4
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-01-31 21:20:05 +02:00
HJfod
6fe40e9c31
add gd string symbol fix on windows through cmake + fix dependencies
2023-01-31 21:19:43 +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
altalk23
5c2db47104
add concepts lib to addresser
2023-01-30 17:29:41 +03:00
altalk23
7c646c21df
add special care for CCScrollView
2023-01-30 14:10:39 +03:00
altalk23
e44a4bb513
make cached instance
2023-01-30 11:36:31 +03:00
altalk23
63e9b4c5f7
fix create overloads not recognising
2023-01-30 11:07:18 +03:00
altalk23
4aa09c085b
use std::enable_if for create checking
2023-01-30 11:02:32 +03:00
altalk23
68e75eafb5
fix HasCreate
2023-01-30 10:24:59 +03:00
altalk23
2f0c36f007
allow protected and private create funcs
2023-01-30 10:16:55 +03:00
altalk23
f385cc9d43
use ::create wherever you can
2023-01-30 10:06:58 +03:00
altalk23
1e9faac5aa
add exception for ccset
2023-01-30 09:53:20 +03:00
altalk23
ae1eb8bb71
add codegenned address -> handlermetadata map
2023-01-29 17:17:41 +03: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
altalk23
dd2672f665
add OSX_DEPLOYMENT_TARGET to loader too
2023-01-28 02:59:43 +03:00
HJfod
d8fb9a948a
dont add md4c and re2 if building docs
2023-01-27 14:10:44 +02:00
altalk23
c644b43468
fix cross compiling for clang windowsgit status uwugit status
2023-01-26 16:12:06 +03:00
altalk23
274ff02f9e
readd the function param
2023-01-25 20:30:18 +03:00
altalk23
c9f41c784c
fix asstaticfunction with nonbase virtuals
2023-01-25 20:29:13 +03:00
altalk23
fbf33adc6a
add log to adjust
2023-01-25 20:24:46 +03:00
HJfod
30dc9ad220
add manual resource downloading instructions if automatic failed
2023-01-25 10:06:21 +02:00
HJfod
6c557fa96a
minor docs stuff
2023-01-25 00:07:15 +02:00
HJfod
b25740dc98
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-01-24 21:50:52 +02:00
HJfod
befcf8ecfd
add icon for docs
2023-01-24 21:50:40 +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
287816a17c
bump version to v1.0.0-beta
2023-01-24 13:17:27 +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
matcool
53296bbb5e
remove old_cmake.txt
2023-01-23 15:54:49 -03:00
HJfod
6839316a5d
adios lilac
2023-01-23 20:30:18 +02:00
HJfod
9e52089a01
whoops turns out union cast is required to make it work
2023-01-23 19:51:51 +02:00
HJfod
e65f1184e7
remove use of union_cast
2023-01-23 19:45:29 +02:00
HJfod
21e25ff382
fix thunk adjust
2023-01-23 19:31:38 +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
51f70bc810
fix getMod being undefined because silly me marked it inline
2023-01-21 16:42:39 +02:00
HJfod
f089afc27c
fix includes + add some doccing
2023-01-21 16:00:14 +02:00
HJfod
c8e627d921
Merge branch 'main' into tulip-hook
2023-01-21 14:17:58 +02:00
HJfod
8d08ca07a0
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2023-01-21 14:17:45 +02:00
HJfod
f8737dde43
docs stuff i think
2023-01-21 14:17:33 +02:00
matcool
1b8123c997
fix ColorPickerDelegate
2023-01-19 22:20:43 -03:00
matcool
d093efbc8b
fix codegen issues
2023-01-19 21:58:22 -03:00
matcool
1a51754e65
Merge branch 'main' into tulip-hook
2023-01-19 20:18:24 -03:00
altalk23
cc3c768aa5
add default constructor
2023-01-19 14:31:32 +03:00
altalk23
6e0e822e22
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-01-19 14:27:55 +03:00
altalk23
4a548ab8fd
fix msvc string
2023-01-19 14:27:42 +03:00
alk
018a42a258
Update MiniFunction.hpp
2023-01-18 23:40:33 +03:00
alk
50eecc2c0b
Update MiniFunction.hpp
2023-01-18 23:10:00 +03:00
alk
db109bfdf2
Fix recursive ctor in minifunction
2023-01-18 23:05:37 +03: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
8c7be45226
fix TeleportPortalObject
2023-01-06 21:43:22 +03:00
altalk23
bfe05a77e2
add some gameobject offsets as anchors
2023-01-06 21:39:11 +03:00
altalk23
8fb5a84117
fix PlayLayer for macos
2023-01-06 21:30:06 +03:00
altalk23
ac238e54da
fix crashlog
2023-01-06 20:25:53 +03:00
altalk23
6ea61a993d
Merge branch 'main' of https://github.com/geode-sdk/geode
2023-01-06 20:21:21 +03:00
altalk23
c8cf6e20fd
fix appdelegate
2023-01-06 20:20:57 +03:00
matcool
1f789ae53b
add windows offsets and fix some classes
2022-12-31 17:32:31 -03:00
altalk23
07e64c4dc9
remove cursed this->m_
2022-12-31 18:20:43 +03:00
altalk23
eb3b84113c
i wasnt content with previous seedvalue impl
2022-12-31 18:02:48 +03:00
altalk23
a49f01b14f
remove templates from SeedValue
2022-12-31 17:50:11 +03:00
altalk23
318ec7864f
Add SeedValue utility for handling robtop's funny seed rand values
2022-12-31 17:28:05 +03:00
altalk23
eb0ef4c045
format src/ids
2022-12-31 16:43:29 +03:00
altalk23
fab8c1eae3
add some generic member tests to macos
2022-12-31 16:06:05 +03:00
altalk23
c8765adb5b
fix PlayerObject for macos
2022-12-31 15:48:05 +03:00
altalk23
1e58896a26
Merge branch 'main' of https://github.com/geode-sdk/geode
2022-12-31 15:33:33 +03:00
altalk23
45032a4511
Don't link the entirety of geode-sdk for membertest
2022-12-31 15:33:15 +03:00
matcool
09b127527b
Add CI for member tests, fix PlayerObject
...
also adds some offsets for windows
2022-12-31 09:09:39 -03:00
HJfod
486f5ab751
add stuff for docs genning and fix issues for it
2022-12-31 00:50:12 +02:00
altalk23
b87883903c
add member offset checker test
2022-12-30 22:13:45 +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
altalk23
b92b2ea608
Merge branch 'altalk'
2022-12-24 21:37:57 +03:00
altalk23
9cac3e68c6
replace ::scene impls, closes #26
2022-12-24 21:33:41 +03:00
altalk23
0a4cabf8f1
replacing modify constructor impls, havent tested
2022-12-24 21:13:53 +03:00
altalk23
313dd57b61
Revert "meta floating point vectorcall patch"
...
This reverts commit 608e18ee10
.
2022-12-19 16:26:05 +03:00
altalk23
608e18ee10
meta floating point vectorcall patch
2022-12-17 23:04:51 +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
87b8138433
Merge branch 'main' of https://github.com/geode-sdk/geode
2022-12-13 10:50:57 +03:00
altalk23
63671c9618
compilation test
2022-12-13 10:35:26 +03:00
altalk23
4f110388e4
Merge branch 'main' into tulip-hook
2022-12-13 08:37:02 +03:00
altalk23
a554f93b93
use cxx_std_XX instead of CXX_STANDARD
2022-12-13 08:36:50 +03:00
altalk23
6009eb8481
add tuliphook as cpm
2022-12-13 08:00:29 +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
5cd199e264
remove dobby
2022-12-12 21:29:48 -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
matcool
36eac0067c
remove stupid isnan macro
2022-12-12 18:20:24 -03:00
matcool
3aeaa21c78
fix invalid characters in cocos header
2022-12-12 18:20:24 -03:00
mat
8342b7fc7c
fix ranges.hpp once again
...
i am killing someone
2022-12-12 18:07:34 -03:00
mat
8f0a132780
log::critical -> log::error in MessageBoxFix.cpp
2022-12-12 17:44:49 -03:00
mat
f97dbd96ed
move convertible_to polyfill to ranges.hpp
2022-12-12 17:36:19 -03:00
camila314
550e87377d
optimize util slightly
2022-12-12 14:06:04 -06:00
mat
1d0a59ca38
include concepts in ranges.hpp
2022-12-12 16:43:40 -03: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
b1e0276a7e
add error if compiled on 64-bit on windows
2022-12-12 20:21:43 +02: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
4e6559966f
make selectors use variadic arguments
...
- this fixes using templated functions as callbacks
2022-12-12 12:49:14 +02: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
500e6f2d26
remove use of operator<=>
...
it doesn't work on mac
2022-12-11 21:01:52 +02:00
HJfod
8a1ecbe5ab
try to fix mac build
...
- add <tuple> include to VersionInfo
2022-12-11 20:44:38 +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
f6e334745c
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-12-11 19:50:02 +02:00
HJfod
9e3e9ed856
fix some uses of m_ in structs
2022-12-11 19:45:33 +02:00
matcool
e78f4ff910
update glew, add its lib and fmod.lib
2022-12-11 14:43:34 -03: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
e763e271bf
fix Event::postFrom using Mod::get
2022-12-08 13:43:58 +02: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
37a9c9ee97
Merge branch 'main' of https://github.com/geode-sdk/geode into altalk
2022-12-03 17:42:04 +03:00
alk
b21cb64fdf
Update Result.hpp
2022-12-03 17:41:51 +03:00
altalk23
c116b47a61
Merge branch 'altalk' of https://github.com/altalk23/geode into altalk
2022-12-03 17:28:09 +03:00
alk
7cc5fb1405
Move getFieldIndex outside class
2022-12-03 17:00:39 +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
alk
eadb1b14bd
Move getFieldIndexForClass outside of header
2022-12-03 16:49:48 +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
0096f5745e
stl fix yet again
2022-12-02 14:17:57 -06: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
camila314
5e9d8bbac8
git is messing with me
2022-11-30 09:43:44 -06:00
camila314
9927affcd8
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-11-30 09:22:44 -06:00
camila314
716e745b5f
can we not to GDString please (kept for windows for now)
2022-11-30 09:22:41 -06: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
c113e97844
Merge branch 'main' of https://github.com/geode-sdk/geode into main
2022-11-30 13:15:03 +02:00
alk
298593ada8
remove the bandaid
2022-11-30 14:13:20 +03:00
alk
ed4f4e4bf7
Update addresser.hpp with a bandaid
2022-11-30 14:12:23 +03: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
alk
59327a6b61
Update stdcall.hpp
2022-11-28 23:24:59 +03:00
alk
079daafd55
Merge branch 'geode-sdk:main' into altalk
2022-11-28 23:22:49 +03:00
altalk23
78c072ee5b
add stdcall to meta
2022-11-28 23:22:21 +03: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
HJfod
634fe303b2
fix mac build
2022-11-28 20:49:21 +02:00
alk
57d38bfb8b
set CURLOPT_SSL_VERIFYHOST to 0 in fetch
2022-11-28 21:46:18 +03:00
HJfod
a1d096c670
fix launcher on mac
2022-11-28 20:30:41 +02: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
d4610df914
more platform cleanup
...
- remove loader/platform due to being utterly redundant
- fix CMakeLists on mac
2022-11-28 19:48:55 +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
6eaa6ea480
move filesystem and fmt to Geode/external
2022-11-28 18:22:59 +02: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
35f2cbad9d
Merge branch 'layout' of https://github.com/geode-sdk/geode into layout
2022-11-28 17:42:35 +02:00
HJfod
63749320a3
remove old Result + move everything over to new Result
2022-11-28 17:42:19 +02:00
HJfod
5b3fb508e3
delete remnants of old C api
2022-11-28 16:38:25 +02:00
HJfod
7cdb58878b
Merge branch 'main' into layout
2022-11-27 23:40:46 +02:00
mat
ea2da96566
implement operator[] for gnustl vector<bool>
2022-11-27 15:31:18 -03:00
altalk23
1d808dfbfd
fix internal macros
2022-11-27 03:57:05 +03:00
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
alk
202b60edd6
Update gnustl.hpp
2022-11-25 01:30:17 +03:00
HJfod
3ba1ad12ff
Merge branch 'main' into layout
2022-11-25 00:03:09 +02:00
HJfod
fd42ab0457
delete the unfinished C api
2022-11-25 00:02:48 +02:00
alk
f347741068
Update gnustl.hpp
2022-11-25 00:57:11 +03:00
HJfod
adf8295a41
Merge branch 'main' into layout
2022-11-24 23:55:50 +02:00
altalk23
29d6d11f4e
implement struct returns on membercall
2022-11-25 00:41:02 +03:00
HJfod
1ac6ad4996
update ipc
...
- add getRuntimeInfo funcs for getting json representation of Hook, Patch, Mod and others
- add args to list-mods
2022-11-23 16:38:08 +02:00
HJfod
b9287cebde
rework IPC
...
- replies are now handled by returning from the listener callback
- can now handle multiple IPC connections at once
- make Loader::s_unloading actually thread-safe
2022-11-23 15:53:38 +02:00
HJfod
7a047e2a08
update IPC to use json
2022-11-23 00:35:08 +02:00
HJfod
182ced8e17
Merge branch 'main' into layout
2022-11-22 17:24:03 +02:00
HJfod
f5b5a64557
new events stuff
...
- add preliminary IPC stuff
- preliminary IPC implementation on Windows (will evolve still)
- more ids
- move InternalLoader platform definitions to their own files
- fix ranges::map not resizing the output
2022-11-22 17:21:00 +02:00
alk
4928f672f1
Update msvcstl.hpp
2022-11-22 16:56:47 +03:00
alk
322dc1b048
Update msvcstl.hpp
2022-11-22 16:49:53 +03:00
alk
af35eb7228
Update msvcstl.hpp
2022-11-22 16:47:04 +03:00
alk
4f66b8d8f7
add operator= to msvc string ( #82 )
...
* add operator= to msvc string
2022-11-22 16:46:03 +03:00
alk
9a51843727
Add msvcstl ( #81 )
...
* implement gd::string for windows
Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-11-22 15:59:46 +03:00
altalk23
2034b3e62d
cast the c_str pointer
2022-11-22 14:06:39 +03:00
altalk23
caac958c37
replace ccstring create implementation
2022-11-22 14:06:39 +03:00
altalk23
9b359fba56
get geode working on cross compile macos, also modifies Setting event to not use shared ptr, also disables fmt consteval
2022-11-19 21:13:47 +03:00
alk
7b9c68567a
Get geode working on macos wine
2022-11-19 15:05:10 +03:00
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
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
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
altalk23
b7bbee5669
make GEODE_DEBUG obey if it's already set and make private members in CCMotionStreak protected
2022-11-16 17:42:18 +03:00
HJfod
d701563534
lots of stuff
...
- add TableView virtuals on windows
- rework events to match new events system
- rename NodeStringIDManager to NodeIDs and add a syntactically sugary NodeIDs::provideFor function
- change test mod to use event callbacks instead of exported ones
2022-11-12 14:55:25 +02:00
HJfod
61c0f1b274
Merge branch 'main' into layout
2022-11-12 12:03:15 +02:00
camila314
4a6105a976
remove small thing
2022-11-09 20:22:36 -06:00
camila314
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
altalk23
e349dc9b74
implement new Modify sytnax
2022-11-09 21:07:20 +03:00
altalk23
32196f3545
add gjgamelevel::getcurrent and levelsettingsobject::get
2022-11-09 21:07:20 +03:00
HJfod
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
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