I was giving a look at the Grid System and despite it is working, there a lot of strange things which are really really strange. More in details:
-
The only documentation about it can be found in Grid.h, in GridLoader.h, and in NGrid.h, which however consists in a few line of comments (most of them full of grammar errors and hard to understand).
-
A whole class has been commented out (i.e. GridLoader.h) in an old Megamage commit, and no further details can be found over the comments and forum topics about it.
-
Many, many methods have been commented out without any documented reason (not sure if they have been moved to actual implementation or just deleted)
-
The terms are quite misleading since the Grid actually seems to be a cell (contained in an NxN grid i.e. NGrid), even though there exists also a Cell which is used in other places and there is no clear distinction between what should be used for what else.
-
There seems to be no clear distinction between the abstract Grid and its concrete implementation, making it very hard to do whatever change.
Since it seems that ages of partial updates have been done to it, I wanted to ask if there is someone ( more skilled than I am in C++ ) that would like to discuss the problems and go in depth in order to renew this old system that hasn’t seen a real update since the beginning.