-
Notifications
You must be signed in to change notification settings - Fork 11
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
separate patches into dedicated source files #4
Conversation
patches/random_costs.cpp
Outdated
} | ||
|
||
bool hasNaturalResourceCost(const genie::Unit &unit) { | ||
std::vector<ResourceCost> costs = unit.Creatable.ResourceCosts; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like there are a few issues with spaces and tabs in this file 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops, my bad
CMakeLists.txt
Outdated
@@ -4,6 +4,19 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++") | |||
add_subdirectory(genieutils EXCLUDE_FROM_ALL) | |||
include_directories( | |||
"genieutils/include" | |||
"." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"." | |
"." |
Looks good, really like that change, much better overview and easier to add new mods in the future! 👍🏽 |
@FranciscoDA What did you use for code formatting, do you have a |
Manually formatted I'm afraid 😰 (although I honored the original formatting a bit) I've added a .clang-format file and reformatted the sources according to that. |
Thank you! 💛 |
Nice! 👍🏽 |
No description provided.