Removed unused functions, split public and private methods, moved internal helpers to private, added constness for getters, removed code duplications.
Also it's another help step for the isometric view.
Differential D1571
Refactor and cleanup of CGameView vladislavbelov on Jun 10 2018, 3:51 PM. Authored by
Details
Removed unused functions, split public and private methods, moved internal helpers to private, added constness for getters, removed code duplications. Also it's another help step for the isometric view.
Diff Detail
Event TimelineComment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/641/display/redirect
Comment Actions Please look at comments from Stan, me and others.
Comment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/1136/display/redirect Comment Actions From a superficial look, nothing that would make me raise a concern. (hindsight-me is usually smarter though.)
Comment Actions If you want to commit this patch to continue working on greater features that depend on this, and if you have done your best to ensure the correctness, I would suggest to take that decision to commit into your hands. Edit: You can add "Comments By:" if you can't post "Reviewed By:"
Comment Actions If you ask if WFGs policy allows for unreviewed commits, then I wonder why you ask, after you saw me committing hundreds of unreviewed patches and always arguing for that freedom, other people committing unreviewed patches this release, and last but not least the lengthy forum discussions to reinsure this freedom, last one at https://wildfiregames.com/forum/index.php?/topic/25169-post-a23-commit-frenzy/. One of my arguments is that granting a developer access to commit patches of people who can't be trusted (external contributors) implies trusting the developer to decide over the quality of a contribution singlehandedly. Another argument is that there is a big difference in quality between reviews and peer reviews. If the author knows the code in question much better than anyone else, the reviews won't be very effective nor efficient. On the other hand reviews cost time for the reviewer - if the reviewer wants to do a good job, it costs similarly much time as compared to writing the patch. If you ask if you can commit this specific commit without review, I can't speak on the impact of a patch that I didn't verify for myself. But I trust you to be able to judge this patch, and we gave you a double edged sword to butter the bread, so care. Comment Actions Yeah, I understand your point. My point is that everyone mistakes, and waiting for more review sometimes decreases a mistake chance. But sometimes it takes too much time.
I appreciate your trust. Comment Actions Here are some comments.
Comment Actions Agreed with elexis that you may commit this if you're confident enough.
|