Commit graph

223 commits

Author SHA1 Message Date
HJfod
8340387fc9 fix CCArrayExt crashing on a nullptr array 2022-10-26 16:20:39 +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
d6b42f2a0b add gd::vector::clear on mac 2022-10-25 22:06:11 +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
1d34bb138b move definition of ~HandleToSaved after Mod 2022-10-24 11:52:53 +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
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
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
2fd0b02edb fix $register_ids not working on clang 2022-10-23 13:46:06 +03:00
HJfod
fdbc7344b3 update actions
- move resource uploading action later in the chain
 - try to fix clang build
2022-10-23 12:38:31 +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
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
2a7c9d1be6 only hash png ogg and mp3 files 2022-10-20 21:47:29 +03:00
altalk23
ea0a81a790 add krita files to gitignore (don't ask) 2022-10-20 21:19:15 +03:00
altalk23
4e7d044bd8 replace loader hashes with file name check temporarily 2022-10-19 13:34:39 +03:00
altalk23
fd291d51a9 fix windows garagelayer pad 2022-10-18 21:04:03 +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
38bebd67cd fix macos build
- add initializer_list constructor to `gd::vector`
2022-10-17 15:56:35 +03:00