Commit graph

100 commits

Author SHA1 Message Date
Donovan Watteau
63afc9507b MORTEVIELLE: Fix -Wunused-but-set-variable warning 2024-08-17 09:24:54 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert
3a66feb5d9 MORTEVIELLE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
D G Turner
b86c2923cf MORTEVIELLE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-11 01:17:49 +00:00
Jaromir Wysoglad
a1f69e6b06 MORTEVIELLE: Refactoring as suggested by Criezy
* Add checks if ttsMan != null before trying to use it
 * Simplify startSpeech
 * Move haut to startSpeech and pass the character index to
    the startSpeech instead.
2019-09-01 22:47:55 +03:00
Paul Gilbert
11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Strangerke
9d6ae42f65 MORTEVIELLE: Reduce the scope of a variable 2015-11-27 15:05:41 +01:00
Strangerke
ab612df338 MORTEVIELLE: Fix a couple of crashes occurring in the alternate DOS version 2015-09-08 07:43:30 +02:00
Chris Apers
ebc5c55ce3 MORTEVIELLE: fixed text position
Checked against french and german versions. “Your are alone” text isn’t
centred in original code.
2015-01-29 13:24:24 +01:00
Chris Apers
58565c43da MORTEVIELLE: added starting screen string index constant 2015-01-27 20:55:47 +01:00
Chris Apers
d928871f7a MORTEVIELLE: added starting screen
To give credits to the original authors and developers.
2015-01-27 20:48:31 +01:00
Chris Apers
bdd75f975d MORTEVIELLE: added missing inter screen messages 2015-01-26 22:16:31 +01:00
Chris Apers
975b1cf7fb MORTEVIELLE: more drawBox() adjustments 2015-01-25 20:53:42 +01:00
Arnaud Boutonné
bf3e2bca07 Merge pull request #570 from chrilith/mortevielle_3rdintro
MORTEVIELLE: Added missing mesgId handling for 3rd intro screen
2015-01-24 14:37:00 +01:00
Chris Apers
a4d822f98a MORTEVIELLE: alternatively we can make it local to delay() 2015-01-24 14:03:22 +01:00
Chris Apers
6691f9d812 MORTEVIELLE: Added missing mesgId handling for 3rd intro screen
This message is displayed during disk access, so it is not visible as
is in ScummVM version, a delay is required. Also delay should hide the
mouse to prevent frozen screen.
2015-01-24 11:13:32 +01:00
chrilith
3839d9ce0b MORTEVIELLE: Fixed drawBox() to match original code 2015-01-23 14:29:16 +01:00
Filippos Karapetis
8d11226723 MORTEVIELLE: Remove trailing whitespace 2014-10-28 16:20:43 +02:00
Johannes Schickel
9da7d86952 MORTEVIELLE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Strangerke
7e0bf95a31 MORTEVIELLE: Reduce the scope of some variables 2014-02-09 20:22:59 +01:00
Strangerke
0d4d7a66a9 MORTEVIELLE: rename a variable 2014-01-17 21:28:08 +01:00
Strangerke
78b25b17d1 MORTEVIELLE: Split resetVariables in two, reuse it in engine constructor 2014-01-15 17:57:28 +01:00
Strangerke
b3c377aacd MORTEVIELLE: Get rid of setParent() 2014-01-10 01:46:38 +01:00
Strangerke
d19af62e6b MORTEVIELLE: Get rid of setParent() in TextHandler and SoundManager 2014-01-09 08:32:21 +01:00
Strangerke
d8d4a2c3bb MORTEVIELLE: Get rid of setParent() in Menu and MouseHandler 2014-01-09 08:21:52 +01:00
Strangerke
4095ae1ba8 MORTVIELLE: Add missing check on shouldQuit() (which fixes CID 1063228) 2013-11-09 22:15:41 +01:00
Strangerke
7843acc907 MORTEVIELLE: Replace strncpy by strlcpy 2013-10-30 23:14:15 +01:00
Thierry Crozat
3ab88c464a MORTEVIELLE: Fix computation of elapsed time around midnight
Replace use of getTimeAndDate() by getMillis() when computing
elapsed time. This fixes an issue when playing around midnight.
Also rename some variables for clarity (since they contain a time
in seconds having Hour in the name was a bit confusing).
2013-09-01 22:04:30 +01:00
Strangerke
9c3cefa6f0 MORTEVIELLE: Silent CID 1063229 2013-08-21 22:12:20 +02:00
Thierry Crozat
800ee561c9 MORTEVIELLE: Add detection entry for improved German translation
I also reworked a bit how detection work so that both the original
and the improved German translations can be played.
2013-08-21 11:22:51 +01:00
Strangerke
3ef4222f33 MORTEVIELLE: Replace some big if statements by switch statements 2013-08-21 08:37:57 +02:00
Strangerke
a710bb5ca4 MORTEVIELLE: Remove second parameter of show() 2013-08-21 08:37:56 +02:00
Strangerke
9eaf978e33 MORTEVIELLE: Fix display of ending speech in German DOS edition 2013-08-19 21:03:14 +02:00
Strangerke
818b9a652b MORTEVIELLE: Remove some dead code and variables related to graphical modes 2013-08-17 12:45:28 +02:00
Strangerke
ddb9f3862d MORTEVIELLE: Fix verb highlighting in Action and Self menus. Refactor functions related to MenuItem 2013-08-17 11:18:13 +02:00
Strangerke
1d21f5db26 MORTEVIELLE: Fix bug in previous commit, some multiple if statement optimizations 2013-08-16 20:06:34 +02:00
Strangerke
9dd65e5ef3 MORTEVIELLE: Put resolution scaler in a const, remove some dead code related to it 2013-08-16 19:23:29 +02:00
Strangerke
481aeb0b0b MORTEVIELLE: Remove code related to unsupported display modes 2013-08-16 18:50:28 +02:00
Strangerke
3af7b8d872 MORTEVIELLE: Rename opcode variables 2013-08-15 20:03:27 +02:00
Strangerke
563e62d625 MORTEVIELLE: Use verb order stored in mort.dat 2013-08-15 07:57:07 +02:00
Strangerke
6d5580f4ed MORTEVIELLE: Some renaming 2013-08-14 08:17:37 +02:00
Strangerke
3e75c5acc1 MORTEVIELLE: Wait for the end of sound in some more places 2013-08-13 07:54:08 +02:00
Strangerke
54f391a689 MORTEVIELLE: Merge SpeechManager and SoundManager 2013-08-11 18:09:40 +02:00
Strangerke
4ddf729c07 MORTEVIELLE: Remove some useless code and variables 2013-08-11 12:53:01 +02:00
Strangerke
17245005c3 MORTEVIELLE: Fix sound checks (thanks to fuzzie for pointing them out) 2013-08-11 12:40:53 +02:00
Strangerke
b749c2115b MORTEVIELLE: Move the end of "sentence" to the main loop in order to fix the display 2013-08-11 11:40:16 +02:00
Strangerke
4b1c0b29ea MORTEVIELLE: Add an initialization of _charAnswerCount in initMaxAnswer() 2013-08-11 00:02:57 +02:00
Thierry Crozat
7b517f7fd1 MORTEVIELLE: Improve looping of the intro song
Using a LoopingAudioStream gets rid of the pause between each loop
(and simplifies the code).
2013-08-04 12:59:34 +01:00
Strangerke
c1f93815ee MORTEVIELLE: Compute real buffer size in order to avoid ticks at the end of the song 2013-08-04 10:46:10 +02:00
Strangerke
134532090b MORTEVIELLE: Implement music in intro screen 2013-08-04 10:39:34 +02:00