Commit Graph

1759 Commits

Author SHA1 Message Date
Johannes Schickel
ac46c98fb8 - Moved Screen_v2::copyWsaRect to Screen::copyWsaRect
- Made WSAMovie_v1::displayFrame code match the original
- Changed WSAMovieAmiga::displayFrame to use Screen::copyWsaRect too
- Got rid of '...' parameter usage in all WSA player classes

svn-id: r41398
2009-06-09 11:26:15 +00:00
Johannes Schickel
7f5b28ee83 - Cleanup
- Fix regression in Kyra1 outro

svn-id: r41384
2009-06-08 20:11:07 +00:00
Johannes Schickel
0f116f1c38 Cleanup.
svn-id: r41381
2009-06-08 18:30:28 +00:00
Johannes Schickel
aef8d2b04b Fix out of bounds memory access in Screen::drawShape.
svn-id: r41379
2009-06-08 17:47:37 +00:00
Johannes Schickel
b85b408838 - Fix Screen_v2::wsaFrameAnimationStep, now the MR album and LoL intro demo WSAs will be correctly played
- Made album page change in MR a bit slower, so it's visible at least

svn-id: r41362
2009-06-08 02:26:33 +00:00
Florian Kagerer
77bcc94f80 LOL: minor bug fix
svn-id: r41358
2009-06-07 22:42:21 +00:00
Johannes Schickel
897c0104c9 Remove unneeded functionality from Screen.
svn-id: r41357
2009-06-07 22:41:38 +00:00
Johannes Schickel
5c233c447b Remove LoLEngine::_gameFlags and convert all Lands of Lore code to use _flagsTable instead.
svn-id: r41351
2009-06-07 20:43:43 +00:00
Johannes Schickel
c7861cb65e Avoid warning about missing SFX file in Lands of Lore (it seems the original misses some datafiles for certain effects).
svn-id: r41350
2009-06-07 19:58:00 +00:00
Florian Kagerer
4dd29a5985 LOL: minor bug fix in battle system
svn-id: r41348
2009-06-07 18:51:03 +00:00
Florian Kagerer
6d59856fe1 LOL: implemented two more opcodes for castle cimmeria
svn-id: r41336
2009-06-07 13:07:16 +00:00
Florian Kagerer
09fe7b3152 LOL: implemented some missing monster animation code
svn-id: r41327
2009-06-07 10:34:01 +00:00
Johannes Schickel
b1041bba7f Add support for "WF_NO_LAST_FRAME" in WSA v1 code too. Since so far every v1 WSA file played fine, it might be unneeded, but better safe than sorry.
svn-id: r41316
2009-06-07 00:58:14 +00:00
Johannes Schickel
6cfb706fae Fix WSA v2 code, now the automap remove WSA file in Lands of Lore plays correctly.
svn-id: r41315
2009-06-07 00:51:19 +00:00
Florian Kagerer
4416881c07 LOL: implemented king richard healing sequence
svn-id: r41314
2009-06-07 00:37:30 +00:00
Johannes Schickel
efc5fc0c8c - Flag Kyra3 detection entries with GUIO_NOMIDI
- Get rid of using directive

svn-id: r41295
2009-06-06 19:10:25 +00:00
Florian Kagerer
b43df63b1c LOL: fix flying item hit processing
svn-id: r41292
2009-06-06 18:46:07 +00:00
Johannes Schickel
f4360dffe3 Flag all games without full voice over with GUIO_NOSPEECH.
svn-id: r41291
2009-06-06 18:41:25 +00:00
Eugene Sandulenko
167874cf1a Added GUI options for newly added games
svn-id: r41285
2009-06-06 18:23:05 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Florian Kagerer
4ee29a020d LOL: fix last commit
svn-id: r41225
2009-06-06 15:32:42 +00:00
Florian Kagerer
2af195482f LOL: fixed level temp data size
svn-id: r41224
2009-06-06 14:42:03 +00:00
Florian Kagerer
ad1b53472b LOL: fixed vaelan's cube
svn-id: r41223
2009-06-06 14:14:07 +00:00
Florian Kagerer
94e9762870 KYRA/LOL: fix input code for japanese game versions
svn-id: r41221
2009-06-06 12:18:39 +00:00
Florian Kagerer
5f005bf930 LOL: minor bug fix
svn-id: r41201
2009-06-05 22:53:36 +00:00
Florian Kagerer
90ee879d89 LOL: implemented another opcode
svn-id: r41199
2009-06-05 21:34:18 +00:00
Florian Kagerer
29cc1efe3c LOL: implemented Vaelan's cube
svn-id: r41179
2009-06-04 22:12:13 +00:00
Johannes Schickel
2dbd81f1f2 Silence some unused variable warnings.
svn-id: r41149
2009-06-03 20:03:08 +00:00
Florian Kagerer
f77142c55c LOL: implemented guardian spell
svn-id: r41148
2009-06-03 19:58:06 +00:00
Florian Kagerer
8c86805415 LOL: implemented opcode required for catwalk caves
svn-id: r41147
2009-06-03 19:11:11 +00:00
Florian Kagerer
0efe78d0f8 LOL: implemented mist of doom spell
svn-id: r41145
2009-06-03 17:35:06 +00:00
Florian Kagerer
2abb8d9ff6 LOL: fixed minor bug in shakeScene() which caused a graphics glitch when dropping into pits
svn-id: r41140
2009-06-03 14:24:00 +00:00
Johannes Schickel
c1d01223aa Fix bug #2799905 "WINCE: Compilation broken".
svn-id: r41124
2009-06-02 11:58:30 +00:00
Florian Kagerer
7b31585e39 LOL: - fixed script bug reported by LordHoto
svn-id: r41122
2009-06-02 06:19:41 +00:00
Johannes Schickel
a4292afcdc Formatting and whitespaces again.
svn-id: r41120
2009-06-02 00:10:13 +00:00
Johannes Schickel
fae4192b37 Remove "_smoothScrollTimer" from LoLEngine, it was only used as local variable anyway.
svn-id: r41119
2009-06-02 00:07:11 +00:00
Johannes Schickel
762f630849 Cleanup.
svn-id: r41118
2009-06-01 23:53:30 +00:00
Johannes Schickel
9a0fff429f - Remove LoLEngine::delayUntil it was identical to KyraEngine_v1 in its functionallity anyway
- Change KyraEngine_v1::delayUntil to a somewhat more LoLEngine::delayUntil like implementation

svn-id: r41117
2009-06-01 23:38:56 +00:00
Johannes Schickel
fb93062def Allow the user to quit ScummVM, when LoL waits via delayUntil.
svn-id: r41116
2009-06-01 23:30:06 +00:00
Johannes Schickel
6fcccb3fcd Slight cleanup in LoLEngine's delay and delayUntil.
svn-id: r41115
2009-06-01 23:29:05 +00:00
Johannes Schickel
6782d3efac Change LoLEngine::delay to be conform with KyraEngine_v1::delay. (remove special iUpdate parameter, just call updateInput, when "doUpdate" is set to false)
svn-id: r41114
2009-06-01 23:25:10 +00:00
Johannes Schickel
f57be08d6d - Add some basic debugger for Lands of Lore.
- Allow the "flags" command in all Kyra games to be working properly with 320x200 GUI.

svn-id: r41113
2009-06-01 22:03:27 +00:00
Johannes Schickel
bdea557d7f - Fix some valgrind warnings
- Fix original bug in the Lands of Lore credits, which messed up some headings (the original didn't display them at all for some reason)

svn-id: r41111
2009-06-01 21:03:44 +00:00
Florian Kagerer
a10287e787 LOL: fix warning
svn-id: r41106
2009-06-01 19:11:56 +00:00
Florian Kagerer
8b59d275ab LOL: add workaround comment (at LordHoto's repeated insistence)
svn-id: r41105
2009-06-01 18:25:43 +00:00
Florian Kagerer
42032cf7ec LOL: - minor fix to the input code
svn-id: r41104
2009-06-01 17:50:30 +00:00
Florian Kagerer
19a6eac4ca LOL: implemented hand of fate spell
svn-id: r41103
2009-06-01 16:29:13 +00:00
Florian Kagerer
660aa71662 LOL: - extended text displayer and added one more opcode
svn-id: r41100
2009-06-01 13:37:51 +00:00
Florian Kagerer
83dbcf8531 LOL: some more opcodes and some minor bug fixes
svn-id: r41092
2009-06-01 01:24:17 +00:00
Florian Kagerer
60d53c3cce LOL: - implemented opcode for white tower basement
svn-id: r41091
2009-06-01 00:42:53 +00:00
Johannes Schickel
ede3dec88a Add support for the Lands of Lore scrolling credits.
svn-id: r41081
2009-05-31 19:31:04 +00:00
Florian Kagerer
dad6073548 LOL: prevent saving/loading in inventory screen
svn-id: r41080
2009-05-31 17:58:19 +00:00
Florian Kagerer
cc8cc6f452 LOL: implemented magic viper attack (used by wraiths in white tower level 3)
svn-id: r41074
2009-05-31 15:42:26 +00:00
Johannes Schickel
11a5875aa8 - Little bugfix for LoL outro TIM
- Add some initial code to allow easy playback of the LoL outro (credits text is still missing).

svn-id: r41067
2009-05-31 14:01:47 +00:00
Johannes Schickel
f59176cd46 Fix various memory leaks in Lands of Lore.
svn-id: r41066
2009-05-31 12:28:56 +00:00
Florian Kagerer
c938667d4b LOL: - fix shape memory allocation/release issue
svn-id: r41055
2009-05-31 01:24:08 +00:00
Johannes Schickel
bccca104d0 - Add support for the Lands of Lore outro TIM file
- Cleanup

svn-id: r41053
2009-05-31 00:42:44 +00:00
Florian Kagerer
f2516e648e LOL: fix some valgrind warnings
svn-id: r41052
2009-05-31 00:25:05 +00:00
Florian Kagerer
6059f84f6a LOL: implemented opcode for white tower
svn-id: r41050
2009-05-30 21:03:10 +00:00
Johannes Schickel
c552dd4688 Change more Lands of Lore in game voice code to use "_sound->isVoicePresent".
svn-id: r41049
2009-05-30 20:50:08 +00:00
Florian Kagerer
84473eaf1b LOL: minor bug fix
svn-id: r41046
2009-05-30 20:40:48 +00:00
Florian Kagerer
a126a05dc4 LOL: implemented some opcodes required for yvel city
svn-id: r41041
2009-05-30 19:48:13 +00:00
Florian Kagerer
86d78bbc8b LOL: - implemented urbish mines gas explosion
svn-id: r41035
2009-05-30 15:52:09 +00:00
Florian Kagerer
9823f60146 LOL: - fixed crash that occured when entering yvel city
- added another opcode for yvel woods

svn-id: r41031
2009-05-30 14:13:27 +00:00
Florian Kagerer
8c443650e5 LOL: - added non-installed English floppy version to detection
svn-id: r41028
2009-05-30 12:40:00 +00:00
Florian Kagerer
f42b077061 LOL: - added English floppy version to detection
- implemented opcode required for Yvel woods

svn-id: r41027
2009-05-30 12:30:13 +00:00
Florian Kagerer
7463fe3f1b LOL: implemented opcode required for magic wands
svn-id: r41016
2009-05-29 22:36:01 +00:00
Johannes Schickel
874e340d25 Output a warning to the user, when he tries to play back MT32 MIDI tracks with a General MIDI device.
svn-id: r41012
2009-05-29 17:38:22 +00:00
Johannes Schickel
51fc019a9b Implement "loadSfxFile" and "stopAllSoundEffects" for "MixedSoundDriver".
svn-id: r41011
2009-05-29 17:21:00 +00:00
Johannes Schickel
797c35876b Remove obsolete comment.
svn-id: r41009
2009-05-29 17:16:31 +00:00
Johannes Schickel
95d11e6e37 - Add new method "isVoicePresent" to "Sound".
- Change LoL character selection to use it.
- Allow quitting ScummVM in LoL character selection.

svn-id: r41008
2009-05-29 17:12:45 +00:00
Willem Jan Palenstijn
e2641cbd25 Fix compilation
svn-id: r41007
2009-05-29 15:07:38 +00:00
Johannes Schickel
d9228d69a7 Some slight documentation.
svn-id: r41006
2009-05-29 14:58:08 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
c7ee0a7ec8 More formatting.
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
64e6c596c7 Formatting.
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
702f267b19 Add Lands of Lore copyright string to KyraMetaEngine::getOriginalCopyright.
svn-id: r40990
2009-05-29 12:38:41 +00:00
Johannes Schickel
eb827d8601 Cleanup.
svn-id: r40989
2009-05-29 12:28:39 +00:00
Johannes Schickel
da00b148f4 Enable autosaves in Lands of Lore.
svn-id: r40988
2009-05-29 12:16:34 +00:00
Johannes Schickel
17b761d1e9 Cleanup.
svn-id: r40986
2009-05-29 11:58:21 +00:00
Johannes Schickel
e23a229999 Fix valgrind warnings.
svn-id: r40983
2009-05-29 11:43:22 +00:00
Johannes Schickel
fd34892cd5 Cleanup and slight bugfix in drawShapeProcessLineScale* functions.
svn-id: r40982
2009-05-29 11:07:35 +00:00
Johannes Schickel
637a432b1f Formatting.
svn-id: r40975
2009-05-29 00:09:56 +00:00
Florian Kagerer
69d054660a LOL: - fix valgrind warning
- fix more input code issues
- add workround for another script bug (some invalid monster sound index in urbish mine level 2)

svn-id: r40974
2009-05-28 23:49:41 +00:00
Johannes Schickel
56b1eb7d09 Clean up PC Speaker output implementation. (Stripping out unused code)
svn-id: r40972
2009-05-28 22:44:33 +00:00
Johannes Schickel
212271f1ce Fix mismatching new/delete[]
svn-id: r40967
2009-05-28 22:13:17 +00:00
Johannes Schickel
ac6c99eff0 Prevent accidental MT-32 initialization for PC speaker output, when "native_mt32" is set to true.
svn-id: r40940
2009-05-27 14:44:26 +00:00
Johannes Schickel
2bcf5c0552 - Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup

svn-id: r40939
2009-05-27 14:40:37 +00:00
Florian Kagerer
9d4776ebc5 LOL: implemented support for the mine car
svn-id: r40897
2009-05-25 22:58:05 +00:00
Johannes Schickel
7c1eb05714 Strip trailing whitespaces.
svn-id: r40866
2009-05-24 15:06:28 +00:00
Johannes Schickel
e9401655dd Commit patch #2796028 "lol files are always compiled" with some slight extension.
svn-id: r40865
2009-05-24 14:58:40 +00:00
Florian Kagerer
84a2651e63 LOL: fixed some input code issues:
- party would move 2 steps instead of one when using keyboad while magic menu was open 
- viewing notes would abort at once instead of waiting for the next click

svn-id: r40863
2009-05-24 14:33:41 +00:00
Johannes Schickel
c0302661ed Cleanup.
svn-id: r40850
2009-05-24 01:37:51 +00:00
Johannes Schickel
344caa88fc Make various Sound functionality SoundHandle instead of filename based.
- This fixes multiple sounds being played at once in Lands of Lore

svn-id: r40848
2009-05-24 01:29:09 +00:00
Florian Kagerer
c281214027 LOL: fix valgrind warning
svn-id: r40847
2009-05-24 00:53:22 +00:00
Johannes Schickel
bef88f3b61 Remove leftover (already commented out) code.
svn-id: r40845
2009-05-24 00:15:34 +00:00
Johannes Schickel
ad4549f28d - Reorder supported codecs list
- Add changes for upcoming audio compression changes (file extensions changed to standard ones)

svn-id: r40843
2009-05-24 00:11:28 +00:00
Johannes Schickel
8989e140c7 Cleanup.
svn-id: r40842
2009-05-24 00:07:23 +00:00
Johannes Schickel
b28279accc Cleanup.
svn-id: r40841
2009-05-23 23:58:40 +00:00
Florian Kagerer
5a4b3c5441 KYRA/LOL: restructured voice playing code so that audio compression can be supported
svn-id: r40839
2009-05-23 23:33:31 +00:00