Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/tasks #9

Merged
merged 3 commits into from
Dec 13, 2022
Merged

Feat/tasks #9

merged 3 commits into from
Dec 13, 2022

Conversation

BIRD311
Copy link
Member

@BIRD311 BIRD311 commented Nov 18, 2022

#3 should be fine with this. Not sure where to put paths for different system configurations. Maybe variables for the task to parse, setting environment variables, let the user change it and supply a windows and linux version ...

#2 drag and drop is obviously not implemented and there is no automatic detection of slurs but the rest should be fine with this.

I left 2 todos in. Both have something to do with UI and how the Tasks should tell the user if something is wrong or could be wrong.

src/Lib/BSP/BspFile.cs Outdated Show resolved Hide resolved
src/Lib/BSP/BspFile.cs Outdated Show resolved Hide resolved
src/Lib/BSP/Struct/Entity.cs Outdated Show resolved Hide resolved
src/Program.cs Show resolved Hide resolved
src/Program.cs Show resolved Hide resolved
Copy link
Member

@tsa96 tsa96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I took a while getting to this. Looks really solid, can't really find any issues besides formatting nits, not gonna bother with those, we can always chuck in an auto formatter in the future.

src/Tasks/RunExternalToolTask.cs Outdated Show resolved Hide resolved
@Gocnak
Copy link
Member

Gocnak commented Dec 13, 2022

Re-requested @Panzerhandschuh and @tsa96 for 👀 but looks great to me!

Adds a system to modify and run checks on the BSP.
Task can be serialized to json.
They can report progress and result for the UI.

Tasks:
        - applying stripper config changes to the bsp
        - changing textures
        - compression
        - running external tools like bspfix
@tsa96 tsa96 merged commit f3f966a into main Dec 13, 2022
@tsa96 tsa96 deleted the feat/tasks branch December 13, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants