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

Change Color to be a struct rather than an enum #629

Merged
merged 3 commits into from
Apr 30, 2017

Commits on Apr 30, 2017

  1. Change Color to be a struct rather than an enum

    This reduces the size of the type and eliminates the need to branch to
    read from it, increasing its usability, and bringing it closer to the
    conceptual Color type used by most libraries and SDL itself.
    SpaceManiac committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    c75ea1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    640e6ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89cf014 View commit details
    Browse the repository at this point in the history