Commit graph

90 commits

Author SHA1 Message Date
Henrik "Henke37" Andersson
fb92ccbade MOHAWK: Use debugPauseToken in Console::Cmd_QuickTest 2020-05-10 23:39:31 +02:00
Cameron Cawley
4d9ec631f1 MOHAWK: LB: Add a console command to change the cursor 2019-12-31 21:38:45 +02:00
Bastien Bouclet
04edc22635 MOHAWK: RIVEN: Add a console to quickly test all the cards
Goes through all the cards clicking on hotspots at random.
2019-02-02 13:30:44 +01: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
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
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
01480f9a00 MOHAWK: Myst: Fix the quickTest debug command 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
c5496e3206 MOHAWK: Get rid of VideoHandle 2017-07-22 20:38:56 +02:00
Bastien Bouclet
64c1a1d2b2 MOHAWK: Switch enabling the debug rectangles to a console var 2017-07-03 08:50:10 +02:00
Bastien Bouclet
efcf38f95f MOHAWK: Factor out stack name-id mapping 2017-07-03 08:50:10 +02:00
Bastien Bouclet
14bbf8aab4 MOHAWK: Move the external commands to their respective stacks 2017-07-03 08:50:10 +02:00
Bastien Bouclet
9ab0d53cd3 MOHAWK: Add console commands to dump Riven cards and stacks to stdout 2017-07-03 08:50:10 +02:00
Bastien Bouclet
05bed84a85 MOHAWK: Rename the card and stack accessors 2017-07-03 08:50:10 +02:00
Bastien Bouclet
670a3c4558 MOHAWK: Move card id remapping to RivenStack 2017-07-03 08:50:10 +02:00
Bastien Bouclet
3c8decec0a MOHAWK: Move the resource names to RivenStack 2017-07-03 08:50:10 +02:00
Bastien Bouclet
f752066a8e MOHAWK: Introduce a new RivenStack class 2017-07-03 08:50:10 +02:00
Bastien Bouclet
4bdf88496d MOHAWK: Move Riven's name lists to a separate class 2017-07-03 08:50:10 +02:00
Bastien Bouclet
099b3b3d8f MOHAWK: Move the hotspot list to RivenCard
Also replace all hardcoded accesses to the hotspot array with hotspot queries.
2017-07-03 08:50:10 +02:00
Bastien Bouclet
67d9a3c71b MOHAWK: Make the RivenHotspot fields private 2017-07-03 08:50:10 +02:00
Bastien Bouclet
17f1903833 MOHAWK: Remove the RivenHotspot enabled field 2017-07-03 08:50:10 +02:00
Bastien Bouclet
6b988670e8 MOHAWK: Turn the active hotspot into a pointer 2017-07-03 08:50:10 +02:00
Bastien Bouclet
23bbf05c91 MOHAWK: Start converting RivenHotspot into a class 2017-07-03 08:50:10 +02:00
Bastien Bouclet
1b062d1e39 MOHAWK: Move the sound lists to RivenCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet
abe6889bbe MOHAWK: Remove the current card id from the Riven engine class 2017-07-03 08:50:10 +02:00
Bastien Bouclet
f944b62988 MOHAWK: Change Riven's scripts not to have a type 2017-07-03 08:50:10 +02:00
Bastien Bouclet
9b9fa7e0a5 MOHAWK: Refactor the script manager to read data to Command classes 2017-07-03 08:50:10 +02:00
Bastien Bouclet
2756d6226b MOHAWK: Add a Riven specific sound manager
- Add ambient sound fading
- Fix ambient sound volume to use the list-level volume
2016-08-11 19:53:20 +02:00
Bastien Bouclet
406cc5a553 MOHAWK: Default to the first card when jumping to the intro stack 2016-02-20 14:00:59 +01:00
Bastien Bouclet
f0e416a034 MOHAWK: Add a console command that does random clicks in all the cards
A surprisingly effective way of finding bugs
2016-02-14 09:58:43 +01:00
Bastien Bouclet
e9525f53c6 MOHAWK: Move debug rect draw control to the console
It was previously bound to F4
2016-02-11 07:38:23 +01:00
Matthew Hoops
9665efa39a MOHAWK: Move further VideoManager functionality to VideoEntry 2015-07-17 20:05:04 -04:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Matthew Hoops
0a899876e7 MOHAWK: Use original stack ID mapping for Riven 2014-05-03 22:55:50 -04:00
Johannes Schickel
abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Matthew Hoops
369883bbd9 MOHAWK: Fix string offsets memory leak 2013-04-15 18:22:50 -04:00
Bastien Bouclet
07ee25c87d MOHAWK: Implement most of Myst's transition system 2012-12-16 06:54:13 +01:00
Matthew Hoops
5e52b0a5d4 MOHAWK: Split the graphics classes into their own files 2012-03-10 13:55:08 -05:00
Bastien Bouclet
216d3c5cef MOHAWK: Leaving from the slides should go to the information screens in Myst Demo. 2011-08-07 16:54:20 +02:00
Alyssa Milburn
57d4bad11c MOHAWK: Handle subpages in the LB console's changePage. 2011-07-03 18:18:00 +02:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Alyssa Milburn
712c3bc201 MOHAWK: Fix CSTime-only builds. 2011-04-30 11:07: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
Max Horn
0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
Matthew Hoops
b101fd6f03 MOHAWK: Allow disabling of Riven compilation 2011-03-28 22:26:23 -04:00
Matthew Hoops
4a7572d893 MOHAWK: Allow disabling compiling cstime 2011-03-28 22:26:23 -04:00