Commit graph

2630 commits

Author SHA1 Message Date
HJfod
ff8de4eec6
Merge pull request #1036 from Prevter/lightning
cocos2d::CCLightning
2024-08-13 21:26:25 +03:00
HJfod
05a4daf794 Merge branch 'main' into settings 2024-08-13 13:42:37 +03:00
HJfod
1b5ae86f7b fix s_idCounter missing definition 2024-08-13 13:42:24 +03:00
HJfod
c6bbf4b3a1 once again main is broken 2024-08-13 13:41:49 +03:00
HJfod
78c69199e0 Merge branch 'main' into settings 2024-08-13 13:38:11 +03:00
HJfod
1f2aa2ced7 how did i not notice- 2024-08-13 13:37:41 +03:00
HJfod
89d1a5140f new settings stuff that i need to commit because main broke 2024-08-13 13:34:33 +03:00
HJfod
00e191accb
Merge pull request #1040 from SMJSGaming/main
Added IDs to web request to prevent incompatibilities between web mods
2024-08-13 11:35:49 +03:00
SMJSGaming
58402e9b7b Made the ID system thread safe 2024-08-13 10:11:54 +02:00
SMJSGaming
a5bbf6a40c Added IDs to web request to prevent incompatibilities between web mods 2024-08-13 09:05:59 +02:00
Oleksandr Nemesh
3ea6001ca4
fix members 2024-08-10 18:58:32 +03:00
Oleksandr Nemesh
bcff1652b8
Merge branch 'geode-sdk:main' into lightning 2024-08-10 13:37:18 +03:00
Oleksandr Nemesh
fca774adbf
cleanup the header 2024-08-10 13:37:08 +03:00
dankmeme01
e4054d46fc fix missing GEODE_DLL in ccarray funcs 2024-08-07 19:18:36 +02:00
TheSillyDoggo
677bd762de
Change SwelvyBG sprites to be 2048x512 (#1029)
Since these textures use GL_REPEAT, the resolution should be powers of two otherwise it might not work on some devices (such as iOS)
Source: https://registry.khronos.org/OpenGL-Refpages/es2.0/xhtml/glTexParameter.xml
2024-08-05 11:29:32 -03:00
Cvolton
c11462af1d add arg name for fullPathForFilename 2024-08-05 14:18:36 +02:00
Chloe
81f8573cc5
stl fix for member tests 2024-08-05 02:26:38 -07:00
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
Oleksandr Nemesh
bf6879113f fix buttons glitches 2024-08-02 02:45:39 +03:00
Oleksandr Nemesh
677e7debd5 add restart button 2024-08-02 02:45:28 +03: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
altalk23
fe730ed78b use virtual getChildren for getChildByID 2024-08-01 12:31:16 +03:00
dankmeme01
bae22b4e34 add new gd::string constructor 2024-07-30 17:19:33 +02:00
HJfod
a533b5f51a actually technically that last one didn't match og behaviour even 2024-07-29 22:06:14 +03:00
HJfod
8de28d1e2a support old <c hex> syntax too for backwards compatability 2024-07-29 22:05:37 +03: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
96e2f5b63a update theme button name and id 2024-07-29 15:17:25 +03:00
HJfod
69f2934768 silence a warning 2024-07-29 15:15:08 +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
Chloe
4266a82a56
update minizip-ng to latest commit
this fixes an issue in which some compilers may complain about gz_intmax not being defined - this is intentional to match rob's version of zlib on windows
2024-07-25 05:43:38 -07:00
altalk23
006ede8f34 replace all c number parsing with numFromString 2024-07-25 15:17:35 +03:00
matcool
2cd1a9ee26 use C locale instead of en_us.utf8
TODO: replace these with numFromString instead :P
2024-07-24 19:21:35 -03: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
matcool
61e000daa0 check hash for downloaded mods 2024-07-20 18:16:06 -03:00
matcool
1e6d6fbcb6 these arent used anymore 2024-07-20 17:12:28 -03:00
matcool
dfdb7107dd fix build 2024-07-20 17:04:35 -03:00
matcool
4f321973ac implement custom window for showing crashlog instead of messagebox
very cool :-)
2024-07-20 16:28:03 -03: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
Cvolton
ba7b0fa818 remove low limit for mod logo scale 2024-07-10 14:24:25 +02:00
dankmeme01
e26fe954a6 update netlibs (fix crashes on macos wine and old wine/proton) 2024-07-07 15:00:03 +02:00
matcool
1f8f76a0e6 cleanup code for new image args syntax 2024-07-06 21:02:02 -03:00
Justin
0a3de6cd4e
New image arguments format (#983) 2024-07-06 20:04:25 -03:00
altalk23
9009b3db6a fix macos modify changes 2024-07-07 01:06:40 +03:00
altalk23
66c2f9a0d4 no more CCPoint::unrotate! (function bound checking inside crashlog handler) 2024-07-07 00:41:43 +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
matcool
efc4a002b0 run blank generation script 2024-07-06 15:37:36 -03:00
HJfod
aed02d22f6 wait what it didn't even include all of my stuff in the commit??? 2024-07-06 17:15:07 +03:00
HJfod
828078ef65 i didn't actually even try to compile ANY of that 2024-07-06 17:12:32 +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
HJfod
8dfef9e62a Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-07-06 00:44:46 +03:00
HJfod
0082765591 add special visuals for paid tag + make featured tag match with it 2024-07-06 00:44:30 +03:00
Cvolton
e432e72fa0 add openChangelogPopup, deprecate openInfoPopup 2024-07-05 23:07:30 +02:00
matcool
22b258028c bring back geode uninstall button on windows 2024-07-04 20:49:21 -03:00
matcool
e659b97ceb force internal mod to always appear enabled 2024-07-04 20:49:06 -03:00
altalk23
f73e473ae5 only skip selecting a mod if the dependency is a required one 2024-07-04 14:45:31 +03:00
altalk23
255066a4b9 build modsToLoad stack statically 2024-07-04 14:38:51 +03: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
HJfod
5b7efea357 force MZ_FETCH_LIBS 2024-06-29 13:12:56 +03:00
Flafy
1da73cf3fc
Fixes for TextInput (#977) 2024-06-28 23:49:43 -03:00
ConfiG
7ae5ca0310
force fetch zlib on windows 2024-06-28 22:13:53 +03:00
dankmeme01
09c188a157 fix the fix of the messagebox fix 2024-06-28 20:47:39 +02:00
dankmeme01
69bb63087a fix glfwerror handler 2024-06-28 20:43:25 +02:00
mat
4dd348a2e4
remove msvcstl as its no longer used 2024-06-28 11:10:19 -03:00
ConfiG
21c928856c
use real clang for windows builds 2024-06-28 00:50:47 +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
Fleeym
f94e95ef8e fix(FileSettingNode): use event listener for task 2024-06-25 21:09:36 +03:00
dankmeme01
d752bc2ca3 fix auto updater on macos 2024-06-25 19:41:04 +02:00
ConfiG
4a044bc16a
update minizip 2024-06-25 20:24:46 +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
qimiko
98852129f7
qwq 2024-06-25 07:03:26 -07:00
shloakmenon
ac93a6c220 Fix macOS safe mode again 2024-06-24 20:40:29 -04:00
ConfiG
14efdd86d4
hello everybody my name is config and welcome to one early return at geode 2024-06-25 03:34:11 +03:00
mat
c2e9eb9718
make safeModeCheck return a boolean 2024-06-24 21:25:55 -03:00
shloakmenon
e4905a0a20 Add Safe Mode for MacOS 2024-06-24 20:18:41 -04:00
Cvolton
fd476fe872
add special error when bad dlls detected 2024-06-24 21:25:15 +02:00
matcool
71fdea4adb missed one dbg log 2024-06-24 16:05:39 -03:00
matcool
138460485d add check for different bytes at entry address
somehow 2 people had this, so now the code does something else to find
the main function
2024-06-24 16:02:52 -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
Cvolton
89ed81ac62
replace exclamation with update dot if update available 2024-06-23 21:46:43 +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
Cvolton
83bb3c2ff2
fix missing version check for incompats 2024-06-23 17:40:25 +02:00
Cvolton
58863246af
fix install confirmation popup not showing stuff 2024-06-23 17:23:36 +02:00
dankmeme01
f06a7414bb cleanup many creates promoting better modern c++ coding practices 2024-06-23 11:36:16 +02:00
qimiko
00799b6b5b
android getgameversion impl 2024-06-22 17:46:55 -07:00
altalk23
cfb682ef79 Reenable can_catch hook for android64 (fully fixes exceptions) 2024-06-22 14:01:02 +03:00
SMJS
184abd397a
Moved the inverse border (#941) 2024-06-22 02:16:05 -07:00
qimiko
1f5ebf93e2
left align it for fod 2024-06-22 01:56:01 -07:00
qimiko
581e2d3a93
replace versions tab for now 2024-06-21 21:40:36 -07:00
altalk23
518f94144d Don't save data if mod is uninstalled with save 2024-06-21 14:32:31 +03:00
altalk23
b72bb9e6d0 display commit hashes for the loader mod 2024-06-21 12:03:21 +03:00
altalk23
4509607853 remove the custom setting missing warning 2024-06-21 11:13:54 +03:00
altalk23
7742b57c49 even hackier one-of abi fix 2024-06-21 11:10:23 +03:00
altalk23
8e753a3034 refix the one-of impl with hacky way 2024-06-21 10:50:13 +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
qimiko
2cd0990aa1
display mods not on current platform 2024-06-20 18:57:49 -07:00
qimiko
9095005613
more details button for problems 2024-06-20 18:24:14 -07:00
mat
84a9dfa9d5
remove mod count from user agent 2024-06-20 19:18:58 -03:00
altalk23
e796711f6e quick fix events crash 2024-06-20 23:46:09 +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
c66ddd56ac remove forgotten debug log 2024-06-20 22:39:11 +03:00
mat
101fc946a0
remove outdated comment 2024-06-20 15:40:43 -03:00
altalk23
c50196b31f align comments 2024-06-20 21:36:28 +03:00
altalk23
ec1d846a69 Fix delayload xmm0 2024-06-20 21:35:10 +03:00
dankmeme01
2824c17e89 some cleanup and improvement for windows crashlog
* added special case for calls of unimplemented functions on wine
* make the "Faulty Mod" string display the name and the version
* make faulty mod detection slightly smarter (for C++ exceptions and wine unimpl stubs searches through the stack instead of just checking the 1st entry)
2024-06-20 19:17:24 +02: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
7d79ddde30 slow one-of impl 2024-06-20 19:46:12 +03:00
Fleeym
115f0e75a0 download specific version for update instead of latest 2024-06-20 19:30:51 +03:00
ConfiG
255a42c1f9
fix frame drawing over next/prev page buttons 2024-06-20 19:14:40 +03:00
altalk23
abc34f9a1e make indexof a basic for loop instead 2024-06-20 19:12:26 +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
eb233f8482 update tuliphook 2024-06-20 15:37:55 +03:00
ConfiG
b3925f1913
fix gd version of the top sprite too 2024-06-20 15:29:34 +03:00
ConfiG
e273ef27b6
fix some ui positioning 2024-06-20 15:27:01 +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
ConfiG
0a6a5e6206
clamp swelvy bg vertically instead of repeating 2024-06-20 14:45:27 +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
dankmeme01
fdb473ac7c fix std::locale crash on some systems 2024-06-20 06:01:19 +02:00
Cvolton
79689cdbc4
fix geode layer enter crash 2024-06-19 23:51:57 +02:00
Fleeym
70fe096724
Windows stacktrace fix (#925)
* fix the windows hook exceptions

* update tuliphook

* update tuliphook

* remove old code

---------

Co-authored-by: altalk23 <45172705+altalk23@users.noreply.github.com>
Co-authored-by: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-06-19 23:03:32 +03:00
ConfiG
815c4a31d8
no mod updates is not an error 2024-06-19 19:11:09 +03:00
Cooper
8792747de2
Add discord and website links to mod.json (#921) 2024-06-18 20:26: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
Fleeym
76e2ed47c6 fix texture corruption on ModsLayer 2024-06-18 01:36:59 +03:00
matcool
6e6daceb1c bring back safe mode ui 2024-06-17 15:15:01 -03:00
matcool
a421047d16 check for texture loader's fallback 2024-06-17 12:02:33 -03:00
matcool
626a65cb38 ok we do need addSearchPath in updateModResources 2024-06-17 11:13:26 -03:00
Cvolton
de50b989c7
add comma to download count 2024-06-17 13:11:01 +02:00
dankmeme01
f3525035ad fix Ref and WeakRef move assignment operator 2024-06-17 12:56:12 +02:00
Cvolton
71c585f80d
fix android build 2024-06-17 12:38:37 +02:00
Cvolton
8f3f4d7a05
only trigger confirmation popup if state changed 2024-06-17 10:20:47 +02:00
matcool
aeaf7f7b88 fix paths not properly being removed due to trailing /, and other logic errors 2024-06-17 03:01:28 -03:00
matcool
3313a4461d only check for updates once ever in menulayer::init 2024-06-16 17:20:49 -03:00
matcool
8f1a9cf6a3 show confirm dialog directly when updating mods 2024-06-16 17:20:36 -03: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
qimiko
df3d1477c7
hide platform console option on android 2024-06-15 15:30:03 -07:00
qimiko
8164bb20df
mark platforms as known in settings 2024-06-15 15:28:09 -07:00
HJfod
5c418c7052 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-06-15 14:00:56 +03:00
HJfod
0309e01e04 make file::openFolder actually work on selecting paths on windows 2024-06-15 14:00:35 +03:00
dankmeme01
6ae11dd462 don't change the method from POST to GET when following a redirect 2024-06-15 11:48:02 +02:00
Fleeym
4f400b530f
Move pick file APIs to Tasks (#899) 2024-06-14 23:19:16 +03:00
Fleeym
274b8d743f
Replace "Recommended" with "Featured" tab (#897)
* replace recommended with featured

* remove suggested source, update popup

* remove featured from isDefaultQuery
2024-06-14 19:52:14 +03:00
matcool
9679b4010d update server user agent format 2024-06-14 00:54:31 -03:00
matcool
c1fbc08381 hacky temporary fix for mods with old gd key syntax 2024-06-14 00:32:38 -03:00
dankmeme01
84a2c6bc42 apparently it was a tuliphook bug so all of this is unnecessary 👍 2024-06-13 23:12:58 +02:00
dank_meme
e141d097ab dont crash on mods failling to load (again) 2024-06-13 22:07:43 +02:00
dank_meme
e37615b459 fix mods crashing instead of failing to load when they fail to load 2024-06-13 22:02:49 +02: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