Commit Graph
18 Commits
Author SHA1 Message Date
Kaloyan Chehlarski b1a861b50d NANCY: JANITORIAL: Fix trailing whitespace/tabs 2024-02-19 20:46:17 +01:00
Kaloyan Chehlarski 4d5c4fcfcc NANCY: Rename graphics and cursor managers
Changed the names of the pointers to GraphicsManager
and CursorManager to be shorter, since they were
inconsistent with the rest of the managers, and typing
them out is a chore.
2024-02-11 00:41:29 +01:00
Kaloyan Chehlarski 78ad16fc46 NANCY: Consistently show/hide virtual keyboard
Fixed edge cases where the mobile virtual keyboard
wouldn't show/hide properly when it should.
2024-01-21 14:22:06 +01:00
Kaloyan Chehlarski 9940a63fc6 NANCY: Improve keymap disabling behavior
Changed the way keymaps are disabled/enabled to reduce
calls to the InputManager, and make sure secondary
keymaps are only enabled when needed, and kept disabled
the rest of the time.
2024-01-21 13:58:48 +01:00
Kaloyan Chehlarski 9ee549edd2 NANCY: Remove unnecessary ConfMan instance calls
Removed occurences of the ConfMan macro being used
to get the transient domain name. This makes sure we don't
generate unnecessary calls to ConfigManager::getInstance().
2024-01-11 23:04:14 +01:00
Kaloyan Chehlarski bb2538b57f NANCY: Do not overwrite nancy7 savefile name
Fixed an overlooked issue in the nancy7 save menu where
just clicking the save button without entering a new name
would default the save back to the ScummVM-generated
default name.
2024-01-09 23:06:48 +01:00
Kaloyan Chehlarski 0d6f44f0eb NANCY: Improve support for nancy7 save menu
The nancy7 (and only nancy7) save menu has two extra
strings in the LOAD chunk: one for the text that will appear
when a save slot is empty, and a default save prefix when
the player inputs an empty save name. Both of these are
now correctly loaded and used.
2024-01-05 23:42:02 +01:00
Kaloyan Chehlarski 22bdbbfd50 NANCY: Split maze map key into separate Keymap
The "Open map" action used in nancy3/nancy6's
RaycastPuzzle interfered with general keyboard input,
causing whichever key was bound to it to not fire.
Effectively, this meant that inputting the letter 'm' was
impossible. This commit makes sure the binding is
deactivated whenever text input is needed.
2023-12-30 00:16:14 +02:00
Kaloyan Chehlarski 6939fddaa7 NANCY: Show/hide virtual keyboard when saving 2023-12-30 00:16:14 +02:00
Le Philousophe 1c2d757dbd NANCY: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Kaloyan Chehlarski 2bd6092738 NANCY: Use numpad enter key
In places where the engine expects text input, using the
numpad enter key now acts the same as using the return key
2023-11-28 11:50:55 +02:00
Kaloyan Chehlarski 56b48f6186 NANCY: Add GetEngineData macro
Added a macro that hides away the ugly casts whenever
an EngineData object is requested.
2023-10-12 12:42:28 +03:00
Kaloyan Chehlarski 24f1044ed3 NANCY: Implement additional save dialogs
Added support for the dialogs asking if you want to
overwrite an existing save, or load a save without saving first
(both introduced in nancy6).
2023-10-02 12:19:30 +03:00
Kaloyan Chehlarski 3279224042 NANCY: Show load button immediately after saving 2023-09-03 18:37:48 +03:00
Kaloyan Chehlarski 03d4791ed2 NANCY: Implement standard way to access boot chunks
Previously, the NancyEngine class was responsible for
handling creation and destruction of many naked pointers
to engine data, which led to several instances of memory
leaks that needed to be fixed. These changes introduce a
standard way of handling that same data, similar to the
one already used by PuzzleData inside Scene. Unfortunately,
this does add the need for relevant data to be casted to
the proper type before it is handled.
2023-08-31 12:20:39 +03:00
Kaloyan Chehlarski 7e5f7030dd NANCY: Fix cursor transparency in save/load menu
Fixed an issue with the blinking cursor in LoadSaveMenu not
displaying properly.
2023-08-28 19:53:33 +03:00
Kaloyan Chehlarski 1bb5d42a2e NANCY: Implement save prompt on quit
Later games added a prompt to save before quitting, which is now implemented.
2023-08-28 19:53:33 +03:00
Kaloyan Chehlarski f25b6e42a7 NANCY: Implement original load/save menu 2023-08-28 19:53:33 +03:00