Commit Graph

2481 Commits

Author SHA1 Message Date
Johannes Schickel
4f7768ec6e KYRA: Cleanup _saveSlots array sorting. 2011-11-14 15:54:50 +01:00
Willem Jan Palenstijn
59ed0ee9ed KYRA: Add comment hopefully explaining _saveSlots 2011-11-14 15:51:01 +01:00
Johannes Schickel
bac23bde27 KYRA: Whitespace fixes. 2011-11-14 15:44:58 +01:00
Johannes Schickel
f410480cfd KYRA: Fix bug #3437647 "LOL: Unexpected missing save file".
Formerly the code was confused about what _saveSlots is doing, i.e. creating a
continous list of existing save slot ids.
2011-11-14 15:42:20 +01:00
athrxx
001f7d6403 KYRA: fix bug #3429455
(signed/unsigned bug in LoLEngine::olol_getWallType)
2011-11-08 22:29:55 +01:00
Johannes Schickel
9fa9f68789 AUDIO: Implement a basic VocStream class.
Now all VOCs are streamed rather than preloaded. This deprecates the
STREAM_AUDIO_FROM_DISK define, which was previously used to stream VOCs from
disk.

This might very well break some engines which relied on the stream not being
changed after makeVOCStream! I adapted all engines which had a check for
STREAM_AUDIO_FROM_DISK in their code.

It would be wise to check all other engines using VOC to see if this might
cause any problems for them.
2011-11-06 13:30:34 +01:00
athrxx
dbbfca37a2 KYRA: add missing (maybe unused) case to LoLEngine::olol_getGlobalVar() 2011-11-04 21:46:35 +01:00
athrxx
4f948b3309 KYRA: replace invalid memset call and add a warning 2011-11-04 21:46:34 +01:00
athrxx
1527e7b1b4 KYRA: (LOL) minor fix, cleanup and renaming 2011-11-04 21:46:32 +01:00
athrxx
99aaf24201 KYRA: fix monster hp in LoL 2011-11-04 21:46:31 +01:00
athrxx
19458cf03f KYRA: rename script proc and fix some debug messages 2011-11-04 21:46:29 +01:00
Johannes Schickel
6a3a14ab6b KYRA: Reduce size of KyraEngine_LoK::_entranceMouseCursorTracks.
Also clear the whole array in enterNewScene. This is not needed since the last
value is only used when the first four values are set up valid, but it removes
an annoying warning in PVS-Studio and makes the code a bit clearer.
2011-11-04 20:15:05 +01:00
Johannes Schickel
3c4bb82799 KYRA: Use "0xFF" instead of "0xFFFF" as memset's second parameter. 2011-11-04 20:15:05 +01:00
Johannes Schickel
7157e75ed9 KYRA: Remove FIXME, which should've been removed with 4410e61... 2011-11-04 20:03:59 +01:00
Johannes Schickel
4410e61238 KYRA: Simplify getMoveTableSize.
This also removes two FIXME comments. The original did the same checks as we
had before, but as PVS-Studio noticed the expression was excessive. I changed
it to a simpler expression now and removed the FIXMEs.
2011-11-04 20:01:57 +01:00
athrxx
286c319719 KYRA: fix minor bug in LoLEngine::playCharacterScriptChat() 2011-11-03 23:05:04 +01:00
Filippos Karapetis
d3999850e7 KYRA: Added FIXMEs for two odd checks 2011-11-03 23:09:38 +02:00
Johannes Schickel
57ca48d547 KYRA: Fix Common::List::erase usage.
Thanks to Tron for pointing that out.
2011-11-01 16:35:11 +01:00
Johannes Schickel
fcf63d0261 KYRA: Update engine description comment. 2011-10-29 03:26:18 +02:00
Johannes Schickel
a588d6e3e2 KYRA: Add another delay for new tracks in the AdLib driver.
This is to play really safe and to avoid messing up of sound data.
2011-10-29 02:50:52 +02:00
Johannes Schickel
488fb5c14b KYRA: Fix haltTrack and beginFadeOut for AdLib driver.
Formerly the were not executed properly when the sfx output was disabled.
2011-10-29 02:40:50 +02:00
Johannes Schickel
8ea2d5dbb1 KYRA: Simplify AdLib output code a bit.
This might cause nasty regressions, since it changes the way sounds are
started. On the other hand it gets rid of the low level driver interface
which was implemented before. And it should be a bit better secured against
race conditions.
2011-10-29 02:37:44 +02:00
Johannes Schickel
1706ff039c KYRA: Mark overwritten methods of SoundAdLibPC as virtual. 2011-10-29 01:00:18 +02:00
Johannes Schickel
4d5f186a34 KYRA: Get rid of old-style loadSoundFile in SoundAdLibPC. 2011-10-29 01:00:18 +02:00
Johannes Schickel
7469187ef3 KYRA: Move MixedSoundDriver implementation to sound.cpp. 2011-10-29 01:00:18 +02:00
Johannes Schickel
9d9837f217 KYRA: Prefer Common::String over plain char arrays in Sound. 2011-10-29 01:00:18 +02:00
Johannes Schickel
951cb8ea71 KYRA: Get rid of Sound's voiceFileIsPresent in favor of isVoicePresent. 2011-10-29 01:00:18 +02:00
Johannes Schickel
17883b9137 KYRA: Make more methods of Sound const. 2011-10-29 01:00:18 +02:00
Johannes Schickel
5be3ac9fcc KYRA: Move non-empty virtual methods of Sound from sound.h to sound.cpp. 2011-10-29 01:00:18 +02:00
Johannes Schickel
d0bc84d5b7 KYRA: Implemented LoL style volume control in AdLib output. 2011-10-29 01:00:18 +02:00
Strangerke
fa1e55181a KYRA: On demand of lordHoto, remove GUIO_NOASPECT as Jap. games are in 640x400 and not 640x480 2011-10-24 12:59:02 +02:00
Strangerke
b7284f3a37 LAUNCHER: Add GUIO_NOASPECT to Kyra 2011-10-23 22:53:39 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Johannes Schickel
d8e50b8a03 KYRA: Fix memory leak when a sound is started but no free handles are left. 2011-10-22 19:37:49 +02:00
Johannes Schickel
6da0549133 KYRA: Fix minor bug in AdLibDriver::primaryEffect1. 2011-10-02 02:17:59 +02:00
Johannes Schickel
a3a40c4a6f KYRA: Fix bumping into a wall AdLib SFX in Lands of Lore. 2011-10-02 01:49:27 +02:00
Johannes Schickel
88fa659ace KYRA: Name another variable in the AdLib output code. 2011-10-02 00:13:41 +02:00
Johannes Schickel
2dd85c0cad KYRA: Some minor cleanup. 2011-10-02 00:13:41 +02:00
athrxx
9b2848ba90 KYRA: fix typo 2011-10-01 18:35:05 +02:00
Johannes Schickel
74f3a29c19 KYRA: Never allow slots 0 and 990-999 to be overwritten. 2011-10-01 17:03:29 +02:00
Tarek Soliman
4cd9c16867 KYRA: workaround to get maemo to even compile
kyra has a file that won't compile in -Os
2011-09-22 22:07:44 -05:00
Johannes Schickel
1fa858d339 KYRA: Made some more static data const. 2011-09-08 00:33:10 +02:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
3ee307e6b3 KYRA: Simplify initializing a buffer with a string. 2011-08-07 15:19:08 +02:00
Christoph Mallon
ab80b20a30 COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x). 2011-08-07 15:19:08 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Bastien Bouclet
3384f9146c KYRA: Don't loose the next event when leaving the text input event loop. 2011-08-06 15:48:12 +02:00
athrxx
f44874f0a6 KYRA: add support for Russian Kyra 1 floppy fan translation 2011-07-27 16:38:31 +02:00
athrxx
f2f6ddced9 KYRA: add support for Kyra 2 Russian floppy 2011-07-25 17:57:33 +02:00
athrxx
ec55336393 LOL: add support for Russian CD-ROM version 2011-07-24 22:49:21 +02:00