23ffc4d8b9
Refactor ResourcePack
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-12-19 10:42:42 +02:00
2b590f24ed
remove task parent from constuctor
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-11-01 00:11:45 +02:00
55b6490530
Merge pull request #1617 from cullvox/components-resource-pack-fix
...
added functionality for components in resource pack descriptions.
2024-06-09 16:03:19 +03:00
463608b289
fixed shader packs detection
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-10 19:37:11 +02:00
0fe3241df6
remove now unneeded Q_ASSERTs
...
Signed-off-by: Tayou <git@tayou.org >
2023-10-22 21:25:06 +02:00
7d5206818b
fix switch/case fallthrough
...
Signed-off-by: Tayou <git@tayou.org >
2023-10-22 21:25:00 +02:00
87f34f07d7
Merge branch 'develop' into components-resource-pack-fix
...
Signed-off-by: cullvox <68567525+cadenmiller@users.noreply.github.com >
2023-10-01 11:58:44 -04:00
1684cff7ac
Update links to Minecraft Wiki
...
Minecraft Wiki has officially moved from Fandom to their own wiki.
I updated some links I found in comments.
Signed-off-by: alexia <me@alexia.lol >
2023-09-25 15:49:12 +02:00
0e41ceffc4
removed missed header
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-09-16 19:18:58 +03:00
01e98a6ce8
simplify the raw json parsing
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
Fixed Tests
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-09-16 19:12:09 +03:00
e96d0b6caf
DCO Remediation Commit for cullvox <cullvox@outlook.com>
...
I, cullvox <cullvox@outlook.com >, hereby add my Signed-off-by to this commit: ee7016fa54
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-13 14:31:04 -04:00
e1dda6c005
DCO Remediation Commit for cullvox <cullvox@outlook.com>
...
I, cullvox <cullvox@outlook.com >, hereby add my Signed-off-by to this commit: ddf0c28b1b
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-12 21:50:33 -04:00
ddf0c28b1b
clang-format fixes
2023-09-12 21:45:29 -04:00
a4e6530513
added tests, fixed issues with overriding/format
...
In the documentation it states that child values can override the parent
values. Originally this code did not support that but now it does. Also
added in testing inspired by the previous tests.
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-12 21:34:42 -04:00
df88ccd419
clean up and add review suggestions, links open
...
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-11 15:49:01 -04:00
b16085f66c
attempt to fix clang-format and ubuntu build.
...
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-11 02:05:05 -04:00
fbe4043651
fix formatting and add more proper errors.
...
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-11 01:34:53 -04:00
58bd6d929f
added formatting with colors.
...
This is somewhat dirty implementation and I will clean it up soon.
Using the HTML rich text features of Qt, made it much easier to
understand what was needed.
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-10 23:37:26 -04:00
7a7c3015f4
fix not properly reading json text.
...
The text now displays properly in the GUI of Prism.
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-09 20:25:49 -04:00
1261908ef7
remove space for clang-format
...
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-09 19:55:55 -04:00
ef1dc2afac
DCO Remediation Commit for cullvox <cullvox@outlook.com>
...
I, cullvox <cullvox@outlook.com >, hereby add my Signed-off-by to this commit: 05f4214cc5
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-09 19:50:59 -04:00
05f4214cc5
fix clang-format failing
2023-09-09 19:50:13 -04:00
04aa0155bf
DCO Remediation Commit for cullvox <cullvox@outlook.com>
...
I, cullvox <cullvox@outlook.com >, hereby add my Signed-off-by to this commit: d2e662ddbb
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-09 19:45:30 -04:00
093d09efe3
fix style, and use qWarning instead of throw.
...
Signed-off-by: cullvox <cullvox@outlook.com >
2023-09-09 19:03:33 -04:00
d2e662ddbb
added support for components in resource pack descriptions.
...
Signed-off-by: Caden Miller <me@cadenmiller.dev >
2023-09-09 12:35:34 -04:00
1d638e018a
chore: update license headers
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-04 19:41:47 +02:00
1d468ac35a
chore: reformat
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-02 18:35:35 +02:00
ed185f047f
feat(resourcePackPage): icon column
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-05-04 23:46:00 -07:00
3691f3a296
fix: cleanup and suggested changes
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2022-12-26 14:50:15 -07:00
ccfe605920
feat: add shaderpack validation
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2022-12-24 15:55:10 -07:00
64c51a70a3
feat: add initial support for parseing datapacks
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2022-12-24 09:42:02 -07:00
f55fc51e9b
fix: remove commented-out assertions
...
They may not hold true at all times, and that's fine.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-11-20 11:11:08 -03:00
df0f9259c0
refactor: move RP/TP validation to their respective utils
...
This makes it easier to validate individual resources, and allows the
logic to be used in other places in the future, if we need to.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-11-20 11:10:26 -03:00
1f6b8f9d2b
fix instance IDs and resource pack imports
...
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com >
2022-11-19 23:59:30 +08:00
3b13e692d2
feat: move resource pack images to QPixmapCache
...
This takes care of evicting entries when the cache gets too big for us,
so we can add new entries without much worries.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-03 13:37:22 -03:00
8a7e117f6b
refactor: move resource pack file parsing utilities to separate namespace
...
This makes it easier to use that logic in other contexts.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-03 13:37:22 -03:00
9b984cedac
feat: add image from pack.png to resource packs
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-03 13:37:22 -03:00
f21ae66265
feat: add basic resource pack parsing of pack.mcmeta
...
This parses the pack format ID and the description from the local file,
from both a ZIP and a folder, and hooks it into the model.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-03 13:37:21 -03:00