Commit graph

1083 commits

Author SHA1 Message Date
altalk23
de733173c0 add CCMenuItemExt for lambda callback util needs 2024-06-01 15:38:21 +03:00
kynex7510
b3367d2230
Enable TLS certificate verification 2024-05-31 14:46:07 +02:00
mat
fa92969a56
Merge pull request #805 from geode-sdk/main
update win-64 branch
2024-05-30 18:17:40 -03:00
dankmeme01
cea58a87f1 merge main into new-index-but-better 2024-05-30 15:19:28 +02:00
kynex7510
a4b94693a3
WebRequest: Add proxy capabilities 2024-05-28 19:11:46 +02:00
dankmeme01
43f646164f fix xhash yet again wow yay cool you can compile again 2024-05-28 07:31:10 +02:00
Oleksandr Nemesh
3e03978b1e
make getGameVersion public (#797) 2024-05-27 21:29:42 +03:00
Fleeym
663637e98e Merge branch 'main' of github.com:geode-sdk/geode into new-index-but-better 2024-05-27 01:21:30 +03:00
altalk23
6510df7c85 reremove enums.hpp 2024-05-26 17:37:03 +03:00
Alvy
5b4bc9b394
add like 2 i found for CommentType (#755) 2024-05-26 17:35:37 +03:00
Calloc
4300ed746e
add GJHttpType enums (#787) 2024-05-26 17:35:25 +03:00
SpaghettDev
f902930413
some enums (#710)
* GJFeatureState

* GauntletType

* DifficultyIconType

* DemonDifficultyType

* a bit of GJMusicAction (cant find shit)

* GJErrorCode, AccountError and BackupAccountError

* CurrencySpriteType

* PlayerCollisionDirection

* gjParticleValue

* AudioGuidelinesType

* TextStyleType

* comma

* GJSongError

* SongSelectType

* FMODReverbPreset

* lowercase FMODReverbPresets

* PLAIN -> plain
2024-05-26 17:35:10 +03:00
altalk23
6737c609fa readd enums for merging prs 2024-05-26 17:34:49 +03:00
altalk23
23e04a08c3 move enums to bindings 2024-05-26 16:54:37 +03:00
Sabe
5f778ea90b
FMODQueuedMusic is not an enum (#666)
* FMODQueuedMusic is not an enum

* More types that are not enums
2024-05-26 16:50:14 +03:00
altalk23
32f2b24ff8 move geode call to 32 2024-05-26 15:47:21 +03:00
altalk23
a1536b4a66 define the windows32 64 macros 2024-05-26 15:46:40 +03:00
altalk23
e0b30f648f fix defines 2024-05-26 14:37:35 +03:00
altalk23
01020ccbd4 windows 64 bit changes (apart for links and all) 2024-05-26 14:32:36 +03:00
Cvolton
a4c6b71ee4
make ref move ctor noexcept 2024-05-25 18:18:51 +02:00
SpaghettDev
7a6958c47b
make CCTextFieldTTF hooks work (#774) 2024-05-19 21:05:01 +02:00
qimiko
7a87c8cfdb
ok fine 2024-05-16 17:39:59 -07:00
Chloe
fa159f17b1
update ccdirector 2024-05-16 17:25:54 -07:00
Fleeym
9bedf1bacc hey look other platforms work 2024-05-16 15:08:03 +03:00
HJfod
edb8e6c721 cherry-pick BasedButtonSprite changes from new-index-but-better 2024-05-16 14:59:46 +03:00
Fleeym
557873db25 fix FieldContainer destructor sometimes crashing 2024-05-15 23:59:42 +03:00
Fleeym
89273c9458 Merge branch 'main' into new-index-but-better 2024-05-15 23:58:55 +03:00
HJfod
f79e87af93 addSideArt overload for styling 2024-05-15 12:46:08 +03:00
HJfod
77e7c6d969 add docs for querySelector 2024-05-15 11:18:38 +03:00
HJfod
c75ec639f2 CCNode::querySelector 2024-05-15 11:11:46 +03:00
Fleeym
7071bb1588 ScrollLayer: add scrollToTop utility 2024-05-14 23:31:05 +03:00
HJfod
80455ddb14 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-05-14 15:02:30 +03:00
HJfod
1dc9ec41cc add Result::unwrapOrDefault() 2024-05-14 15:02:17 +03:00
Chloe
fcd1a331a0
win32 cocos header update 2024-05-13 23:30:04 -07:00
mat
4baef33172
fix comment 2024-05-12 13:01:26 -03:00
matcool
d725126e1f add geode::utils::getDisplayFactor 2024-05-12 10:25:36 -03:00
dankmeme01
92e0de4dea fix <memory> include 2024-05-10 12:15:18 +02:00
ConfiG
4ce33b363a
add the new particle system fields 2024-05-09 18:26:58 +03:00
HJfod
77e0f2ebb0 fix file::readFromJson 2024-05-09 17:28:19 +03:00
HJfod
7ff257cbd4 bring in Layout changes from new-index-but-better; makes AxisLayout pimpl 2024-05-09 15:18:18 +03:00
HJfod
26729c3f34 cherry-pick changes to ui/General from new-index-but-better 2024-05-09 11:49:19 +03:00
HJfod
0a145550ed fix file::readFromJson 2024-05-09 10:57:12 +03:00
HJfod
c7c2cc7afb Merge branch 'main' into new-index-but-better 2024-05-06 12:51:06 +03:00
HJfod
991fce0d72 add TextInput::setLabel 2024-05-06 12:50:40 +03:00
HJfod
e7df9a7a03 add task-based file picking functions 2024-05-05 23:49:07 +03:00
camila314
8db8406148 nvm 2024-05-05 14:39:33 -05:00
camila314
42fe3ba7b4 changed cchsvvalue back 2024-05-05 14:32:56 -05:00
dankmeme01
29b4732173 fix inputnode touches behaving weirdly in certain situations 2024-05-05 09:18:10 +02:00
HJfod
03385d07e1 add download counts to ModItem 2024-05-04 23:01:07 +03:00
HJfod
309de35a57 Merge branch 'main' into new-index-but-better 2024-05-04 10:56:43 +03:00
mat
5c5e3bac72
add missing include in TextInput.hpp 2024-05-01 12:51:08 -03:00
HJfod
afa57371ec add gd-style colors option 2024-04-29 19:39:02 +03:00
HJfod
d33be521cb add ListBorders UI class 2024-04-29 17:36:28 +03:00
HJfod
d36d50f525 remove debug log 2024-04-29 10:54:02 +03:00
HJfod
97f9820d0f
Add doc comments to Task
i wrote this on my phone sry if it breaks smth
2024-04-29 01:13:32 +03:00
matcool
9eb7064fcd fix Task::all when tasks is empty 2024-04-28 18:10:38 -03:00
Justin
f65336d4ba
geode::cocos::isSpriteName and geode::cocos::getChildBySpriteName (#725)
* isSpriteName and getChildBySpriteName (Code)

* isSpriteName and getChildBySpriteName (Headers)
2024-04-28 17:44:20 -03:00
Justin
8ae4303918
GJDifficultyName and GJFeatureState (#706)
* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp
2024-04-28 22:28:13 +02:00
Fleeym
d38b387d26 cross-platform is saved, for now 2024-04-28 20:42:28 +03:00
HJfod
93aa77943c add ComparableVersionInfo::getComparison 2024-04-26 13:52:02 +03:00
HJfod
beeb7ca1f8 recommended mods list 2024-04-25 17:50:00 +03:00
HJfod
ae1a766aa6 add Task::isNull 2024-04-24 00:09:39 +03:00
HJfod
684a109dee installing & updating mods (needs work still) 2024-04-23 22:24:08 +03:00
HJfod
f5f2a6450d add color3b for convenience 2024-04-22 20:18:58 +03:00
HJfod
f44f392b97 Merge branch 'main' into new-index-but-better 2024-04-22 18:16:56 +03:00
HJfod
72be477f48 fix all remaining memory issues with Task <3 2024-04-22 18:16:26 +03:00
altalk23
bdb96daed1 remove typename from listimpl 2024-04-22 17:32:51 +03:00
altalk23
20dc3c95e2 deprecate old fields 2024-04-22 15:53:23 +03:00
altalk23
aaf62584fb fix fields not working on macos? hopefully 2024-04-22 15:34:57 +03:00
HJfod
ab0aa47495 working on fixing task memory leaks 2024-04-22 15:21:44 +03:00
HJfod
adcd42e42b fix task access specifications being wrong 2024-04-22 13:39:47 +03:00
HJfod
fbdb6265df Merge branch 'main' into new-index-but-better 2024-04-22 13:36:20 +03:00
HJfod
fa1577184a fully move over from Promises to Tasks 2024-04-22 13:35:12 +03:00
HJfod
ed1668897e Task::runWithCallback among other fixes 2024-04-22 13:34:57 +03:00
HJfod
98d5216dcd fix Ok() and Err() causing unexpected implicit moves 2024-04-22 13:34:14 +03:00
HJfod
a91905bd4c fix MiniFunction not being usable with move-only parameters 2024-04-22 13:33:56 +03:00
altalk23
0a3efd7704 more typename 2024-04-22 00:22:40 +03:00
altalk23
4505b0da69 i hate concepts (alternate fields impl) 2024-04-22 00:09:49 +03:00
HJfod
5f8588ea97 Merge branch 'main' into new-index-but-better 2024-04-22 00:08:49 +03:00
HJfod
a09ba5c67c new Task class to replace Promises, test seems to indicate it's working 2024-04-22 00:08:10 +03:00
HJfod
4be910bda4 Fix crashes on trying to delete nullptr 2024-04-22 00:07:42 +03:00
dankmeme01
d7c3d4af62
Update ccTypes.h 2024-04-16 07:43:04 +02:00
Justin
5e11ddab85
Fix ccHSVValue (#694) 2024-04-16 07:16:51 +02:00
HJfod
53b081e77b remove uses of std::source_location 2024-04-14 18:04:01 +03:00
HJfod
33e12646b8 Make terminate cause a crash instead for the crashlog and stacktrace 2024-04-14 17:57:15 +03:00
HJfod
69bcab649e Better MiniFunction terminate message 2024-04-14 17:56:48 +03:00
altalk23
2443422e94 ObjectScaleType 2024-04-14 16:14:14 +03:00
dankmeme01
798cacc1a8 add a way to access internal setting container
exposing an internal field like this isn't the best practice, but it seemed like the best and simplest solution to me to a problem of not being able to do anything to unknown setting keys (such as removing them or migrating their data if that key used to be a valid setting)
2024-04-14 00:00:17 +02:00
HJfod
33af7befed Merge branch 'main' into new-index-but-better 2024-04-13 21:47:56 +03:00
HJfod
243c11cc8f minifunction dont assume return value is default-constructible 2024-04-13 21:38:46 +03:00
HJfod
d107f3386f add geode::terminate and geode::unreachable 2024-04-13 21:38:26 +03:00
HJfod
b1f33db497 add Popup::setCloseButtonSpr 2024-04-13 21:38:05 +03:00
HJfod
c6ecd87da3 improve is_filter + add move binding to eventlistener 2024-04-13 21:37:49 +03:00
altalk23
00e971a274 fix field containers for separate modify classes in which one of them is a base of another, causing shared indices 2024-04-12 22:56:05 +03:00
Cooper
8c61a6fe60
Add MDTextArea link (#664)
* add level: links and mod: links

* fix errors

* fix errors 2

* fix errors 3 (hopefully)

* fix errors 4 (i think fixed?)

* fix 5 PLEASE

* fix mod links and make level links actually work

* PLEASE JUST WORK!!!!!!!!!!!!!

* change it to this

* oops forgot a )

* PLEASE HORRIBLE CODE JUST WORK!

* AHHHHHHHHHHHHHHH fix

* just work

* I DO HORRIBLE CODE

* Update ModInfoPopup.cpp

---------

Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-04-11 20:40:04 +03:00
NyteLyte
a795487634
getChildOfType negative indices: size_t is unsigned (#656)
* size_t is unsigned

`i` is always >= 0 because it is unsigned. This causes crashes if no children are found before reaching 0.

* oops

`node->getChildrenCount() - 1` in the 2nd part of the for loop underflows as well if the children count is 0
2024-04-11 20:30:35 +03:00
undefined06855
97f585545a
change #warning to #pragma message (#674) 2024-04-11 20:20:39 +03:00
The Bearodactyl
2ca2cae6f8
Update Enums.hpp (#684)
* Update Enums.hpp

* Update Enums.hpp
2024-04-11 20:14:58 +03:00
altalk23
e83e03f714 someone (prevter) wants to make a crashlog mod so i guess it's fine we export these as well 2024-04-11 19:05:36 +03:00
dankmeme01
9f2cea46ad fix the release xhash 2024-04-03 21:19:21 +02:00