Commit graph

1320 commits

Author SHA1 Message Date
dankmeme01
f63bd44ad2 add custom constructor for ccfileutilsandroid 2024-08-05 09:46:51 +02:00
dankmeme01
63b82f9fb2 bump FMOD headers to 2.02.23 2024-08-04 20:24:05 +02:00
Cvolton
b595d98cd7 fix missing includes 2024-08-04 19:40:49 +02:00
dankmeme01
59a0ade533 actually fix it 2024-08-01 14:14:50 +02:00
dankmeme01
d729a12bf3 fix order of buttons in CCMenuItemExt::createToggler 2024-08-01 14:05:36 +02:00
dankmeme01
bae22b4e34 add new gd::string constructor 2024-07-30 17:19:33 +02:00
HJfod
fabe7d37de Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-07-29 20:59:11 +03:00
HJfod
749fdf1ad3 add TextInput::focus and unfocus 2024-07-29 20:58:58 +03:00
Chloe
22bcbe1b5e
remove usages of cc3x 2024-07-29 06:18:17 -07:00
Chloe
b6250cd278
fix mac build 2024-07-29 05:59:09 -07:00
HJfod
d95b879b4d update changelog 2024-07-29 15:58:02 +03:00
HJfod
4b4bc0eb9b don't cancel subtasks on task destructor 2024-07-29 15:15:00 +03:00
HJfod
2a3c35f584 allow modifying Geode UI via events 2024-07-29 15:14:49 +03:00
HJfod
c323faee27 make openInfoPopup return a Task<bool> 2024-07-29 13:10:42 +03:00
HJfod
c4fe40b037 teehee totally forgot GEODE_DLL on this one 2024-07-29 12:51:12 +03:00
HJfod
028bbf9a8b add support for hex colors + 2.2 color tags + fix mod links 2024-07-29 12:50:56 +03:00
HJfod
6080fdbfde deprecate cc3x 2024-07-29 12:50:37 +03:00
HJfod
5c840127fa expose LoadingSpinner for mods to use 2024-07-29 12:50:22 +03:00
MarioMastr
0ef7d6e075
add custom_constructor to ccglprogram (#1009) 2024-07-29 00:19:00 +03:00
SMJSGaming
caeef8f4a4 Changed the operator overloads of CCPoint to be more inline with other engines 2024-07-28 16:16:41 +02:00
SMJSGaming
72586f780d Added remove methods to the web API 2024-07-27 19:53:07 +02:00
Chloe
dceb91e181
he can go back now :D 2024-07-25 17:11:37 -07:00
Chloe
d13b1dc269
actually no i forgot one thing 😭 2024-07-25 07:14:01 -07:00
Chloe
057bb7a44d
undo everything part 2 2024-07-25 07:13:26 -07:00
Chloe
509c5e7e93
add objectdecoderdelegate for objectdecoder 2024-07-25 06:58:44 -07:00
Cvolton
4272b8b549 fix missing include in terminate header 2024-07-24 19:41:52 +02:00
Cvolton
49c8d386a9 fix objectdecoder inheritance 2024-07-24 15:48:33 +02:00
Cvolton
95f9eeb187
add objectdecoder (#1012) 2024-07-24 14:00:54 +02:00
Oleksandr Nemesh
94dc60a7f2
fix whitespace 2024-07-24 12:34:55 +03:00
dankmeme01
fc544f9144 fix ccparticlesystem virtuals 2024-07-21 20:25:01 +02:00
Chloe
2b35e0e833
remove useless fs hash block
ndk r27 implements this, so it won't build
2024-07-18 18:45:20 -07:00
Oleksandr Nemesh
e46353908d
fix ccColor 2024-07-11 14:50:09 +03:00
Oleksandr Nemesh
0ee2b5beb2
add include 2024-07-11 14:46:55 +03:00
Oleksandr Nemesh
360827e766
add cclightning 2024-07-11 14:45:03 +03:00
altalk23
9009b3db6a fix macos modify changes 2024-07-07 01:06:40 +03:00
altalk23
2dc989fdd9 check for attempting to hook missing & inlined functions in modify 2024-07-06 23:42:57 +03:00
altalk23
9fd9a7876d add salmon editor button 2024-07-06 21:54:18 +03:00
HJfod
9d02155d76 add Mod::checkUpdates to replace Mod::hasUpdatesAvailable 2024-07-06 17:06:50 +03:00
HJfod
1c16913499 deprecate openIndexPopup rather than openInfoPopup 2024-07-06 16:22:16 +03:00
Cvolton
e432e72fa0 add openChangelogPopup, deprecate openInfoPopup 2024-07-05 23:07:30 +02:00
matcool
e397c99fff make these members public 2024-07-03 16:10:00 -03:00
SMJS
a96ec91f89
Added some getters to web request and added some coverage for edge-cases (#981)
* Added some getters to web request and added some coverage for possible edge-cases

* Added the getter implements for web requests

* Escaped header options
2024-06-30 17:32:06 +03:00
altalk23
427e86ef6e update account bases and category, and editor script, reflect basedbuttonsprite changes (minor semver change) 2024-06-30 02:00:30 +03:00
mat
4dd348a2e4
remove msvcstl as its no longer used 2024-06-28 11:10:19 -03:00
Cvolton
df278bfa89
revert idmanager back to $execute 2024-06-26 23:27:11 +02:00
matcool
6fe1ac9e3f fix single arg overload of Task::listen 2024-06-26 14:48:09 -03:00
ConfiG
621e3f557c
Update libraries (#971)
- update fmt to 10.2.1
- update minizip-ng to 4.0.7
- properly link to zlib
- replace the only re2 usage with std::regex
2024-06-25 20:13:47 +03:00
dankmeme01
5421ad1b78 add missing override 2024-06-24 18:39:33 +02:00
Cvolton
98c0eae228
Revert "create on_mod listeners in separate threads"
This reverts commit fd3c9c6f7a.
2024-06-24 12:28:27 +02:00
Cvolton
fd3c9c6f7a
create on_mod listeners in separate threads 2024-06-24 00:59:23 +02:00
Cvolton
a654f343a8
use on_mod(Loaded) for a few more things 2024-06-23 23:45:02 +02:00
Cvolton
5ca4b571c7
add info level to notification 2024-06-23 21:46:52 +02:00
SpaghettDev
83f8a32a3f
More web options (HTTP version, accept encoding, transfer body, follow request, range) (#943) 2024-06-23 16:45:12 -03:00
dankmeme01
f06a7414bb cleanup many creates promoting better modern c++ coding practices 2024-06-23 11:36:16 +02:00
altalk23
7742b57c49 even hackier one-of abi fix 2024-06-21 11:10:23 +03:00
altalk23
5ed0ed5ba6 i hate exposing structs
why arent settings opaque pointers aaaaaaa (fixed the abi break on custom settings users)
2024-06-21 10:43:59 +03:00
altalk23
d88a93e3cd fix eventlistenerpool abi break on windows 2024-06-21 09:53:01 +03:00
altalk23
f918f1310c fix compilation 2024-06-20 23:02:06 +03:00
altalk23
ea96e2c658 make some classes final 2024-06-20 23:00:04 +03:00
altalk23
f523689f53 cause my ebo check is wrong 2024-06-20 20:14:32 +03:00
altalk23
bf2fcd2daf ebo edge case 2024-06-20 20:09:58 +03:00
altalk23
1a513ec3c6 change the alignment things 2024-06-20 20:06:00 +03:00
altalk23
4c15bdbe32 remove toRemove from events 2024-06-20 19:06:38 +03:00
dankmeme01
92704b965f fix use of dangling string_view in task names 2024-06-20 17:36:53 +02:00
matcool
9d0c8ccc40 fix typename errors 2024-06-20 12:07:25 -03:00
matcool
5f37d30fbd add static_assert to prevent old way of adding members to modify 2024-06-20 11:58:44 -03:00
altalk23
636be07435 fix event pool race condition in a hacky way 2024-06-20 16:17:02 +03:00
altalk23
c3058ff452 add fast menu back 2024-06-20 15:21:34 +03:00
altalk23
7bd8a1a231 remove RT_ADD and RT_REMOVE 2024-06-20 15:19:43 +03:00
altalk23
3f674e522d quick impl one-of 2024-06-20 14:48:51 +03:00
altalk23
08da8ca774 remove all warnings 2024-06-20 14:16:37 +03:00
altalk23
34e51ff868 cleanup old field remnants without abi break 2024-06-20 11:48:15 +03:00
matcool
adc4469f77 add AxisAlignment::Between, for equal space between elements
inspired by flexbox's space-between
2024-06-18 00:17:00 -03:00
matcool
97d2e44611 fix CCArrayExt::value_type 2024-06-18 00:17:00 -03:00
dankmeme01
f3525035ad fix Ref and WeakRef move assignment operator 2024-06-17 12:56:12 +02:00
SpaghettDev
c3c2afaac8
gd::vector::erase for android (#906)
* gd::vector::erase for android

* oops
2024-06-16 10:45:47 -04:00
matcool
723ff87f06 add geode addition comment 2024-06-15 21:24:20 -03:00
Fleeym
4f400b530f
Move pick file APIs to Tasks (#899) 2024-06-14 23:19:16 +03:00
matcool
bacab92b75 ok apple clang can handle it 2024-06-13 12:14:05 -03:00
matcool
b22a59d41e make _spr compile time 2024-06-13 12:06:26 -03:00
kynex7510
153f22f338
Merge branch 'main' of https://github.com/geode-sdk/geode 2024-06-13 15:04:48 +02:00
kynex7510
22cc33b8a9
use string_view for sprite expansion 2024-06-13 15:04:32 +02:00
Cvolton
48a7981d3b
split GEODE_PLATFORM_NAME for MacArm and MacIntel 2024-06-13 14:02:08 +02:00
mat
eb7c4d9803
rename Task::then to Task::listen 2024-06-12 17:38:46 -03:00
Oleksandr Nemesh
562fbf6cb1
add 2.2 CCDrawNode members 2024-06-12 00:57:12 +03:00
matcool
fa7a2de780 add Task::then to handle tasks without storing a listener 2024-06-11 14:58:23 -03:00
matcool
da617eefaa std::string const& -> std::string_view in task code 2024-06-11 13:16:34 -03:00
mat
2d274693c1
friend CCHttpClient 2024-06-10 11:33:06 -03:00
matcool
1d98bc9248 fix it 2024-06-09 19:47:38 -03:00
matcool
89548f282c i forgot about the json primitives 2024-06-09 19:36:36 -03:00
matcool
899a1a5d86 just include stl_serialize everywhere at this point 2024-06-09 19:23:05 -03:00
matcool
6c1a330aa6 check for is_json when using Mod::getSavedValue 2024-06-09 19:14:45 -03:00
SMJS
74a450e3c3
Border simplification/bad practice fixes (#883)
* Removed some useless stuff from Border

* Removed the bad z order abuse
2024-06-09 17:15:09 -03:00
acaruso-xx
ce6e6f063a Fix CCMotionStreak member 2024-06-09 11:27:57 -04:00
SpaghettDev
7c5a83d3d1
cursor position member (#872) 2024-06-08 21:50:58 +02:00
HJfod
e71d8fff5d Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-06-08 18:35:05 +03:00
HJfod
c82112f2c8 cancel tasks on handle destroy 2024-06-08 18:34:54 +03:00
Fleeym
f909a737ec add WebResponse::into 2024-06-08 18:11:16 +03:00
SMJS
87649f18da
Fixed padding and added a content layer to borders (#868) 2024-06-08 14:50:59 +03:00
SMJS
d9ed677c95
Added my nodes to the UI include (#869) 2024-06-08 14:50:15 +03:00
altalk23
330c20ec2c fix the string 2024-06-08 14:46:24 +03:00
Jouca
9c8f1a809e
Added ParticleStruct members (#865)
* Update CCParticleSystemQuad.h

* Update CCParticleSystemQuad.h

---------

Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-06-08 14:45:31 +03:00
altalk23
1ac50e1587 particle struct size 2024-06-08 14:38:30 +03:00
qimiko
80d95cf603
change per platform array values 2024-06-07 23:42:54 -07:00
qimiko
47e7f8308a
split macos platform 2024-06-07 05:56:35 -07:00
qimiko
fe068a002c
supposed arm macos steam fix 2024-06-07 05:04:11 -07:00
dankmeme01
b129808723 remove old web utils 2024-06-07 11:20:50 +02:00
altalk23
38976cc42c yeet wstring overloads 2024-06-07 09:38:06 +03:00
SMJS
4c2e020b7f
Added border color support and fixed the color reload (#859)
* Moved a DTOR so that $modify doesn't complain

* Added border color support and fixed the color reload

* Small name correction

* Removed a debug log
2024-06-06 23:13:57 +03:00
SMJS
843c389161
Moved a DTOR so that $modify doesn't complain (#858) 2024-06-06 21:11:07 +03:00
dankmeme01
22575478b7 fix unreachable warning 2024-06-06 17:43:20 +02:00
SMJS
cb81e86e2f
List color fix (#856)
* Added a fix for the color support in generic cells
2024-06-06 14:20:44 +02:00
SMJS
e9304c60ac
Added dynamic borders (#855)
* Added dynamic borders

* Removed an ambiguous size
2024-06-06 14:17:14 +02:00
kynex7510
4ac52b11d2
Yeet safe_cast 2024-06-06 12:31:22 +02:00
SMJS
9a3a66ff3f
Added better color customization support for generic list cells (#854)
* Added better color customization support for generic list cells
2024-06-06 10:03:36 +02:00
dankmeme01
07ceb71e8c allow integral web param 2024-06-06 09:43:37 +02:00
qimiko
0060de4e64
a real path hash fix 2024-06-05 13:47:16 -07:00
SMJS
e0d9056a88
Added space only wrapping to the simple text area (#851) 2024-06-05 21:16:23 +03:00
Cvolton
144b2d70da
aliastl string 2024-06-04 23:33:07 +02:00
qimiko
84a73f11ab
works for me imo 2024-06-04 04:20:35 -07:00
matcool
4f6492da08 implement std::hash<std::filesystem::path> for everything but windows 2024-06-04 00:41:21 -03:00
qimiko
7860cb05ef
grrr (pch fixes) 2024-06-03 17:20:47 -07:00
altalk23
0c35a92ece Update queueInMainThread to be movable 2024-06-03 23:21:17 +03:00
altalk23
e52b488d0d remove old fields & fix some deprecations 2024-06-03 23:04:54 +03:00
matcool
ff8de703ab gnustl std::vector<bool>::at 2024-06-03 01:24:18 -03:00
matcool
324795cddb ghc::filesystem -> std::filesystem
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00
Cvolton
6575754b77
use aliastl on windows 2024-06-03 02:39:29 +02:00
matcool
713267a590 add getMod forward decl 2024-06-02 21:13:05 -03:00
matcool
ab08a1f64e remove log include from terminate util, fixes member test 2024-06-02 21:08:32 -03:00
Cvolton
5e413acfc2
update cclayer header for 2.206 2024-06-02 19:00:51 +02:00
kynex7510
ad54bf6425
Fix addresser 2024-06-02 10:43:41 +02:00
kynex7510
620e6b5eb9
Merge branch 'main' of https://github.com/geode-sdk/geode into new-index-but-better 2024-06-02 10:43:22 +02:00
qimiko
888f6e8dac
arm mac platform 2024-06-01 20:05:54 -07:00
dankmeme01
f8f85ad2b0 Merge branch 'main' into new-index-but-better 2024-06-01 22:39:58 +02:00
mat
ccfa6edf53
Merge pull request #814 from geode-sdk/win-64
Win 64 support
2024-06-01 17:12:30 -03:00
altalk23
008be9e780 typeinfo cast port 2024-06-01 20:23:03 +03:00
SMJS
2f56c0f800
Updated SimpleTextArea to clean up some old stuff and fix the overflow in most wrapping modes (#798)
* Fixed some broken overflow handles and made some optimizations in general

* Removed 2 empty methods

* Added an extra const
2024-06-01 18:22:50 +03:00
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