Umoria 5.7.3
The main focus of this release was to refactor the source code, applying the Extract Method refactoring pattern, along with fixing a couple of small bugs.
I've also added to the documentation with a better contributing guide, as well a proper Code of Conduct.
Bug Fixes
- Various repeat commands (e.g tunnelling) were broken in the 5.7.1 release.
- Remove
curs_set(0)
as a visible cursor is needed in menus!
Code
- Extract Method refactoring.
- Refactor
if/else
statements:- Add guard clauses / early returns where possible.
- Remove
else
when anif
returns. - Makes many easier to understand (e.g. less indentation).
- Refactor
do/while
statements, to be justwhile
statements where possible. - Remove unneeded braces for
if
statement expressions. - Rename many variables to make their function more obvious (still lots more to do in this area).
- Lots of general small refactoring.