Menu selection is now data driven

Some major refactoring has been going on.
Added simple structs of data containing info about what action to take when a menu item is selected.

Finally removed all but one call to display.display() in menu-function. There might still be more than one call to it on a frame though, since some functions still calls it internally.
This commit is contained in:
Mikael Degerfält 2019-06-16 01:42:25 +02:00
parent 6a8e36635e
commit 9a0bb369ac
2 changed files with 253 additions and 447 deletions

File diff suppressed because it is too large Load diff