Commit graph

956 commits

Author SHA1 Message Date
HJfod
3897293862 add file::Zip utility for creating Zip files 2022-12-12 12:45:20 +02:00
HJfod
0178b63102 fix mod loading
- Loader::refreshModsList and Loader::loadModsFromDirectory now return void instead of Result and don't fail if one of the mods fail to load
2022-12-12 11:12:37 +02:00
mat
20715d86aa
add dispatchInsertText and dispatchDeleteBackward 2022-12-11 22:25:58 -03:00
HJfod
9fe9853325 implement back monkey patch to center mod icons on featured bg 2022-12-12 00:49:13 +02:00
HJfod
571d33fa9b add filtering by developer (will rework later)
- rn how it works is that it just filters the list when you click the dev name, although honestly this is kinda neat too
2022-12-12 00:36:26 +02:00
HJfod
afe57c4bc1 add featured items to Index
- also fix index checksum not being saved if you close the game with the console X button like i do when developing
2022-12-12 00:19:54 +02:00
HJfod
596c806fa4 bring back searching
- yeah that
 - also Index::getTags for getting all tags in index now
2022-12-11 23:50:08 +02:00
HJfod
49fbf9c2e4 clean up ModListLayer.cpp 2022-12-11 21:20:03 +02:00
HJfod
f59e82f682 change how tag node colors work to just pick one from a predefined array 2022-12-11 21:17:08 +02:00
HJfod
500e6f2d26 remove use of operator<=>
it doesn't work on mac
2022-12-11 21:01:52 +02:00
HJfod
8a1ecbe5ab try to fix mac build
- add <tuple> include to VersionInfo
2022-12-11 20:44:38 +02:00
HJfod
f8c307dd6e update tag node to look less bad 2022-12-11 20:36:32 +02:00
HJfod
880b0dab41 fix loader crashing if mods fail to load (again) 2022-12-11 20:23:42 +02:00
HJfod
f6e334745c Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-11 19:50:02 +02:00
HJfod
9e3e9ed856 fix some uses of m_ in structs 2022-12-11 19:45:33 +02:00
matcool
e78f4ff910
update glew, add its lib and fmod.lib 2022-12-11 14:43:34 -03:00
HJfod
6456a3fcc5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-11 19:39:00 +02:00
altalk23
a137fd9637 fix filesystem for windows 2022-12-11 14:37:57 +03:00
camila314
9465d7ff75 UILayer id 2022-12-10 23:10:52 -06:00
camila314
08df8c627a GJGarageLayer ids 2022-12-10 22:54:09 -06:00
altalk23
3a31efe113 implement pimpl for loader 2022-12-10 19:30:14 +03:00
altalk23
fc394c3cac Merge remote-tracking branch 'main-repo/main' into altalk 2022-12-10 17:08:45 +03:00
altalk23
c8fed17ea4 add pad to playerobject 2022-12-10 17:08:25 +03:00
camila314
5921c96bcb string id helpers and editorui fully done 2022-12-09 23:08:25 -06:00
HJfod
286bdb2bc6 standardization
- remove m_ prefix from structs
 - make IPC event members public
 - make IPC event reply as json
2022-12-09 21:29:21 +02:00
HJfod
b3b5370c4b remove advanced settings as early load is handled through mod.json now 2022-12-09 21:00:31 +02:00
HJfod
3b1a11e11f index work
- installing mods works again
 - add EventListener::setFilter
 - fix loader panicking if some mods failed to load
2022-12-09 15:13:08 +02:00
HJfod
92c22d25e4 rename UpdateError to UpdateFailed 2022-12-09 12:53:49 +02:00
camila314
44bcf1844a macos dir issue 2022-12-08 21:25:58 -06:00
camila314
1b456ceb4c nightly defaultism 2022-12-08 21:15:10 -06:00
HJfod
7397193e57 index is looking good
- mod dependencies reworked to be much less bad and actually good now
 - mod dependencies finally check the version
 - support for dynamic versions for dependencies (<=vX.X.X, ==vX.X.X, >=vX.X.X)
 - index is now ready for implementing mod installation, then we're done with this massive sausage package
2022-12-09 00:28:05 +02:00
HJfod
28b413d636 make VersionInfo constexpr 2022-12-08 22:04:02 +02:00
HJfod
17a13f22cc add update indicator back to MenuLayer 2022-12-08 21:31:10 +02:00
HJfod
84bdeb7beb index work!!
- add tag support for index
 - rename CategoryNode to TagNode
 - add them back to the UI + fix spacing issues related to them
 - deleted ModListView, now using a generic ListView with the mod cells added as children to it
2022-12-08 21:15:06 +02:00
camila314
77bd2743d4 loader cleanup 2022-12-08 12:00:23 -06:00
HJfod
e763e271bf fix Event::postFrom using Mod::get 2022-12-08 13:43:58 +02:00
HJfod
311eb2e356 work
- fix file::listFiles
 - temporarily make loader mod min version very low to work with index
 - index now properly updates
2022-12-08 13:35:02 +02:00
HJfod
9da9493816 fix Unzip::intoDir not deleting the zip after 2022-12-08 13:08:45 +02:00
HJfod
037602ecea more work on index
- fix index not being a static instance
 - fix small stuff related mods list UI including index updating and error messages
 - fix Unzip directories not being created relatively properly
2022-12-08 13:06:11 +02:00
HJfod
82c3179885 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-08 11:53:49 +02:00
camila314
282797b0ea Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-07 13:39:09 -06:00
camila314
6331c37ac6 what did i do 2022-12-07 13:39:07 -06:00
camila314
de4e8cdcf4 no released 0.7.0, reverting 2022-12-07 13:38:47 -06:00
HJfod
e0d7dbf15b index is now download correctly + that is reported in the UI 2022-12-07 21:21:50 +02:00
HJfod
996acf15aa Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-07 12:37:10 +02:00
HJfod
b4b9986fa5 tryna fix crash due to events 2022-12-07 12:35:50 +02:00
alk
6e2784d3ef
Merge pull request #94 from altalk23/altalk
fix events and cleanup
2022-12-07 13:34:48 +03: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
08934132d8 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-04 18:41:14 +02:00
altalk23
20a2dc9f07 fix events and cleanup 2022-12-04 19:39:40 +03:00