264 Commits

Author SHA1 Message Date
Filippos Karapetis
cc0baf48ed LAB: Check for engine quit events 2015-12-15 00:05:02 +01:00
Filippos Karapetis
4cf271054a LAB: Bugfix for freeMusic() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
219811feaa LAB: Add support for the Wyrmkeep Windows trial version
Only the trial part of this version can be played in ScummVM, since we
can't check for game payment status
2015-12-15 00:05:02 +01:00
Filippos Karapetis
16df4305f4 LAB: Allow skipping the credits in the intro sequence
Also, remove some unused variables and perform some minor renaming
2015-12-15 00:05:02 +01:00
Filippos Karapetis
6842ffbe90 LAB: Further clean up of the music and sound effect code 2015-12-15 00:05:02 +01:00
Filippos Karapetis
22b82d7729 LAB: Initial music implementation
The whole music code is greatly simplified
2015-12-15 00:05:02 +01:00
Filippos Karapetis
83e58fe452 LAB: Rename waiteffect -> waitForEffect 2015-12-15 00:05:02 +01:00
Filippos Karapetis
a83c50cf66 LAB: Remove duplicate swap code and some unused defines 2015-12-15 00:05:02 +01:00
Filippos Karapetis
465f5f0c09 LAB: Simplify mouse handling code 2015-12-15 00:05:02 +01:00
Filippos Karapetis
d949375e70 LAB: Remove unused variables 2015-12-15 00:05:02 +01:00
Filippos Karapetis
9264f4964e LAB: Remove the unused setMode()/getMode() functions 2015-12-15 00:05:02 +01:00
Filippos Karapetis
6006a00836 LAB: The audio data in the DOS version is unsigned 2015-12-15 00:05:02 +01:00
Filippos Karapetis
1c77b2daf8 LAB: Implement correct duration calculation for the DOS version music 2015-12-15 00:05:02 +01:00
Filippos Karapetis
ca819e0b86 LAB: Rename playMusic() to playSoundEffect()
This function actually starts sound effects. Music is started from
playMusicBlock()
2015-12-15 00:05:02 +01:00
Filippos Karapetis
6ff7c480af LAB: Remove superfluous void function parameters 2015-12-15 00:05:02 +01:00
Filippos Karapetis
530aa5926b LAB: Remove dead code 2015-12-15 00:05:02 +01:00
Filippos Karapetis
af35398ad0 LAB: Initial sound implementation
Sound effects are now played, and the engine no longer waits forever
when playing a sound. A lot of unused sound code has been removed.
2015-12-15 00:05:02 +01:00
Filippos Karapetis
2cd1c0d3ff LAB: Clean up some DOS-specific code 2015-12-15 00:05:02 +01:00
Filippos Karapetis
7e0545cf6d LAB: Remove unused byte swap code
The relevant defines will be replaced with the ones from our common
code
2015-12-15 00:05:02 +01:00
Filippos Karapetis
d25d74ef20 LAB: Remove leftover debug code 2015-12-15 00:05:02 +01:00
Filippos Karapetis
5bc37fd878 LAB: Fix loading of saved games 2015-12-15 00:05:02 +01:00
Filippos Karapetis
95461c9161 LAB: Remove the journalCleanUp() wrapper 2015-12-15 00:05:02 +01:00
Filippos Karapetis
6648689590 LAB: Remove the unused Cords struct 2015-12-15 00:05:02 +01:00
Filippos Karapetis
0a71969018 LAB: Rewrite the save/load system
The two different save/load dialogs from the original have been dropped
and replaced with the ScummVM save/load dialogs. The whole save/load
code has been rewritten to be endian safe and use our common code. The
original save format has not been preserved. The current implementation
crashes when loading, but it's a good start
2015-12-15 00:05:02 +01:00
Filippos Karapetis
6af7abeab2 LAB: Remove unused variable 2015-12-15 00:05:02 +01:00
Filippos Karapetis
ccb3390f09 LAB: Disable startup warning about hi/low res mode 2015-12-15 00:05:02 +01:00
Filippos Karapetis
31ef4866a7 LAB: Implement generateSaveFileName() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
35751e0f12 LAB: Implement getCurMemLabFile() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
7ddbc55251 LAB: Remove unused mouse reset call 2015-12-15 00:05:02 +01:00
Filippos Karapetis
f9b4b43e90 LAB: Remove multiple mouse coordinate variables
There is no real point in holding multiple location variables
for the mouse cursor. One set of coordinates should be enough
2015-12-15 00:05:02 +01:00
Filippos Karapetis
4f185f7dd6 LAB: Further fixes to signed/unsigned comparisons and bool assignments 2015-12-15 00:05:02 +01:00
Filippos Karapetis
7f80a4ff63 LAB: Change the "action" parameter of doActionRule to lowercase
This avoids a name clash with the Action struct
2015-12-15 00:05:02 +01:00
Filippos Karapetis
d70819fa67 LAB: Silence false positives about uninitialized variables 2015-12-15 00:05:02 +01:00
Filippos Karapetis
28bbcf5641 LAB: Add missing const qualifiers 2015-12-15 00:05:02 +01:00
Filippos Karapetis
f9d90934f6 LAB: Fix signed/unsigned comparison warnings 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
80e00c1f54 LAB: Fix regression 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
9a116c57e1 LAB: Use OSystem for mouse drawing 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
500bb493f6 LAB: Fix regression 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
b8da3f2bc2 LAB: Final fix for game variant detection 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
fdb4f3edf8 LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
c624799498 LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
60d4f0a069 LAB: Initial support for lowres mode 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
60388893a9 LAB: propagate gamePlatform() 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
01e290e4c3 LAB: Added detection for lowres DOS version 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
7ee90c693f LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
85ea7da24e LAB: Improved detection 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
58182bd77a LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
fefb78457e LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
7baabb22c1 LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
90f0a8650f LAB: Fix line endings 2015-12-15 00:05:02 +01:00