Commit graph

284 commits

Author SHA1 Message Date
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
mat
30101fc0b5
update json lib
json::Value now defaults construct to json::Object, hopefully preventing some silly bugs
2023-01-30 08:28:25 -03:00
altalk23
2a97fe6752 update tuliphook 2023-01-29 09:38:55 +03: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
2626acba35 small cmake changes for docs 2023-01-24 18:37:59 +02:00
mat
be1c290169
update TulipHook and set TULIP_LINK_SOURCE 2023-01-23 20:03:00 -03:00
HJfod
b9dfd1b115 make mods work without getting tuliphook link errors 2023-01-23 21:58:50 +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
bdc8583a60 Merge branch 'tulip-hook' of https://github.com/geode-sdk/geode into tulip-hook 2023-01-21 22:44:41 +02:00
altalk23
9a476ce64d visibility test 2023-01-21 23:36:14 +03:00
HJfod
8a9a183e08 update tuliphook version 2023-01-21 22:16:16 +02:00
matcool
d093efbc8b
fix codegen issues 2023-01-19 21:58:22 -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
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
a86fcc08c9 remove fmt consteval definition 2022-12-31 16:28:02 +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
HJfod
486f5ab751 add stuff for docs genning and fix issues for it 2022-12-31 00:50:12 +02:00
altalk23
1bdc8f408c Update TulipHook and fix some really minor stuff 2022-12-14 17:17:52 +03:00
altalk23
bcfe6a6914 Merge branch 'main' into tulip-hook 2022-12-14 15:38:38 +03: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
c605c24f26 Merge branch 'main' into tulip-hook 2022-12-13 13:30:34 +03:00
altalk23
87b8138433 Merge branch 'main' of https://github.com/geode-sdk/geode 2022-12-13 10:50:57 +03:00
alk
1ffd342f37
make things not abhorrent 2022-12-13 10:14:19 +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
3dae2d0b43 Merge remote-tracking branch 'main-repo/main' into main-repo/tulip-hook 2022-12-13 08:00:06 +03:00
camila314
6f30e99292 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-12 21:30:18 -06:00
camila314
6e1629b878 make things not horrible 2022-12-12 21:30:12 -06: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
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
459add6022 add tulip hook first commit 2022-12-12 18:42:56 +03:00
HJfod
4c4674da93 add suffixes to versions 2022-12-12 15:45:27 +02:00
HJfod
6456a3fcc5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-11 19:39:00 +02:00
camila314
1b456ceb4c nightly defaultism 2022-12-08 21:15:10 -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
6eaa6ea480 move filesystem and fmt to Geode/external 2022-11-28 18:22:59 +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
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
matcool
3c5fbc2754 switch to using ExternalProject for codegen
this is necessary in cross compilation enviroments, such as compiling
for android or cross compiling to windows on linux, since we want the
codegen executable to be of the current system, not the cross
compilation target
2022-11-12 11:28:37 -03:00
camila314
c8ae6c9f86 50th event system rewrite 2022-11-09 20:19:01 -06:00
HJfod
2a81ed1ac1 fix CCArrayExt crashing on a nullptr array 2022-11-08 14:23:40 +02:00
camila314
c3878b8a20 Optimize TypeGen 2022-10-21 18:17:08 -05:00
altalk23
2a7c9d1be6 only hash png ogg and mp3 files 2022-10-20 21:47:29 +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
mat
342bbb3622
Update CMakeLists.txt 2022-10-15 23:36:21 -03:00
alk
07e36ceaf1
Update CMakeLists.txt 2022-10-14 23:44:33 +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
altalk23
1822860d50 Merge altalk23:main 2022-10-13 15:43:34 +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
HJfod
2b06316397 rework Index + add AsyncWebRequest API + add GEODE_DEBUG macro 2022-10-13 00:22:43 +03:00
altalk23
f580eda0b0 add geode debug 2022-10-12 22:07:18 +03:00
alk
c7a7e0f128
Add issue templates (#44)
* set build type for macos only on top level

* add issue templates

Co-authored-by: altalk23 <student@altalk23.local>
2022-10-11 23:56:12 +03:00
alk
5e8fbe1f3d
Merge branch 'geode-sdk:main' into main 2022-10-11 23:55:42 +03:00
matcool
09a9ebbced
strip version string 2022-10-11 17:38:01 -03:00
HJfod
d636f7d536 move version to its own file so it's easy for CLI to query it 2022-10-11 11:37:46 +03:00
altalk23
0533c7a54a Merge branch 'main' of https://github.com/altalk23/geode 2022-10-10 21:21:49 +03:00
altalk23
88b7017760 set build type for macos only on top level 2022-10-10 21:21:37 +03:00
HJfod
7fea821c7e fix log filenames 2022-10-10 21:00:32 +03:00
HJfod
25b481e9db fix md4c not being static on mac 2022-10-10 20:59:07 +03:00
HJfod
523c75e521 make Bootstrapper and proxyLoader actually show error boxes 2022-10-08 13:26:45 +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
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
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
d9a1fae5b0 compiles on macos, though there are still some crashes 2022-10-04 13:32:40 +03:00
HJfod
34878e97b7 bump version to v0.3.0 to prepare for release and due to switch over to
new cli
2022-10-03 14:02:39 +03:00
camila314
02023afe0c Merge branch 'ui' of https://github.com/geode-sdk/geode into ui 2022-10-03 00:06:48 -05:00
camila314
659db14033 Small cmake fix 2022-10-03 00:06:27 -05: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
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
f5b7c9d31a Merge branch 'ui' of https://github.com/geode-sdk/geode into ui 2022-08-28 20:38:33 +03:00
HJfod
1b8cf87933 more bindings + fix cmake hotfix on windows 2022-08-28 20:38:18 +03:00
hjfod
99e69443df rename GEODE_LINK_SOURCE to GEODE_LINK_NIGHTLY to reflect the name of
the folder
2022-08-13 13:59:12 +03:00
altalk23
4348a7d547 a hacky way to supress the generatedsource.cpp not found error and a random patch to fix loader being built even though its not top level 2022-08-08 21:18:09 +03:00
HJfod
46e3a071d3 whole of geode except without history 2022-07-30 19:24:03 +03:00