Commit graph

1308 commits

Author SHA1 Message Date
dankmeme01
c8aa2e30db rename getChildOfType member method to getChildByType, to avoid collisions 2024-10-13 13:19:07 +02:00
dankmeme01
0089d13f7a add getChildOfType to CCNode 2024-10-13 13:11:57 +02:00
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
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
matcool
f3d38a795b add caseInsensitiveCompare util, use it for local mod ordering 2024-10-02 16:18:32 -03:00
Oleksandr Nemesh
67f59e77fa
fix copy constructor (#1102) 2024-10-02 16:50:29 +02: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
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
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
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
mat
145adb2e1f
add much requested ccdrawnode::drawRect overload 2024-09-15 23:12:12 -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
altalk23
68ab4750ac add persistent dir 2024-09-14 12:29:53 +03: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
altalk23
db8a6c8903 make cocos geometry constexpr 2024-09-12 13:53:48 +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
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
75003b9afa fix inputs not working & make slider snaps not optional 2024-09-09 23:54:14 +03:00
HJfod
ad537375fa Merge branch 'main' into settings 2024-09-09 23:22:34 +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
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
HJfod
0efde83fd4 allow fine-grained parsing for settings 2024-09-09 00:50:49 +03: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
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
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
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
HJfod
792e61e2f5 Merge branch 'main' into settings 2024-08-31 23:07:48 +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
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
a2f74431c1 no real changes because they didn't work 2024-08-24 20:05:28 +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
766b71dfbd path settings done 2024-08-24 00:33:38 +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
8ce5700aad fix android & mac builds 2024-08-23 12:38:15 +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
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
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
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
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