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
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
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
camila314
4a6105a976
remove small thing
2022-11-09 20:22:36 -06:00
camila314
c8ae6c9f86
50th event system rewrite
2022-11-09 20:19:01 -06: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
d20a77aeb1
add ostream operator<< for VersionInfo
2022-11-09 17:45:59 +02:00
HJfod
6d67033eb6
minor changes
...
- make index always use latest version of mod in index
- more bindings
- implement rest of setting types for getBuiltInSettingValue
2022-11-09 17:32:44 +02:00
HJfod
2a81ed1ac1
fix CCArrayExt crashing on a nullptr array
2022-11-08 14:23:40 +02:00
camila314
9e4b236d1b
Shared directory
2022-11-06 19:40:40 -06:00
altalk23
727304a276
implement http headers to webasyncrequest and make index conditional request
2022-11-03 23:46:01 +03:00
altalk23
ee9718a7f1
fix macos compile on github actions
2022-10-30 22:07:49 +03:00
altalk23
11e81e3d64
formatted includes
2022-10-30 21:59:20 +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
17014b6302
add geode::cocos::switchToScene utility
2022-10-23 17:54:42 +03:00
alk
5a8bc843dc
Update JsonValidation.hpp to add missing GEODE_DLL
2022-10-23 16:39:33 +03:00
alk
a1c9063767
Merge pull request #60 from geode-sdk/altalk
...
add json validation to source
2022-10-23 16:27:50 +03:00
altalk23
483eb198fd
add json validation to source
2022-10-23 16:22:27 +03:00
HJfod
86a87b00a4
remove deprecation warning from old result
2022-10-23 16:09:01 +03:00
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
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
matcool
9446e995cf
make X_selector() macros not require using namespace cocos2d
2022-10-22 12:27:33 -03:00
HJfod
2ef03197b5
fix mac build
...
- move attribute & E -> T
2022-10-22 17:55:10 +03:00
HJfod
1dad98b235
Result stuff
...
- add NewResult
- deprecate and nodiscard old Result
- silence some warnings
2022-10-22 17:49:09 +03:00
camila314
c3878b8a20
Optimize TypeGen
2022-10-21 18:17:08 -05:00
altalk23
42a3c6de3c
move wrap to seperate files
2022-10-20 22:45:43 +03:00
altalk23
fd291d51a9
fix windows garagelayer pad
2022-10-18 21:04:03 +03:00
HJfod
a0e56c044b
fix macos build
2022-10-17 16:08:12 +03:00
HJfod
38bebd67cd
fix macos build
...
- add initializer_list constructor to `gd::vector`
2022-10-17 15:56:35 +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
f68530e943
for chloe
2022-10-16 23:28:20 -03:00
HJfod
0a1b5c9281
i forgot to add the LayerBG header
2022-10-16 21:37:18 +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
61fd9a50d7
make gd::vector satisfy value_type
2022-10-15 21:58:56 +03:00
HJfod
d2536f95ce
who cares about the return type anyway then
2022-10-15 21:54:28 +03:00
HJfod
6fe9a5f2ce
utils rework
...
- deprecate utils::vector and utils::container and replace them with utils::ranges
2022-10-15 21:45:53 +03:00
HJfod
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
f9cda74b58
automatic resource repair
...
- loader checks if resources are correct at startup, if not, downloads them and replaces
- add sha256 to hash
- change hash to use paths instead of strings
- cmake rework; GeodeFile.cmake now checks CLI version
- add optional `DONT_INSTALL` argument to `create_geode_file`
- test mods are now not installed by default
- add package_geode_resources_now command for packaging resources at configure time and creating a header with their calculated hashes
2022-10-14 16:26:16 -03:00
HJfod
c210ab2f33
change CCArrayExt to use Ref
2022-10-14 16:26:16 -03:00
mat
0562c045ae
fix getSceneDelegate
...
its getSceneDelegate() const
2022-10-13 18:23:37 -03:00