Commit graph

163 commits

Author SHA1 Message Date
HJfod
33af7befed Merge branch 'main' into new-index-but-better 2024-04-13 21:47:56 +03:00
HJfod
b1f33db497 add Popup::setCloseButtonSpr 2024-04-13 21:38:05 +03:00
Cooper
8c61a6fe60
Add MDTextArea link (#664)
* add level: links and mod: links

* fix errors

* fix errors 2

* fix errors 3 (hopefully)

* fix errors 4 (i think fixed?)

* fix 5 PLEASE

* fix mod links and make level links actually work

* PLEASE JUST WORK!!!!!!!!!!!!!

* change it to this

* oops forgot a )

* PLEASE HORRIBLE CODE JUST WORK!

* AHHHHHHHHHHHHHHH fix

* just work

* I DO HORRIBLE CODE

* Update ModInfoPopup.cpp

---------

Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-04-11 20:40:04 +03:00
HJfod
fc7d3343d9 implement proper mod update checking 2024-03-26 22:18:34 +02:00
HJfod
560b42c8de make server mods have a little bit of a different color 2024-03-25 13:18:25 +02:00
HJfod
a4685a50e1 fix ModPopup::updateState behaviour with the enable button 2024-03-24 21:31:42 +02:00
HJfod
56679e739b add a ModMetadata overload for openSupportPopup + make it crash-resistant 2024-03-24 00:33:46 +02:00
HJfod
eed99d16c5 update default logo to just N/A + move featured to a star icon next to the title rather than glow since we can't enforce mod logo shape 2024-02-28 21:33:58 +02:00
HJfod
b356a7670a remove old bad Colors utility 2024-02-28 00:27:35 +02:00
HJfod
fe4dbd96ed add left alignment option to TextInput 2024-02-27 23:32:37 +02:00
HJfod
909317146d featured mod glow :3 2024-02-27 01:16:24 +02:00
HJfod
708d1ec873 refactor a bit; works like a charm :3 2024-02-27 00:55:33 +02:00
HJfod
058f3546dc remove old index + UI fully 2024-02-26 18:27:42 +02:00
HJfod
f781a33239 add another missing cocos2d:: 2024-02-22 23:57:47 +02:00
HJfod
7795baaaf6 add missing cocos2d namespace 2024-02-22 23:57:23 +02:00
HJfod
2825654361 make top sprite offset settable in BasedButtonSprite 2024-02-22 23:56:20 +02:00
HJfod
e452f482a8 View buttons! 2024-02-22 17:28:09 +02:00
HJfod
8985b32fc2 initial work on new ui 2024-02-22 02:04:38 +02:00
HJfod
29f99c2eaa fix TextInputs and InputNodes using tags for fixed touch behaviour 2024-02-17 18:24:23 +02:00
HJfod
28f393b4de add sane TextInput class 2024-02-16 23:11:18 +02:00
Fleeym
c65626892b over ride 2024-02-16 02:44:02 +02:00
HJfod
8250a737e0 add missing GEODE_DLL to ColorPickPopup 2024-02-12 15:04:38 +02:00
ConfiG
3fec377e96
Improve actions build speed by using sccache, removes PCH (#493)
---------

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-02-11 15:58:46 -03:00
altalk23
a971322393 fix the funny thing in popup 2024-02-11 01:17:11 +03:00
HJfod
438252f946 add openSupportPopup 2024-02-10 21:11:59 +02:00
altalk23
9d92a7c11c fix simpletextarea alignment & dont update at draw 2024-02-04 19:23:53 +03:00
HJfod
a694453bfd fix Popup not adding the title as a child if the popup is not dynamic 2024-02-03 12:31:18 +02:00
HJfod
f53c02491a rename Popup::initDynamic to Popup::initAnchored 2024-01-31 23:38:09 +02:00
HJfod
ed588eb9b1 rename AutoSizeLayout to CopySizeLayout 2024-01-31 23:36:00 +02:00
HJfod
563a44c874 add a bunch of documentation and an option to addChildAtPosition 2024-01-31 23:30:52 +02:00
HJfod
389c8b1bda Merge branch 'main' into anchor-layout 2024-01-31 23:14:17 +02:00
HJfod
aa949aed39 finished design for AnchorLayout 2024-01-31 23:11:43 +02:00
altalk23
2fab7147f1 rob on his way to implement the most unintuitive system ever known to mankind 2024-01-30 17:26:04 +03:00
HJfod
7654f6e7cd initial ideas, going to sleep for today 2024-01-30 00:08:53 +02:00
Fleeym
d834ec1221 SimpleTextArea part 2 2024-01-28 20:55:28 +02:00
Fleeym
a105ca05fa fix SimpleTextArea not using public 2024-01-28 20:27:11 +02:00
altalk23
bb1fcbe678 inputnode has been very fun 2024-01-27 21:09:57 +03:00
altalk23
c551d430c3 inputnode fix 2024-01-26 16:29:14 +03:00
altalk23
303d7cede4 force prio hook no more 2024-01-24 11:57:10 +03:00
altalk23
709e3cab48 first impl of revert 2024-01-24 11:30:38 +03:00
altalk23
eeeedbb9c4 move clipping rect fix to scrolllayer 2024-01-23 22:14:21 +03:00
matcool
c00bd759c7 fix InputNode::getString 2024-01-16 13:58:31 -03:00
matcool
7ba832c9ee debug maybe works now, and other things 2024-01-09 16:59:57 -03:00
altalk23
5d07b2ab7d Geode android compiles gg girls and girls 2023-12-21 19:42:01 +03:00
altalk23
944ab383b4 funny virtual warning 2023-10-15 17:48:40 +03:00
altalk23
6574b22b81 Merge branch 'main' into 1.4.0-dev 2023-10-15 16:06:22 +03:00
altalk23
c967b520df fix the index notif staying on all the time 2023-10-11 22:16:12 +03:00
SMJSGaming
42a1a33c53 Added word wrappers, colors and optimizations to text area 2023-10-10 19:19:12 +02:00
SMJS
7f277a77e1
Added a simple text area UI node (#277) 2023-10-01 18:59:44 -03:00
altalk23
a43dcc84cb Revert "Add MenuItemSprite"
This reverts commit 152dc7edcf.
2023-09-20 17:37:42 +03:00
altalk23
dcc40f11e1 Revert "Fix some stuff related to menuitemspriteextra but gonna revert"
This reverts commit e8b98e48f5.
2023-09-20 17:37:30 +03:00
altalk23
e8b98e48f5 Fix some stuff related to menuitemspriteextra but gonna revert 2023-09-20 17:37:20 +03:00
altalk23
152dc7edcf Add MenuItemSprite 2023-09-20 17:07:25 +03:00
ConfiG
73169fbf22
improve index related ui
- hide install list behind a popup
- remove android and ios filters
- don't show not installable mods
- allow quick popups to be completely cancelled by esc
2023-08-13 21:52:36 +03:00
HJfod
f78969ca83 replace uses of touch priority and registerWithTouchDispatcher 2023-07-29 20:56:55 +03:00
alk
17eb0e5aa0
Add EnterLayerEvent<N> as default template param to the filter 2023-06-23 23:48:41 +03:00
qimiko
df7166711c
remove unsigned from table indexes
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
HJfod
b1df152231 add Notification::create default time 2023-04-15 14:25:33 +03:00
altalk23
4cec5d7eb0 Add copy ctors to event filters 2023-04-10 16:54:58 +03:00
HJfod
eabb68bbcf fix circle button sprite size 2023-04-01 17:20:49 +03:00
HJfod
0a37b01845 fix max size of editor button sprites 2023-03-08 19:31:07 +02:00
HJfod
4d2daec7df api break yahoo!!! fix BasedButtonSprite names and top node scaling 2023-02-26 12:46:55 +02:00
HJfod
cb00c2105f fix MDTextArea containing html tags that confuse flash's html minifier 2023-02-24 12:04:48 +02:00
HJfod
9c9706b456 fix warnings 2023-02-11 12:04:28 +02:00
altalk23
04dd151f0e minifunction replacing compiles 2023-02-08 18:25:07 +03:00
HJfod
6c557fa96a minor docs stuff 2023-01-25 00:07:15 +02:00
HJfod
e4706c9aca fix AEnterLayerEvent + resources not being loaded properly 2023-01-24 00:13:20 +02:00
altalk23
63671c9618 compilation test 2022-12-13 10:35:26 +03:00
HJfod
189040ac78 thingies
- rename LayerBG.hpp to General.cpp
 - add addListBorders UI function for adding comment borders to a list
 - change VersionInfo parsing to use streams
 - remove VersionInfo::validate and instead just have VersionInfo::parse
 - remove scnlib
2022-12-12 18:44:17 +02:00
HJfod
e0d7dbf15b index is now download correctly + that is reported in the UI 2022-12-07 21:21:50 +02:00
HJfod
b4b9986fa5 tryna fix crash due to events 2022-12-07 12:35:50 +02:00
HJfod
956ad1d6d5 many changes for updating Index
- events now follow a public const member pattern instead of getters
 - more file utils
 - ModInfoLayer split into LocalModInfoPopup and IndexItemInfoPopup to reduce uses of ugly variant
 - same with ModCell
 - lots of restructuring related to UI anyway
 - Index also got tons of redesigning
 - much more i've forgotten
 - this commit compiles, surprisingly enough, but it's not usable as installing mods through index was removed
 - remove duplicate LevelSearchLayer ids
2022-12-06 21:22:03 +02:00
HJfod
2c78b8e620 cleanup
- add CCArray::firstObject and CCArray::removeFirstObject
 - add minizip zip headers and sources (going to add file::Zip class soon)
 - redesign Notifications to be simpler
 - rework Result to not have dual implementations
 - Result::expect now has one default named argument for formatting the error in
2022-11-30 17:07:05 +02:00
HJfod
516393ae99 merge utils to be in fewer better-named files 2022-11-28 19:09:39 +02:00
HJfod
d701563534 lots of stuff
- add TableView virtuals on windows
 - rework events to match new events system
 - rename NodeStringIDManager to NodeIDs and add a syntactically sugary NodeIDs::provideFor function
 - change test mod to use event callbacks instead of exported ones
2022-11-12 14:55:25 +02:00
HJfod
c8fa701762 Merge branch 'main' into layout 2022-11-02 12:57:03 +02:00
HJfod
2d0bbebfef preliminary stuff
- customize hardcoded colors api (no impl yet)
 - more ids
2022-11-02 12:47:58 +02:00
altalk23
11e81e3d64 formatted includes 2022-10-30 21:59:20 +03:00
HJfod
6059a15dff add generic AEnterLayerEvent for my spooky textureldr stuff 2022-10-26 21:52:38 +03:00
HJfod
e97fad5a9a add early load option for mods 2022-10-26 00:50:33 +03:00
HJfod
c6919b5565 Merge branch 'main' into layout 2022-10-23 18:02:20 +03:00
HJfod
17014b6302 add geode::cocos::switchToScene utility 2022-10-23 17:54:42 +03:00
HJfod
86c1956790 Merge branch 'main' into layout 2022-10-17 00:05:14 +03:00
HJfod
0a1b5c9281 i forgot to add the LayerBG header 2022-10-16 21:37:18 +03:00
HJfod
ee68a73629 Merge branch 'main' into layout 2022-10-16 21:36:27 +03:00
HJfod
a38743d01d textureldr stuff
- reworked mod resource loading again
 - added `Loader::addTexturePath` and `Loader::removeTexturePath` for texture pack managers to add search paths
 - added `LayerBG.hpp` header with `createLayerBG` function for creating the blue background GD layers have
2022-10-16 21:34:16 +03:00
HJfod
c926f69790 Merge branch 'main' into layout 2022-10-15 18:49:07 +03:00
altalk23
1822860d50 Merge altalk23:main 2022-10-13 15:43:34 +03:00
altalk23
070474dd18 some header fixings and more compile time improvements 2022-10-13 14:00:41 +03:00
altalk23
cce4daf501 more compile time optimizations 2022-10-13 12:56:23 +03:00
HJfod
2b06316397 rework Index + add AsyncWebRequest API + add GEODE_DEBUG macro 2022-10-13 00:22:43 +03:00
HJfod
4e5ce3cdff Merge branch 'main' into layout 2022-10-11 16:46:40 +03:00
HJfod
66285aeadf fix setting crash on slider control disable + expose some internal ui
stuff for mods to use + update changelog
2022-10-11 16:45:56 +03:00
HJfod
3f7a9ed8d3 initial layout stuff 2022-10-10 20:58:47 +03:00
HJfod
0b64fe9259 more addresses + Popup was accidentally marked dllexport 2022-10-05 23:47:16 +03:00
HJfod
b1776d1d26 move fetch from Index to exported utils + add close button as a member
to Popup and move setup to be last in init + add
GEODE_PLATFORM_SHORT_IDENTIFIER macro for the platform's identifier in
GitHub release zips + add GEODE_VERSION to cmake + move unzipTo from
Index to be an exported util in file namespace + add mod resources
directories in accordance with new CLI
2022-10-05 15:41:05 +03:00
HJfod
64674166e8 add changelog tab 2022-09-30 00:30:25 +03:00
HJfod
9881d3e75f add issues key to mod.json for specifying where to report issues for
mods
2022-09-29 15:17:02 +03:00
HJfod
6ed265aa85 improve createQuickPopup + show crash info on startup 2022-09-28 19:56:34 +03:00
HJfod
51cb3ba85e fix warnings on clang 2022-09-28 16:21:05 +03:00