Commit graph

2670 commits

Author SHA1 Message Date
dankmeme01
5f8d272816 code cleanup: remove unnecessary template
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-10-11 22:52:50 +02:00
SMJS
a04edcfd54
Settings + some list fixes (#1108)
* Made the force disable work as expected by replacing the NOT AND with an XOR

* Made sure that the mods layer doesn't force disable the geode theme in the settings

* Reverted the previous fix and properly migrated the force disable theme option

* Fixed the name of the last argument of ListBorders::setSpriteFrames

* Made a correction for the vanilla borders being gigantic

* Added a missing force disable theme

* Removed a test line

* Fixed the scroll issue in the entire geode UI

* Fixed the min height of the settings list

* Applied the same fix the mod lists

* Made the fuzzy search less random

* Replaced as with a static cast
2024-10-11 22:27:56 +02:00
Justin
30542d794a
CCDictionary custom constructor (#1109)
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-10-10 16:40:41 +02:00
dankmeme01
6d0b583c1f fix string setting filter not applying
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-10-08 15:08:29 +02:00
alk
d4ca28c51a
dont reinvent the wheel
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-10-04 15:01:42 +03:00
camila314
9e82cee2bf Merge remote-tracking branch 'refs/remotes/origin/main'
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-10-02 17:51:12 -05:00
camila314
04fd01c2c6 Fix header includes to build for non-pch 2024-10-02 17:51:06 -05:00
Cvolton
dc51127c33 remove unnecessary includes from string header 2024-10-03 00:46:11 +02:00
mat
9d0c8cddb9
add missing string utils include
sorry non pch users..
2024-10-02 19:22:06 -03:00
matcool
f3d38a795b add caseInsensitiveCompare util, use it for local mod ordering 2024-10-02 16:18:32 -03:00
Capeling
6d2557b22a
Fix bad 'top-right-menu' placement in MenuLayer (Node IDs) (#1103)
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
* Fix bad 'top-right-menu' placement in MenuLayer (Node IDs)

* Adjust height positioning by 10.f
2024-10-02 17:53:11 +02:00
Oleksandr Nemesh
67f59e77fa
fix copy constructor (#1102) 2024-10-02 16:50:29 +02:00
dankmeme01
8ecb1c549a fix linux console crash, comment code out until someone figures out a more proper fix
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-10-01 19:51:30 +02:00
altalk23
d40ba6d558 fix importance resolving in disabled mods 2024-10-01 15:26:56 +03:00
altalk23
8be97b73c9 fix mod query default 2024-10-01 15:26:29 +03:00
alk
79a2fe793a
Update CCLightning.h 2024-10-01 14:21:53 +03:00
alk
b39342a941
Update CCLightning.h 2024-10-01 14:13:50 +03:00
alk
dd27d06163
cry worthy 2024-10-01 14:07:23 +03:00
HJfod
38ccaaf240
Revert "Delete CCLightning header" 2024-10-01 10:31:02 +00:00
HJfod
af7fe97a45
Merge pull request #1094 from hiimjustin000/patch-2
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
Delete CCLightning header
2024-10-01 13:24:51 +03:00
HJfod
964624b974 modtober integration 2024-10-01 13:22:38 +03:00
HJfod
c68c31c2d8
Merge pull request #1096 from geode-sdk/smjs
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
add `Popup::CloseEvent`
2024-09-30 11:58:22 +03:00
Justin
fa3daf602d
WE ARE DELETING IT 2024-09-28 15:30:31 -04:00
Justin
b8233258da
i think i got it 2024-09-28 14:25:40 -04:00
Justin
0187014d3c
okay what 2024-09-28 13:57:53 -04:00
Justin
2a8ea4ef44
test 2024-09-28 13:17:23 -04:00
Justin
0c42076903
CCLightning custom constructor (#1093)
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-27 18:30:58 +02:00
dankmeme01
70a1ee81f9 stop including winsock
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-21 18:57:42 +02:00
HJfod
b53759fcb5 shut the fuck up
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-21 15:36:46 +03:00
HJfod
dc8d271ff1 add openSettingsPopup overload that returns the created popup
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-21 15:33:59 +03:00
HJfod
6270e1c73b add Popup::CloseEvent 2024-09-20 23:05:50 +03:00
HJfod
879ca57b7f alk u can revert this if it's wrong
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-18 22:18:35 +03:00
dankmeme01
b488755190 remove this condition because it's obsolete in 2.2
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-18 13:39:43 +02:00
dankmeme01
60a528a76a
add android umap and set; bunch of gnustl headers (#1084)
* add android umap and set; bunch of gnustl headers

* slight change
2024-09-16 14:52:54 +02:00
dankmeme01
264cb28d88 remove this thing
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-16 12:45:50 +02:00
Chloe
c6dcf11ad0
it's okay. you can escape now 2024-09-16 00:25:14 -07:00
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