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

Decoupling, continued #1598

Merged
merged 4 commits into from
Feb 28, 2023
Merged

Decoupling, continued #1598

merged 4 commits into from
Feb 28, 2023

Conversation

jaedan
Copy link

@jaedan jaedan commented Feb 28, 2023

  1. Create the renderer library
  2. Split Assets into Assets and IO

Neither of these libraries have the correct boundaries/APIs. Instead, this is split in the way that was the absolute smallest code change. I'll do another pull request with refactoring to get the boundaries/APIs/responsibilities right later on.

Copy link
Collaborator

@andreakarasho andreakarasho left a comment

Choose a reason for hiding this comment

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

I recently added https://github.com/ClassicUO/ClassicUO/blob/main/Directory.Build.props#L3-L14 file to replace commons properties between csproj. So you don't need anymore to specify some of these props

@jaedan
Copy link
Author

jaedan commented Feb 28, 2023

Updated to use Directory.Build.props

Jaedan added 4 commits February 28, 2023 10:05
Remove a lot of unused configurations
This seems to be an old version of the font renderer that isn't used
anymore.
Likely all of the Draw() calls should move over in some form too, but
for now keep the code as similar as possible.
IO is for reading from disk. Assets is for managing in-memory assets.
The lines between these libraries are not at all right, but this was the
simplest way to separate the files for now.
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.

None yet

2 participants