Commit graph

13 commits

Author SHA1 Message Date
Kaloyan Chehlarski
18eea6d464 NANCY: Add support for nancy9 RippedLetterPuzzle
In nancy9 this record got an upgrade allowing for an
extra solution, as well as duplicated elements.
2024-02-18 22:31:13 +01:00
Le Philousophe
1c2d757dbd NANCY: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Kaloyan Chehlarski
6433d7c073 NANCY: Silence uninitialized variable warnings 2023-10-28 16:19:35 +03:00
Kaloyan Chehlarski
ab9114bf9a NANCY: Ensure deferred loader will run at least once 2023-10-28 16:19:33 +03:00
Kaloyan Chehlarski
fa522ff939 NANCY: Move hypertext handling outside Textbox
Added a separate class for handling hypertext (tagged
text used in conversations, etc) in preparation for the
addition of Autotext, which will also use it.
2023-09-19 17:38:24 +03:00
Kaloyan Chehlarski
4cb1ab3f9b NANCY: Improve readRectArray() utility function
The data in a lot of action record types has a fixed number
of rects in an array, only some of which is actually filled.
readRectArray() has now been modified to take in an
additional parameter indicating the max number of rects
that could be present in the passed stream, so it can
automatically skip to the end, reducing boilerplate code
in calling functions. The function now also appends rects
to the provided array, rather than overwrite them. Also, all
readRect() variants now do not extend rects by 1 pixel when
they are empty, ensuring calls to isEmpty() succeed.
2023-09-12 19:43:29 +03:00
Kaloyan Chehlarski
a75fd6dfcf NANCY: Add ReadRect16() utility functions
Also made all versions of ReadRect read signed integers.
2023-08-28 19:53:33 +03:00
Kaloyan Chehlarski
e761b5ae25 NANCY: Implement deferred loading for RaycastPuzzle
Added facilities for deferred loading of data that would take
far too long for a single frame. Deferred loading is
executed after the regular loop, where the system would
previously just sleep. Added deferred loading to RaycastPuzzle, which now no longer freezes the game
while initializing.
2023-08-23 12:15:06 +03:00
Eugene Sandulenko
f94464ecb1
NANCY: JANITORIAL: Remove trailing spaces 2023-08-07 10:47:50 +02:00
Kaloyan Chehlarski
3a39e75388 NANCY: Correct reading of filenames in nancy3 2023-05-10 16:57:32 +03:00
Kaloyan Chehlarski
856f6f89e9 NANCY: Add data reading utility functions 2023-03-30 20:21:46 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
fracturehill
993f708dd0 NANCY: Don't adjust rects in The Vampire Diaries
readRect() no longer adds a pixel to the right and bottom for
The Vampire Diaries, since rects in that game are non-inclusive.
2021-04-25 00:04:53 +03:00