Commit Graph

437 Commits

Author SHA1 Message Date
Strangerke
7843acc907 MORTEVIELLE: Replace strncpy by strlcpy 2013-10-30 23:14:15 +01:00
Eugene Sandulenko
17df6b343a MORTEVIELLE: Remove unused variable 2013-09-30 14:36:59 +03:00
Thierry Crozat
6478a78a8e MORTEVIELLE: Implement Engine::getDebugger() 2013-09-01 22:28:03 +01:00
Thierry Crozat
8216e6dabf MORTEVIELLE: Freeze clock in game when pausing the game 2013-09-01 22:04:30 +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
558f404e62 MORTEVIELLE: Use similar check in fctClose and fctSearch than in fctSelfPut 2013-08-22 00:42:17 +02:00
Strangerke
2b03c63631 MORTEVIELLE: Better fix of CID 1063212. Thanks wjp for pointing out. 2013-08-22 00:17:29 +02:00
Strangerke
197d2f1c08 MORTEVIELLE: Fix check introduced in 6cfd3028c1. 2013-08-21 23:53:55 +02:00
Strangerke
5a79444843 MORTEVIELLE: Fix CID 1063212 2013-08-21 22:36:14 +02:00
Strangerke
6cfd3028c1 MORTEVIELLE: Fix CID 1063213 2013-08-21 22:31:39 +02: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
972cdf0e12 MORTEVIELLE: Avoid erroring out when the user tries to load a missing save game 2013-08-21 08:37:55 +02:00
Strangerke
1422004a80 MORTEVIELLE: Fix crash when loading from launcher 2013-08-20 23:10:05 +02:00
Strangerke
50ef208e31 MORTEVIELLE: Add some more checks in order to handle properly the first character of some German menu entries 2013-08-20 07:44:41 +02:00
Strangerke
5fdfc0996c MORTEVIELLE: Fix display of the rod and the ball in the attic, when using Self/Put 2013-08-20 02:14:24 +02:00
Thierry Crozat
efbf1ff5f9 MORTEVIELLE: Store German menu data in data file and clean menu code
This opens the door to a better translation of the menu to German. Also
the code will now always try to read the menu data from the mort.data file
and only if this fails it will use the game data. And remove some dead code
that was to support the corrupted menu.mor file.
2013-08-19 21:11:23 +01:00
Strangerke
9eaf978e33 MORTEVIELLE: Fix display of ending speech in German DOS edition 2013-08-19 21:03:14 +02:00
Strangerke
f979de547b MORTEVIELLE: Avoid a crash related to speech during the ending sequence of the German version 2013-08-19 20:42:47 +02:00
Strangerke
c981c52799 MORTEVIELLE: some renaming in Dialogs 2013-08-18 10:21:32 +02:00
Strangerke
818b9a652b MORTEVIELLE: Remove some dead code and variables related to graphical modes 2013-08-17 12:45:28 +02:00
Strangerke
a5ec205f46 MORTEVIELLE: Fix occasional alignment issue in Action verb list 2013-08-17 11:36:54 +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
e2856ed85b MORTEVIELLE: Avoid using sav0.mor in run() 2013-08-16 23:29:52 +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
e6582fe7d1 MORTEVIELLE: Fix the initialization of verbs from the DAT file 2013-08-16 14:25:11 +02:00
Strangerke
dcfb1298dc MORTEVIELLE: Some refactoring in Menu 2013-08-16 13:29:50 +02:00
Thierry Crozat
4a885af83a MORTEVIELLE: Improve reading of menu file
Do not try to read the menu.mor file as it has a different format not
supported (and detection for it was already removed). Also only tries
to read the menu for the original language. This avoids using the
French menu with the German game when both files are present in
the search path.
2013-08-16 10:47:11 +01: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
cb0a0880a2 MORTEVIELLE: Fix shadowed variable. Thanks LordHoto for pointing out 2013-08-14 07:46:22 +02:00
Strangerke
0d1772b95d MORTEVIELLE: Introduce original language in detection 2013-08-13 08:34:36 +02:00
Strangerke
ef3c4689b3 MORTEVIELLE: Remove the detection of a broken menu.mor file. Bug reported by criezy 2013-08-13 07:57:50 +02:00
Strangerke
3e75c5acc1 MORTEVIELLE: Wait for the end of sound in some more places 2013-08-13 07:54:08 +02:00
Strangerke
d811df89ff MORTEVIELLE: Fix door animation display when opening the doors 2013-08-13 00:06:09 +02:00
Strangerke
5e7e67beb9 MORTEVIELLE: Improve sound support 2013-08-12 08:17:10 +02:00
Strangerke
43b729cae8 MORTEVIELLE: Remove useless code 2013-08-11 19:13:21 +02:00
Strangerke
54f391a689 MORTEVIELLE: Merge SpeechManager and SoundManager 2013-08-11 18:09:40 +02:00
Strangerke
f621297dc7 MORTEVIELLE: Get rid of the 640Kb _mem buffer 2013-08-11 17:16:30 +02:00
Strangerke
62e4945ec4 MORTEVIELLE: Fix warnings about converting from double to int 2013-08-11 15:08:13 +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
e48515d402 MORTEVIELLE: Get rid of the PCSpeaker class 2013-08-11 11:45: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