Commit graph

2684 commits

Author SHA1 Message Date
altalk23
ad26357e73 fix addresser following through thunk 2024-09-16 09:54:47 +03:00
mat
145adb2e1f
add much requested ccdrawnode::drawRect overload 2024-09-15 23:12:12 -03:00
HJfod
c3e7f235e0 add missing null check 2024-09-15 23:59:49 +03:00
HJfod
84122dc08d so it turns out we doin 3.7.0 already 2024-09-15 22:12:47 +03:00
HJfod
8f88913815 make ModSettingsManager manage savedata fully
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Waiting to run
2024-09-15 12:19:54 +03:00
HJfod
f0b6a7074a fix legacy custom settings not being loaded 2024-09-15 11:15:24 +03:00
HJfod
2999fb242a fix custom setting values not being loaded 2024-09-15 11:15:24 +03:00
Chloe
f9a6333c94
possibly mac native binaries 2024-09-14 20:23:16 -07:00
Chloe
b148c3957a
INSERT_TUTORIAL_HERE
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-14 15:19:16 -07:00
altalk23
358590b951 add persistent folder button
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-14 12:41:23 +03:00
altalk23
68ab4750ac add persistent dir 2024-09-14 12:29:53 +03:00
SMJS
b3d54747bf
Fixed the touch priority of the settings buttons (#1079)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
* Fixed the touch priority of the settings buttons

* Added a touch priority overwrite for the apply button
2024-09-13 20:47:08 +02:00
altalk23
1281c7663a move make preferred to parse as well 2024-09-13 20:11:45 +03:00
altalk23
43adb35311 move data loaded 2024-09-13 20:08:16 +03:00
dankmeme01
8615bbd52f fix datasaved being called too late 2024-09-13 18:58:19 +02:00
altalk23
4ad9c848c0 fix filesystem path from json 2024-09-13 19:33:17 +03:00
altalk23
a42b81ae5e forgot some constexpr functions 2024-09-13 14:42:45 +03:00
altalk23
d7693ad130 fix constexpr functions 2024-09-13 14:28:08 +03:00
dankmeme01
aadd0e4923 remove 2 redundant casts cuz like why
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Waiting to run
2024-09-12 18:02:30 +02:00
altalk23
db8a6c8903 make cocos geometry constexpr 2024-09-12 13:53:48 +03:00
altalk23
91150911d4 manual confirm downloading if newly downloaded mods also have incompatibility
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-12 11:11:54 +03:00
dankmeme01
dc170d7a17 temp workaround to fix crashes on wine
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-11 15:21:42 +02:00
HJfod
2119b4e333 actually save and load old custom settings 2024-09-11 13:02:57 +03:00
Chloe
818d8bfe28
fix all versions check
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-11 01:01:20 -07:00
Chloe
30dc70c232
update invalid mods v3
Some checks failed
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
2024-09-10 14:03:28 -07:00
Chloe
d8cb2dec14
restore unsupported platform message 2024-09-10 14:01:13 -07:00
dankmeme01
54ff48c993 remove early ub on load 2024-09-10 22:34:10 +02:00
HJfod
75186f6346 add support for file settings making their default value a description 2024-09-10 23:09:53 +03:00
HJfod
6944f80e78 update invalid mods (show a popup + make the N/A button gray) 2024-09-10 22:57:34 +03:00
HJfod
f0f6d4a04e it's N/A 2024-09-10 22:37:30 +03:00
HJfod
91a550971b nvm alk fixed ck 2024-09-10 22:23:58 +03:00
HJfod
65a80c1057 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-09-10 22:21:23 +03:00
HJfod
93ed3910c3 nvm 2024-09-10 22:21:12 +03:00
Justin
e8751bf899
limitNodeWidth, limitNodeHeight, and width/height properties in Markdown images (#1043)
* New image arguments format

* add ampersand support whoops

* first moves

* i think that's it for now
2024-09-10 21:13:42 +03:00
altalk23
2d9ce8f3e3 weakref hash from sleepyut 2024-09-10 21:10:19 +03:00
HJfod
67814ece83
Merge pull request #1073 from geode-sdk/settings
Settings Rework
2024-09-10 20:27:20 +03:00
IliasHDZ
7c558ee47e
Fixing current working directory on startup (#1047)
* add fix currect working directory

* oops

* change to wchar and use max_path

* using `std::array`

* Make the cwd fix use std filesystem path

---------

Co-authored-by: IliasHDZ <nassimbennamari38@gmail.com>
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-09-10 20:07:09 +03:00
HJfod
361102eb8f allow collapsing titles
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-09-10 18:08:07 +03:00
HJfod
de9acbc8eb add scrollbar + different errors for missing settings 2024-09-10 17:14:37 +03:00
HJfod
324cc768fe include apple stuff first
Some checks failed
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
2024-09-10 00:00:55 +03:00
HJfod
9bd1da3215 wait no include foundation first instead 2024-09-09 23:58:00 +03:00
HJfod
7592af4a14 undef commenttype 2024-09-09 23:57:32 +03:00
HJfod
75003b9afa fix inputs not working & make slider snaps not optional 2024-09-09 23:54:14 +03:00
HJfod
77268271ee fix esc not showing unsaved changes popup 2024-09-09 23:53:58 +03:00
HJfod
ad537375fa Merge branch 'main' into settings 2024-09-09 23:22:34 +03:00
HJfod
72cb957afd add "desktop" and "mobile" to PlatformID::getCovered 2024-09-09 22:52:18 +03:00
HJfod
b66bcca2a6 show invalid values in the UI 2024-09-09 22:30:04 +03:00
HJfod
d5718be422 add PlatformID::getCovered 2024-09-09 22:29:47 +03:00
HJfod
9f1c70ad09 allow making incompatibilities platform-specific 2024-09-09 22:29:34 +03:00
Chloe
18cf751eb3
Show invalid mods on mod search (#1065)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
* invalid server mod parsing

* show message for invalid mod

* show invalid on explicit search
2024-09-09 01:55:20 -07:00
Chloe
f6ed9c8f70
Split update checks into multiple batches (#1066)
* skip check with empty mod list

* initial batching implementation

* remove header that i don't use

* use vector insert instead of copy
2024-09-09 01:55:09 -07:00
HJfod
62af8da879 Merge branch 'main' into settings
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-09 01:03:42 +03:00
HJfod
0efde83fd4 allow fine-grained parsing for settings 2024-09-09 00:50:49 +03:00
ninXout
a121b8a37c minor fix to mod incompatibilities 2024-09-08 16:17:49 -04:00
HJfod
f1715cda28 make SettingValueNodeV3 keep track of the current value + some docs
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-08 12:07:10 +03:00
HJfod
474d85d6fe Merge branch 'main' into settings
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-07 23:50:19 +03:00
HJfod
8e38551ea4 add settings searching :3 2024-09-07 23:50:01 +03:00
HJfod
ab9654a596 disable the search clear button if there is no search 2024-09-07 23:49:53 +03:00
HJfod
81d5dc0cae reworks on setting nodes; Custom setting types are now tested to work!
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-07 11:36:07 +03:00
Chloe
adfc942fa0
add user agent to downloads
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-09-05 10:51:43 -07:00
Justin
bff34729a7
allow dashes in developer name search (#1023)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
* Update FiltersPopup.cpp

* remove space
2024-09-05 04:05:08 -07:00
HJfod
fdcdfbd30c bump version & update changelog
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-09-05 12:35:12 +03:00
HJfod
63fa437386 fix android build 2024-09-05 12:08:09 +03:00
HJfod
741bc93a3b make sure resetting also marks settings as committed
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-04 22:18:23 +03:00
HJfod
ddf27910fb Merge branch 'main' into settings 2024-09-04 22:16:07 +03:00
camila314
c38f588dc7 add disregard
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-04 12:02:31 -05:00
altalk23
d95a43be0b fix scroll layer when anchor point is not ignored 2024-09-02 23:23:13 +03:00
HJfod
792e61e2f5 Merge branch 'main' into settings 2024-08-31 23:07:48 +03:00
HJfod
6b8dd4a1ae add restart and config dir buttons to settings popup 2024-08-31 23:07:29 +03:00
HJfod
8a826065a1 add restart required because of settings to moditem and modpopup 2024-08-31 22:00:01 +03:00
HJfod
6eb079735f setting events & restart stuff 2024-08-31 21:36:53 +03:00
HJfod
659c168a14 add generic function helpers 2024-08-31 21:35:41 +03:00
SMJS
d0eb881ebc
Fixed a bug where only 1 word wrap variant can exist (#1058)
* Fixed a bug where only 1 word wrap variant can exist

* Made the delimiters a string view
2024-08-31 12:27:38 +02:00
Cvolton
444a8c198b
add disable/enabledrawarea to ccdrawnode 2024-08-29 23:04:01 +02:00
HJfod
db9e2ccb48 fully implement enable-if!!!! 2024-08-28 22:38:07 +03:00
HJfod
4fb42754cb add restart required label 2024-08-24 23:39:10 +03:00
HJfod
dd17301761 color settings 2024-08-24 20:05:34 +03:00
HJfod
a2f74431c1 no real changes because they didn't work 2024-08-24 20:05:28 +03:00
HJfod
62b6241e37 fix dialog opening stuff 2024-08-24 12:40:32 +03:00
HJfod
56f878ccb3 folder settings & allow picking which dialog to use 2024-08-24 12:13:58 +03:00
HJfod
1a82d12b7b add Task::cancelled 2024-08-24 11:31:53 +03:00
HJfod
971e3fb254 make file picker dialog cancellation not return an error but just cancel the task 2024-08-24 11:26:28 +03:00
HJfod
766b71dfbd path settings done 2024-08-24 00:33:38 +03:00
HJfod
3f3b52104f add file sprite 2024-08-23 23:35:33 +03:00
HJfod
35d16eb44e improve jsonvalidation type errors 2024-08-23 23:35:29 +03:00
HJfod
908ac44a0b add default value option to JsonExpectedValue::get 2024-08-23 22:56:17 +03:00
HJfod
4ec449ed41 deprecate old settings functions 2024-08-23 22:56:00 +03:00
HJfod
36853b785c fix crash due to not checking if setting is loaded 2024-08-23 22:55:43 +03:00
HJfod
8ce5700aad fix android & mac builds 2024-08-23 12:38:15 +03:00
HJfod
dc6637e130 string setting nodes + move number setting nodes to a shared class + legacy custom setting nodes proven to work 2024-08-23 12:36:49 +03:00
HJfod
85e7b5e3ab make AxisLayout size hint more reasonable 2024-08-23 11:32:26 +03:00
HJfod
6ed6b32669 int and float setting nodes 2024-08-22 14:22:57 +03:00
HJfod
5263483b0a bool setting nodes are so back now 2024-08-21 23:35:31 +03:00
HJfod
40a28eec7b make custom settings be based on custom setting types 2024-08-21 21:41:44 +03:00
HJfod
a5f56cb7cb a bit of docs on modsettingsmanager 2024-08-20 13:18:59 +03:00
HJfod
71eb4a2041 fix target gd version not working if it's set to * 2024-08-20 12:57:04 +03:00
HJfod
07001bf36f fix warnings 2024-08-20 12:56:46 +03:00
HJfod
0d318ceda6 fix typeinfo_pointer_cast usage 2024-08-20 12:56:32 +03:00
HJfod
28cc6fdbd3 move typeinfo_pointer_cast to a cross-platform header 2024-08-20 12:50:20 +03:00
HJfod
f061dd4bf2 make setting constructors private 2024-08-20 12:50:04 +03:00
HJfod
1032d9afa8 no longer crashes on startup :3 2024-08-20 00:31:41 +03:00
HJfod
90ed885d89 Merge branch 'main' into settings 2024-08-19 19:19:48 +03:00
HJfod
f37c903160 new settings should work now 2024-08-19 19:19:29 +03:00
Cvolton
cd5a66c1d1 add Notification::Cancel 2024-08-15 15:43:45 +02:00
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