Commit Graph

2772 Commits

Author SHA1 Message Date
Johannes Schickel
8b391399cc KYRA: Fix for bug #3474339 "KYRA1CD: Ingame animation missing".
This was a regression from 6a3d0e7129.

This still assures that the workaround for bug #1498221 works.
2012-01-16 17:06:28 +01:00
athrxx
26a692ff5c KYRA: (EOB) - change behavior of safe game file importing code
- The initial import of original save files will now use the next free available slots instead of moving the original files to the top of the save file list
- add error check to loading routine for original saves
- also limit debug console command to main menu, since it causes issues when used during the game or during character generation
2012-01-16 16:52:13 +01:00
athrxx
d355c536c4 KYRA: (EOB) - add support for original save game files
The engine will try to import original save game files once per target (especially the "Quick Start Party").
Afterwards the user can manually import save files with the debug console.
2012-01-15 13:36:50 +01:00
Johannes Schickel
6a3d0e7129 KYRA: Make workaround for bug #1498221 work again.
The bug in question is "KYRA1: Glitches when meeting Zanthia".

This is a regression from 0af418e7ea as far as
I can tell.
2012-01-14 17:04:35 +01:00
Johannes Schickel
c805e5f5dc KYRA: Fix missing debug commands.
This is a regression from cfac223cee.
2012-01-14 17:04:35 +01:00
athrxx
cc3fc3f3da KYRA: fix regression in non-playable HOF demo
(missing animated items)
2012-01-08 23:59:10 +01:00
Johannes Schickel
d66bfb131c KYRA: Cleanup v2 item animation a little bit. 2012-01-08 23:00:41 +01:00
Tarek Soliman
12d1a9d37f KYRA: Fix LoL/EoB savegame typing issue with keymapper
If you bind letters (e.g. WSAD) using the keymapper and then try to
save using the in-engine dialog, the letters would get captured and
make it impossible to name a save using those letters.

Thanks LordHoto
2012-01-07 22:20:48 -06:00
athrxx
eaa5d50c3f KYRA: (EOB) - add basic distinction between music and sound effects
(The original code of the DOS version does not distinguish here, but
we do it anyway so as to make more sense of the GMM volume settings)
2012-01-06 14:45:38 +01:00
athrxx
6e45741b17 KYRA: (EOB) - cleanup eob/lol version of delayUntil() 2012-01-06 14:44:34 +01:00
athrxx
76dec42469 KYRA: (EOB) - improved eob target detection in transfer party dialog
(parse domains instead of save files)
2012-01-03 17:37:47 +01:00
athrxx
4fd0e9e94b KYRA: (EOB) - improve keyboard control for spell book cursor with non QWERTZ keyboards 2012-01-03 17:37:46 +01:00
Johannes Schickel
a2221a8b9e KYRA: Slight formatting fixes. 2011-12-31 05:11:33 +01:00
Johannes Schickel
c822a76a85 KYRA: Little cleanup. 2011-12-31 04:56:29 +01:00
Johannes Schickel
27e38d16ee KYRA: Clean up LoL keymap setup a bit. 2011-12-30 20:41:47 +01:00
Johannes Schickel
548a3e2534 KYRA: Add basic keymapper support to EoB 1+2. 2011-12-30 20:40:06 +01:00
Tarek Soliman
7d00a997cd KYRA: Fix typo bug and code cleanup in the keymapper game keymap 2011-12-30 13:23:31 -06:00
Tarek Soliman
366a942a3a KEYMAPPER: Simplify calling getKeymap 2011-12-30 13:03:39 -06:00
Tarek Soliman
40b68b41c7 KEYMAPPER: Make engine keymap init and cleanup more generic 2011-12-30 12:36:11 -06:00
athrxx
ef3b591b28 KYRA: (EOB) - fix warning about overloaded virtual function being only partially overridden 2011-12-29 19:12:36 +01:00
athrxx
b4baac065d KYRA: (EOB) - fix EOB 1 intro sound bug 2011-12-29 19:12:35 +01:00
athrxx
d0be9c0a58 KYRA: (EOB) - fix some valgrind warnings
(overlapping source/dest)
2011-12-29 19:12:34 +01:00
Willem Jan Palenstijn
592e541e19 KYRA: Fix format string 2011-12-29 15:36:16 +01:00
Johannes Schickel
d1a32facae KYRA: Some formatting fixes. 2011-12-29 15:27:17 +01:00
Johannes Schickel
d6412130c0 KYRA: Prefix version string in LoL, EoB, EoB 2 main menu with "ScummVM". 2011-12-29 15:24:04 +01:00
Johannes Schickel
db2e0fb042 KYRA: Slight cleanup in the transfer party code. 2011-12-28 01:51:09 +01:00
Johannes Schickel
ae8ab8d94e KYRA: Silence some valgrind warnings by doing a slight sanity check on savefile size. 2011-12-28 01:40:29 +01:00
athrxx
cc40a019e5 KYRA: (EOB) - fix EOB1 intro glitch 2011-12-28 00:56:55 +01:00
athrxx
0e2b8413e5 KYRA: add support for another Russian HOF fan translation 2011-12-28 00:01:33 +01:00
athrxx
6786c41f4f KYRA: (LOL) - refactor item/monster structs 2011-12-28 00:01:32 +01:00
athrxx
cbfdd227a1 KYRA: (LOL) - minor reduction of save file size 2011-12-28 00:01:32 +01:00
athrxx
75c0036925 KYRA: (LOL) - add support for loading original DOS version save files 2011-12-28 00:01:31 +01:00
athrxx
99b14c5dbc KYRA: (EOB) - fix spell book tab 5 in EOB1 2011-12-28 00:01:30 +01:00
athrxx
a35550d200 KYRA: (EOB) - fix invalid string access in EOB 1
(when entering the memorize/pray menu without having a mage/cleric)
2011-12-28 00:01:29 +01:00
athrxx
e6b6099d54 KYRA: (EOB) - fix minor color glitch 2011-12-28 00:01:28 +01:00
athrxx
37c046339d KYRA: (EOB) - cleanup dialog settings a bit 2011-12-28 00:01:27 +01:00
athrxx
4fef4743fd KYRA: (EOB) - fix 2 gcc (-Woverloaded-virtual) warnings 2011-12-28 00:01:26 +01:00
athrxx
536abf6d3d KYRA: (EOB) - fix signed/unsigned mismatch 2011-12-28 00:01:25 +01:00
Johannes Schickel
c211ec8c16 KYRA: Remove unused/duplicated code. 2011-12-27 03:00:27 +01:00
Johannes Schickel
5fc80f99d9 KYRA: Fix compilation with clang. 2011-12-27 02:51:42 +01:00
Johannes Schickel
c96e5de291 KYRA: Some formatting fixes. 2011-12-27 02:37:25 +01:00
Johannes Schickel
1a5026570a KYRA: Slight cleanup. 2011-12-27 02:15:39 +01:00
Johannes Schickel
a95f34bc64 KYRA: Some formatting fixes. 2011-12-27 02:07:28 +01:00
Johannes Schickel
20ac0d8b5e KYRA: Mark EoB games with ADGF_TESTING instead of ADGF_UNSTABLE.
ADGF_UNSTABLE makes an confusing dialog appear about the support of the games.
EoB 1+2 should be completable so they are fit for public testing, which
ADGF_TESTING is used for as far as it is documented. This does *not* imply
that we directly want them in the next release though.
2011-12-27 01:30:51 +01:00
Torbjörn Andersson
b3b904ddab KYRA: Avoid deleting pointer twice after creating EOB2 party
It probably happened in EOB as well, but I only actually observed
it in EOB2.
2011-12-26 22:13:26 +01:00
Tarek Soliman
2ec65882e8 KYRA: (EOB) Flag eob and eob2 with ADGF_UNSTABLE 2011-12-26 14:52:38 -06:00
Johannes Schickel
9b51b138db KYRA: Some formatting fixes. 2011-12-26 21:34:22 +01:00
Johannes Schickel
463aa52ac6 KYRA: Cleanup va_arg use in drawShape.
Thanks to wjp for noticing this.
2011-12-26 19:32:05 +01:00
Johannes Schickel
487e73bd21 KYRA: Merge Screen_Rpg with Screen (for now).
This should(!) fix ARM compilation issues due to virtual inheritance.
2011-12-26 19:32:05 +01:00
Johannes Schickel
6ca8d9ffe3 KYRA: Remove unused/obsolete function. 2011-12-26 17:56:50 +01:00
Johannes Schickel
3cd4d1493a KYRA: Unconfuse some MSVC versions by adding a space before a comment. 2011-12-26 17:09:12 +01:00
athrxx
2e517cc9ec KYRA: (EOB) - add EOB copyright strings to KyraMetaEngine::getOriginalCopyright() 2011-12-26 16:18:17 +01:00
athrxx
d807b3d42b KYRA: (EOB) - implement EOB1 party transfer 2011-12-26 16:18:17 +01:00
athrxx
c0e782fd0b KYRA: (EOB) - Start implementing EOB1 party transfer (not working yet)
(ScummVM specific solution which allows the selection of save files of all configured EOB1 targets)
2011-12-26 16:18:17 +01:00
athrxx
53e1bf21ec KYRA: (EOB) - get rid of loadVGAPalette7bit()
(slightly change VGA palette loader to accomodate EOB1 palettes)
2011-12-26 16:18:17 +01:00
athrxx
40b1b794ae KYRA: make bool variable const (again) 2011-12-26 16:18:17 +01:00
athrxx
692f9ee6d5 KYRA: whitespace cleanup 2011-12-26 16:18:17 +01:00
athrxx
0c7fbd788b KYRA: (EOB) - remove unneeded virtual declarations in screen.h 2011-12-26 16:18:17 +01:00
athrxx
60330556ff KYRA: (EOB/LOL) - move eob/lol specific screen code to new class 2011-12-26 16:18:16 +01:00
athrxx
8716ed1703 KYRA: (EOB/LOL) - again fix static resource loading for EOB when LOL is disabled 2011-12-26 16:18:16 +01:00
athrxx
0aa3238523 KYRA: (EOB/LOL) - rename some vars
(all cases of Eob to EoB, all cases of Lol to LoL, all cases of LolEobCommon to RpgCommon)
2011-12-26 16:18:16 +01:00
athrxx
4e4f4164be KYRA: (EOB) - fix eob2 sequence text fading 2011-12-26 16:18:16 +01:00
athrxx
36d85a315f KYRA: (EOB) - rename some files for a better match with the contained code 2011-12-26 16:18:16 +01:00
athrxx
4c6302943b KYRA: implement Screen::decodeFrame1()
(required for decoding some EGA bitmaps in EOB1)
2011-12-26 16:18:16 +01:00
athrxx
6c8fb30cbd KYRA: (EOB) - fix static resource loading for EOB when LOL is disabled 2011-12-26 16:18:16 +01:00
athrxx
8b618e46df KYRA: (EOB/LOL) - cleanup common code
(rename some stuff and move EOB/LOL common code to separate files)
2011-12-26 16:18:16 +01:00
athrxx
aac7e16afa KYRA: (EOB) - fix some more bugs
- wrong usage of static array which caused issues when restarting after RTL
- portability issue with dialog labels
- (original code) bug in hold person spell
2011-12-26 16:18:15 +01:00
athrxx
49c111f8ca KYRA: (EOB) - ignore 'EYE.PAK' file in resource loader
(This seems to be some sort of installer archive which is not supported atm)
2011-12-26 16:18:15 +01:00
athrxx
5837e0f94e KYRA: (EOB) - make sure that the music stops after character generation in Eob 1
(also more cleanup)
2011-12-26 16:18:15 +01:00
athrxx
a944990a68 KYRA: (EOB) - rename some saving throw related data 2011-12-26 16:18:15 +01:00
athrxx
812ea181b8 KYRA: (EOB) - cleanup 2011-12-26 16:18:15 +01:00
athrxx
532f8f33f2 KYRA: (EOB) - fix mem leak 2011-12-26 16:18:15 +01:00
athrxx
1cbd566930 KYRA: (EOB) - fix invalid string access
(also fix several cpp-check warnings)
2011-12-26 16:18:15 +01:00
athrxx
ac1aa43ca8 KYRA: (EOB) - fix char generator regression + cleanup 2011-12-26 16:18:15 +01:00
athrxx
68ed8b9598 KYRA: (EOB) - fix some valgrind warnings 2011-12-26 16:18:15 +01:00
athrxx
816b40ebf8 KYRA: (EOB) - add debugger, etc.
- add basic debugger support
- fix several minor bugs
2011-12-26 16:18:15 +01:00
athrxx
2448d885e4 KYRA: (EOB) - complete EOBII playability
- fixed temp data generation, block data loading, some spell issues, etc.
- both EOB I and II should now be completable
- one big issue remaining (AdLib driver gets swamped with monster sounds which causes heavy lags in some levels)
2011-12-26 16:18:14 +01:00
athrxx
c35de374df KYRA: (EOB) - lots of bug fixes, mostly for EOB II 2011-12-26 16:18:14 +01:00
athrxx
f7032c126d KYRA: (EOB) - fix some bugs
- fix monster movement
- fix character level gain
- add some static res for party transfer
2011-12-26 16:18:14 +01:00
athrxx
b3c8173bd4 KYRA: (EOB) - extend save/load dialogue to support 990 slots 2011-12-26 16:18:14 +01:00
athrxx
b288889c97 KYRA: (EOB) - implement wall of force spell 2011-12-26 16:18:14 +01:00
athrxx
0d54aff632 KYRA: (EOB) - add EOB 1 intro
(also add and fix several other things, like cone of cold vortex, drawShape issues, etc.)
2011-12-26 16:18:14 +01:00
athrxx
359f3efd03 KYRA: (EOB) - add some spells
(shocking grasp, flame blade, vampiric touch etc.)
2011-12-26 16:18:14 +01:00
athrxx
fc5b29fdbc KYRA: (EOB) - implemented some spells and fixed more bugs 2011-12-26 16:18:13 +01:00
athrxx
bac0caeb0f KYRA: (EOB) - lots of fixes towards EOB1 playability
also implement some new code (EOB1 portals, burning hands spell, etc.)
2011-12-26 16:18:13 +01:00
athrxx
aab9e62247 KYRA: (EOB) - some more sequence code and bug fixes 2011-12-26 16:18:13 +01:00
athrxx
48f83b7bb4 KYRA: (EOB) - implement npc sequences and fix some bugs 2011-12-26 16:18:13 +01:00
athrxx
84900e8e50 KYRA: (EOB) - add turn undead spell, add some screen fades, fix some bugs 2011-12-26 16:18:13 +01:00
athrxx
0e4c184e28 KYRA: (EOB) - implement some gui functionality, some bug fixes, etc. 2011-12-26 16:18:13 +01:00
athrxx
c302b3e43b KYRA: (EOB) - fix various bugs and implement some spells 2011-12-26 16:18:13 +01:00
athrxx
9140fd8e91 KYRA: (EOB) - implement party resting 2011-12-26 16:18:12 +01:00
athrxx
db83458330 KYRA: (EOB) - implement scribe scroll menu 2011-12-26 16:18:12 +01:00
athrxx
5baabf037d KYRA: (EOB) - implement save menu 2011-12-26 16:18:12 +01:00
athrxx
c53589bcda KYRA: (EOB) - implement load menu
(only 6 slots supported for now)
2011-12-26 16:18:12 +01:00
athrxx
76bfcf834d KYRA: (EOB) - some refactoring 2011-12-26 16:18:12 +01:00
athrxx
b7f7635876 KYRA: (EOB) - implement memorize/pray spells menu 2011-12-26 16:18:12 +01:00
athrxx
d7f2720b57 KYRA: (EOB) - match eob code with 3f2b5b9e8b 2011-12-26 16:18:12 +01:00
athrxx
8d4034f428 KYRA: (EOB) - add static resources for memorize/pray menu 2011-12-26 16:18:12 +01:00
athrxx
e29f639791 KYRA: (EOB) - fix monster distance attack bug 2011-12-26 16:18:12 +01:00
athrxx
97e5036bf0 KYRA: (EOB) - more work on ingame menus 2011-12-26 16:18:11 +01:00
athrxx
045d08986d KYRA: (EOB) - start implementing camp menu 2011-12-26 16:18:11 +01:00
athrxx
69ad70afbb KYRA: (EOB) - allow returning to the main menu from character generation via ESC 2011-12-26 16:18:11 +01:00
athrxx
894df5a4ac KYRA: (EOB) - extended saveload caps
(also save/load inventory and spellbook display state)
2011-12-26 16:18:11 +01:00
athrxx
6853452bcb KYRA: (EOB) - fix shift key input 2011-12-26 16:18:11 +01:00
athrxx
514c77625f KYRA: (EOB) - fix out of bounds mem access 2011-12-26 16:18:11 +01:00
athrxx
c8665d06bc KYRA: (EOB) - fix some warnings and add some menu code 2011-12-26 16:18:11 +01:00
athrxx
adbf14c3c4 KYRA: (EOB) - update static resources (menu strings) 2011-12-26 16:18:11 +01:00
athrxx
9a6be57afd KYRA: (EOB) - implement explodeObject() 2011-12-26 16:18:11 +01:00
athrxx
77d210765a KYRA: (EOB) - add some static res (flight object data) to kyra.dat 2011-12-26 16:18:11 +01:00
athrxx
089ad94b68 KYRA: (EOB) - minor cleanup 2011-12-26 16:18:10 +01:00
athrxx
80ece6caae KYRA: (EOB) - replace snprintf/sprintf 2011-12-26 16:18:10 +01:00
athrxx
aa031bf98e KYRA: (EOB) - minor code size reduction 2011-12-26 16:18:10 +01:00
athrxx
ff8a030c37 KYRA: (EOB) - fix EOB1 spell definitions 2011-12-26 16:18:10 +01:00
athrxx
540d081a6f KYRA: (EOB) - initial code base commit 2011-12-26 16:18:10 +01:00
athrxx
814c78e84e KYRA: (AdLib Driver) - fix queue handling for Eob
Huge numbers of sound effects get started as soon as a couple of monsters are around. If we start dropping sound when the queue is full, we won't have any sounds in these situations, but we'll get tons of useless warnings instead.
2011-12-26 16:18:10 +01:00
athrxx
2bcae2451a KYRA: (AdLib Driver) - prevent squashing of sounds during halt track execution
This patch makes sure that the stopping track (track 0) does not squash sounds which get queued during the execution of the stopping track. This seems to be a hardware problem (original driver implementation not suitable for modern machines).
2011-12-26 16:18:10 +01:00
athrxx
2da431aa65 KYRA: (AdLib Driver) - increase versions and add necessary EOB modifications 2011-12-26 16:18:09 +01:00
athrxx
93321ca485 KYRA: (AdLib Driver) - fix secondary effect 2011-12-26 16:18:09 +01:00
athrxx
86a8f694c0 KYRA: (AdLib Driver) - rename some variables to make more sense 2011-12-26 16:18:09 +01:00
athrxx
4098feff57 KYRA: (AdLib Driver) - allow sound trigger query 2011-12-26 16:18:09 +01:00
athrxx
f2a1ff3f78 KYRA: (AdLib Driver) - fix invalid memory write issue 2011-12-26 16:18:09 +01:00
athrxx
77a81a80b4 KYRA: (AdLib Driver) - implement sound effects volume
(also make internal driver version more flexible)
2011-12-26 16:18:09 +01:00
Andrea Corna
a6ec4f70da COMMON: Make more members of Archive constant. 2011-12-13 17:55:57 +01:00
Johannes Schickel
77959acd51 KYRA: Cast char to uint8 before passing it to getCharWidth.
This assures getCharWidth really gets the character number and now sign
extended version of it in case char is signed.
2011-12-13 16:18:12 +01:00
Johannes Schickel
efa52cb79c KYRA: Fix for bug #3459000 "KYRA1CD: Accented characters overdrawn in introduction". 2011-12-13 16:18:12 +01:00
Tarek Soliman
1305c5ab31 KYRA: Fix whitespace 2011-12-12 22:37:36 -06:00
Tarek Soliman
38ff68e449 KYRA: Use Common::KeyActionEntry table for LoL game keymap
This is for the keymapper keymap
2011-12-12 20:19:42 -06:00
athrxx
f19401b14c KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop 2011-11-24 00:50:00 +01:00
athrxx
0565d7dc20 KYRA: (HOF) - fix ending text in the playable demo 2011-11-23 22:39:43 +01:00
Christoph Mallon
e578cb8976 ALL: Remove unnecessary forward declarations. 2011-11-21 15:59:19 +01:00
Johannes Schickel
cfac223cee KYRA: "Fix" bug #3166235 "KYRA: Crash on startup on OS X due to invalid PAK file".
Now we can show such errors in the debugger, since we initialize and the
screen resolution and the debugger before initializing the resource manager.
This allows our error function to open up the debugger and show the error at
least.

A better feedback to the user might be desirable, but it is not really
feasible with our current possibilites for error reporting.
2011-11-18 03:47:51 +01:00
Johannes Schickel
11a7993085 KYRA: Add some assert for debugging purposes. 2011-11-18 03:26:21 +01:00
Eugene Sandulenko
5420ad7619 Merge pull request #114 from tsoliman/keymapper2
KEYMAPPER: Keymapper improvements 2
2011-11-17 14:22:48 -08:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Johannes Schickel
7c2145f67c KYRA: Make message about missing save file a warning and no error. 2011-11-16 18:32:34 +01:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Tarek Soliman
843f19788b KYRA: Fix some copy paste error in LoL keymap keycodes 2011-10-30 22:37:32 -05:00
Tarek Soliman
1ec5b491b7 KYRA: Remove usage of using namespace Common in the keymap code
thanks LordHoto
2011-10-28 19:30:59 -05:00
Tarek Soliman
f4fa37fdf8 KYRA: Move kKeymapName to be inside LoLEngine
Thanks LordHoto
2011-10-28 09:58:09 -05:00
Tarek Soliman
8d970f3568 KYRA: Cleanup game keymaps on RTL
This fixes an RTL problem where the keymaps linger between same-engine games.
Meaning the lol keymap shows up in kyra1
2011-10-27 10:46:22 -05:00
Tarek Soliman
719020a3e7 KYRA: Added basic game keymap for LoL 2011-10-27 10:46:21 -05: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
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
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
athrxx
7174f14c61 LOL: add support for Russian floppy version 2011-07-24 20:39:08 +02:00
Eugene Sandulenko
79e08c68ac KYRA: Add detection for Russian versions of Kyra1 & LoL 2011-07-13 12:39:31 +01:00
athrxx
f80b2383e7 KYRA: cleanup last commit 2011-07-04 20:22:16 +02:00
athrxx
7e2f7dce3a KYRA: fix pauseEngineIntern regression in MR 2011-07-04 19:52:14 +02:00
athrxx
38d18a6e78 KYRA: fix ingame menu save slots
- long GMM save descriptions will be trimmed to fit the ingame menu save slots
- prevent writing beyond the right margin in Kyra 1 save slots
2011-07-04 19:52:11 +02:00
athrxx
90fa4cf15f KYRA: formatting 2011-07-03 14:40:55 +02:00
Johannes Schickel
933ee5b156 GRAPHICS: Remove default values from FontSJIS::drawChar.
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first
parameter another one "void *", they furthermore have the exact same
number of required parameters. The one "void *" just had a few extra
parameters with default values. This resulted in a bug in SCUMM, where
"VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &"
and thus the method taking "void *" was incorrectly used.

To make it easier to spot such bugs in the future I just removed the default
values and thus disallow such calls.
2011-07-01 05:42:54 +02:00
Johannes Schickel
b66ca60088 KYRA: _athrxx is the new Kyra maintainer. 2011-06-25 19:25:56 +02:00
athrxx
3f2b5b9e8b KYRA: revert d7e700f370
The GMM mouse cursor bug has now been fixed inside the GMM and CursorMan code.
2011-06-25 15:54:37 +02:00