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

reimplement item_category loading via generic_factory #35147

Merged

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented Oct 29, 2019

Summary

SUMMARY: Interface "reimplement item_category loading via generic_factory"

Purpose of change

In order to make it easier to approach a fix for #26380

Describe the solution

Pulls out Item_factory's handling of loading item_category in json and uses generic_factory.

Testing

Compiled, loaded up a game, and checked some items for categories. categories seemed to be assigned properly and no errors popped up.

@KorGgenT KorGgenT added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Oct 29, 2019
@KorGgenT KorGgenT force-pushed the item_category-generic_factory branch 2 times, most recently from 21ca0bc to bbbd9ac Compare October 29, 2019 23:07
@KorGgenT KorGgenT marked this pull request as ready for review October 29, 2019 23:21
@KorGgenT KorGgenT force-pushed the item_category-generic_factory branch from bbbd9ac to 28265d4 Compare October 29, 2019 23:23
@AMurkin
Copy link
Contributor

AMurkin commented Oct 30, 2019

Tests are failing to compile.

@KorGgenT
Copy link
Member Author

will have to look at that later tonight - maybe by 9 hours from now

reimplement loading from Item_factory to use generic_factory
@KorGgenT KorGgenT force-pushed the item_category-generic_factory branch from 0b41857 to 0ec0504 Compare October 31, 2019 00:46
@kevingranade kevingranade merged commit a4d5b8c into CleverRaven:master Oct 31, 2019
@KorGgenT KorGgenT deleted the item_category-generic_factory branch October 31, 2019 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants