Commit Graph

11 Commits

Author SHA1 Message Date
786d261f98 Allow dialogues to be hidden or shown
To do this, MENU and SUBMENU are split into two types (at last), and
a Widget type is introduced. This should allow lots of code to be
removed at some point.
2020-04-14 03:14:49 +01:00
dc131939f4 Make include directives work in .mnu files 2020-04-13 21:03:54 +01:00
76bf8438b0 Display MainGame.mnu and map in ordoor simultaneously
It's a complete mess for now - many things are out of place or shown
when they shouldn't be - and we can't move around the game map. But,
it's a good start.
2020-04-11 01:01:05 +01:00
971b3178d6 Implement the options menu, part 1
This commit implements loading and saving options from/to config, and
enough UI toolkit magic to allow changes to boolean options to be
persisted.

We now respect the "play movies" setting and take screen resolution
from the config file.
2020-03-22 22:12:59 +00:00
46925c09d1 Make the menu buttons work 2020-03-21 18:50:26 +00:00
7a8e9dbd97 Respect sprite X and Y offsets
This makes menus display more correctly, and also fixes trees and other
objects on the main map, although it messes up bounds clipping (sigh).
2020-03-21 00:56:35 +00:00
ce5ef6edeb Add some more details of the .mnu [SUB]MENUTYPE field 2019-01-02 06:51:30 +00:00
af679d0c6a Document Menu/*.mni files 2018-12-31 13:38:35 +00:00
645a2dbe25 Fix up .mnu documentation slightly 2018-12-30 23:32:44 +00:00
b21767fe97 First pass at displaying Menu files 2018-12-30 23:23:08 +00:00
3c3a688406 Skeleton docs for .mnu files 2018-10-13 03:22:39 +01:00