Bastien Bouclet
1f914ea759
MOHAWK: MYST: Don't call the mouse up handler if executeMouseUp was used
...
Fixes Trac#10573.
2018-07-21 09:56:33 +02:00
Bastien Bouclet
47ddd9c214
MOHAWK: MYST: Move the current stack id to ScriptParser
2018-06-13 07:55:55 +02:00
Bastien Bouclet
13b3371f1a
MOHAWK: MYST: Extract a Card class out of the main engine class
...
This is to allow having multiple cards loaded at the same time in the
future.
2018-06-13 07:55:55 +02:00
Bastien Bouclet
4e77445086
MOHAWK: MYST: Opcode 102 in Channelwood can only set the volume to non 0 values
...
Fixes Trac#10532.
2018-05-17 20:49:28 +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
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
75040819c6
MOHAWK: Myst: Rewrite the sound code
...
It now more closely matches the original. Effect sounds are now stopped
when resuming background sounds.
Fixes #9574 , Fixes #9920 .
2017-07-22 20:38:56 +02:00
Bastien Bouclet
a2fc282e1c
MOHAWK: Myst: Move the sound code to its own class
2017-07-22 20:38:56 +02:00
Bastien Bouclet
64303abb07
MOHAWK: Myst: Update the screen only once per frame
...
Change all inner loops to call the same frame function.
Remove the draw delay code. Now that we have proper frame pacing it is
not necessary anymore to wait before drawing to make sure the previous
frame stayed on the screen long enough.
Fixes #9915 , #9922 , #9923 .
2017-07-22 20:38:56 +02:00
Bastien Bouclet
49fa0bdd68
MOHAWK: Myst: Change blocking movies and waits to use the main loop
2017-07-22 20:38:56 +02:00
Bastien Bouclet
c5496e3206
MOHAWK: Get rid of VideoHandle
2017-07-22 20:38:56 +02:00
Bastien Bouclet
b7b06e8399
MOHAWK: Allow the mouse cursor to move while drawing in a tight loop
2017-03-18 16:15:09 +01:00
Bastien Bouclet
f306beab59
MOHAWK: Fix one of the Channelwood monitor movies being misaligned
2016-03-05 14:43:10 +01:00
Bastien Bouclet
f3265626ed
MOHAWK: Fix Channelwood's opcode 129
...
It should only play the sound if no other is already playing
2016-02-20 14:00:59 +01:00
Bastien Bouclet
de5015dce4
MOHAWK: Fix some incorrect MystArea casts
2016-02-07 15:27:03 +01:00
Bastien Bouclet
727ee86a44
MOHAWK: Don't use static_cast to downcast view resources
2016-02-07 15:27:03 +01:00
Bastien Bouclet
0463e00fb6
MOHAWK: Don't downcast _invokingResource using static_cast
2016-02-07 15:27:03 +01:00
Bastien Bouclet
cddb5cd53a
MOHAWK: Rename Myst's Area classes
2016-02-07 15:27:03 +01:00
Bastien Bouclet
e0e7790dfb
MOHAWK: Fix the getter for Channelwood's var 32
2016-01-13 19:22:06 +01: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
Bastien Bouclet
07ee25c87d
MOHAWK: Implement most of Myst's transition system
2012-12-16 06:54:13 +01:00
Bastien Bouclet
5d90c93385
MOHAWK: Play Channelwood stairs door closing movie backwards
2012-12-16 06:51:01 +01:00
Matthew Hoops
5e52b0a5d4
MOHAWK: Split the graphics classes into their own files
2012-03-10 13:55:08 -05:00
Bastien Bouclet
2d8457fceb
MOHAWK: Implement channelwood var getter 31 (patch from P. Monnerat)
2011-08-27 17:09:12 +02:00
Bastien Bouclet
7cc82487d3
MOHAWK: When running scripts in Myst, add delays when necessary between draws to mimic older hardware.
2011-05-14 14:10:45 +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
Filippos Karapetis
66a715ea99
MOHAWK: Silence a warning
...
svn-id: r55442
2011-01-22 18:09:06 +00:00
Bastien Bouclet
caccceb02b
MOHAWK: Dragging resources / levers code cleanup
...
svn-id: r55439
2011-01-22 17:26:09 +00:00
Bastien Bouclet
aeff7cf12c
MOHAWK: Implement Channelwood's remaining opcodes
...
svn-id: r55434
2011-01-22 16:44:00 +00:00
Bastien Bouclet
f48cc4119c
MOHAWK: Implement Channelwood opcodes 118 and 203: Sirius's drawer
...
svn-id: r55423
2011-01-22 13:03:54 +00:00
Bastien Bouclet
477ae820fb
MOHAWK: Implement Channelwood opcodes 106 and 109: Stair door switch
...
svn-id: r55420
2011-01-22 12:15:42 +00:00
Bastien Bouclet
2fabd90937
MOHAWK: Implement Channelwood opcodes 108, 127, 128: elevators
...
svn-id: r55413
2011-01-22 10:09:01 +00:00
Bastien Bouclet
552648c225
MOHAWK: Complete Channelwood opcode 101, pipe bridge
...
svn-id: r55412
2011-01-22 09:37:56 +00:00
Bastien Bouclet
f7f453a925
MOHAWK: Fix channelwood var getter 3, water flawing to temple elevator.
...
svn-id: r55395
2011-01-21 21:40:06 +00:00
Bastien Bouclet
efec8d8864
MOHAWK: Implement Channelwood generic lever opcodes, and bridge opcodes
...
svn-id: r55394
2011-01-21 21:24:24 +00:00
Matthew Hoops
2aca6d3838
MOHAWK: Rename some Myst-specific sound functions; cleanup
...
svn-id: r55314
2011-01-18 21:10:58 +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
bf06c49544
MOHAWK: Implement channelwood pipe valves
...
svn-id: r55311
2011-01-18 19:32:36 +00:00
Matthew Hoops
f2495a42f6
MOHAWK: Move myst_saveload.* to myst_state.*
...
svn-id: r55045
2010-12-26 15:10:33 +00:00