Skip to content

Added color codes#2117

Open
SMJSProductions wants to merge 14 commits into
geode-sdk:mainfrom
SMJSProductions:color-codes
Open

Added color codes#2117
SMJSProductions wants to merge 14 commits into
geode-sdk:mainfrom
SMJSProductions:color-codes

Conversation

@SMJSProductions

Copy link
Copy Markdown
Contributor

No description provided.

@dankmeme01 dankmeme01 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Aside from pending comments, there are some other things overall:

  • While we aren't very consistent with it, most of the codebase doesn't add const to all local variables, so it's best to remove that for clarity
  • Simpler functions should honestly just be in the header for consistency. Those with a larger body can stay in the .cpp file. I probs would've just made the entire class header-only so it doesn't add extra compile time to geode and allows for greater inlining

Comment thread loader/include/Geode/utils/ColorCode.hpp
Comment thread loader/include/Geode/utils/ColorCode.hpp
Comment thread loader/include/Geode/utils/ColorCode.hpp Outdated
Comment thread loader/include/Geode/utils/ColorCode.hpp Outdated
Comment thread loader/include/Geode/utils/ColorCode.hpp Outdated
Comment thread loader/src/utils/ColorCode.cpp Outdated
Comment thread loader/src/utils/ColorCode.cpp Outdated
Comment thread loader/src/utils/ColorCode.cpp Outdated
Comment thread loader/src/utils/ColorCode.cpp Outdated
Comment thread loader/include/Geode/utils/ColorCode.hpp Outdated
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.

2 participants