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

General refactoring #95

Merged
merged 6 commits into from
Jan 14, 2016
Merged

General refactoring #95

merged 6 commits into from
Jan 14, 2016

Conversation

ooxi
Copy link
Owner

@ooxi ooxi commented Jan 13, 2016

  • Out of historical reasons most classes were defined in the default namespace whereas others where defined in namespace violetland. To move forward and reduce chance of name conflicts (class Configuration in default namespace) all classes where moved to namespace violet. The name violet was chosen over violetland in order to enable explicit namespacing without too much visual distraction.
  • All include guards prefixed by VIOLET_
  • Refrain from using namespaces in header files
  • Clearified copyright and license of ConfigFile.h
  • Removed unnecessary global GameMode variable

Out of historical reasons most classes were defined in the default namespace whereas others where defined in namespace `violetland`. To move forward and reduce chance of name conflicts (class `Configuration` in default namespace) all classes where moved to namespace `violet`. The name `violet` was chosen over `violetland` in order to enable explicit namespacing without too much visual distraction.
Used explicit namespace where appropriate.
ooxi added a commit that referenced this pull request Jan 14, 2016
General refactoring

 * Out of historical reasons most classes were defined in the default namespace whereas others where defined in namespace `violetland`. To move forward and reduce chance of name conflicts (class `Configuration` in default namespace) all classes where moved to namespace `violet`. The name `violet` was chosen over `violetland` in order to enable explicit namespacing without too much visual distraction.
 * All include guards prefixed by `VIOLET_`
 * Refrain from using namespaces in header files
 * Clearified copyright and license of `ConfigFile.h`
 * Removed unnecessary global `GameMode` variable
@ooxi ooxi merged commit 4de774f into master Jan 14, 2016
@ooxi ooxi deleted the feature/general-refactoring branch January 14, 2016 09:41
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.

1 participant