32 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet
2de359f23d MOHAWK: MYST: Make the scripts time accounting pause safe 2018-06-13 08:00:29 +02:00
Bastien Bouclet
47ddd9c214 MOHAWK: MYST: Move the current stack id to ScriptParser 2018-06-13 07:55:55 +02:00
Bastien Bouclet
4ce71f3922 MOHAWK: MYST: Fix two Atrus videos playing at the same time in D'ni
In D'ni, after giving the white page to Atrus, or after coming without a
page, too videos of Atrus would play on top of each other after waiting
long enough for the first video to loop.

Fixes #10503.
2018-04-27 19:29:18 +02:00
David Fioramonti
52e247e239 MOHAWK: MYST: Make Dni/Atrus endings an enum
The global variable "ending" tracks various
states that Atrus can be in.

This variable determines what video of
Atrus will be playing and if the brother
books have been destroyed.

Despite this variable being called ending
there are other endings not captured by
this variable (like the brother endings).

Also change spelling of Dini to Dni for one
usage of ActiveAge from a previous commit.
2018-04-27 19:22:00 +02:00
dafioram
519e02da47 MOHAWK: MYST: Turn held page state into an enum
Previously, the held page stage was an unsigned int 16
with values 0-13. The enum will make its state more clear.
2018-04-25 18:46:50 +02:00
Bastien Bouclet
84b2dc5cc8 MOHAWK: Fix some clang-tidy warnings 2018-03-31 13:36:09 +02:00
Bastien Bouclet
e62e28732f MOHAWK: Myst: Fix one Atrus video being off position by one pixel
Fixes #10114.
2017-08-12 15:38:13 +02:00
Bastien Bouclet
07aaed5659 MOHAWK: Myst: Set the mixer sound type to SFX for videos
Also simplify video filename construction.
2017-07-30 17:42:01 +02:00
Bastien Bouclet
757459bd49 MOHAWK: Myst: Don't cast function pointers when registering commands 2017-07-22 20:38:56 +02:00
Bastien Bouclet
a99397f126 MOHAWK: Myst: Improve script execution tracing 2017-07-22 20:38:56 +02:00
Bastien Bouclet
3e99dd8ccc MOHAWK: Myst: Switch to bounds checked opcode arguments 2017-07-22 20:38:56 +02:00
Bastien Bouclet
c5496e3206 MOHAWK: Get rid of VideoHandle 2017-07-22 20:38:56 +02:00
Matthew Hoops
9665efa39a MOHAWK: Move further VideoManager functionality to VideoEntry 2015-07-17 20:05:04 -04:00
Matthew Hoops
7e6c8be7db MOHAWK: Make video handles actual objects 2015-07-17 20:05:00 -04:00
Johannes Schickel
abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Matthew Hoops
0817a02a7d MOHAWK: Use setStopTime() 2012-08-12 01:22:47 -04:00
Matthew Hoops
9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Bastien Bouclet
e0030a2aab MOHAWK: Fix incorrect cursor in D'ni (patch from P. Monnerat) 2011-08-27 17:09:12 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Bastien Bouclet
369db4fdfd MOHAWK: Shorten Myst stack classes names 2011-02-15 21:43:38 +01:00
Bastien Bouclet
fc605427a8 MOHAWK: Put togeter the Myst stack classes in a namespace 2011-02-15 21:43:37 +01:00
Max Horn
85aabef6fe VIDEO: Replace Video::VideoTimestamp with Audio::Timestamp
svn-id: r55814
2011-02-07 22:57:35 +00:00
Eugene Sandulenko
caa6684752 VIDEO: Move video classes to Video:: namespace
svn-id: r55479
2011-01-23 19:08:09 +00:00
Matthew Hoops
0761ab7b3a MOHAWK: Rename some VideoManager functions so we have some unified naming between versions
svn-id: r55312
2011-01-18 20:30:16 +00:00
Bastien Bouclet
aa38ad519c MOHAWK: Implement Atrus videos in D'ni
svn-id: r55245
2011-01-14 21:42:33 +00:00
Matthew Hoops
cd6d818ca3 MOHAWK: Cleanup named video handling
svn-id: r55188
2011-01-09 17:26:22 +00:00
Bastien Bouclet
9265c85c49 MOHAWK: Implement minimal D'ni stack. Lacking movie control.
svn-id: r55180
2011-01-09 10:14:40 +00:00
Bastien Bouclet
6cd890aaac MOHAWK: Merge classes MystVariables and MystSaveLoad to form MystGameState
svn-id: r55041
2010-12-26 14:31:03 +00:00
David Turner
5e92b6049b MOHAWK: Add Framework getVar() code to Myst D'ni Age Script Parser.
svn-id: r55015
2010-12-22 21:08:02 +00:00
Matthew Hoops
26f27d9983 MOHAWK: Split d'ni opcodes into their own class
svn-id: r54699
2010-12-01 14:46:59 +00:00