6168 Commits

Author SHA1 Message Date
Johannes Schickel
d91bc92189 Made KyraEngine::startup just loading soundfile instead of also playing track 0.
svn-id: r31465
2008-04-10 16:18:29 +00:00
Johannes Schickel
b54b9b34b4 - Updated debug output for KyraEngine::snd_playTheme
- cleanup

svn-id: r31464
2008-04-10 15:41:06 +00:00
Johannes Schickel
aac2b7019a - Fixed missing static data for kyra1 demo
- Fixed some warnings in create_kyradat
- Updated kyra.dat for new data for kyra1 demo

svn-id: r31463
2008-04-10 15:05:59 +00:00
Filippos Karapetis
71f6a7e855 Allow the predictive dialog to be shown when ego cannot be moved (i.e. when _game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page"
svn-id: r31462
2008-04-10 08:27:09 +00:00
Florian Kagerer
3d407b81f8 fix drawShape glitch (Brandon's feet got mutilated and one vertical line was not drawn when leaving the screen to the left or to the right )
svn-id: r31461
2008-04-09 23:38:11 +00:00
Johannes Schickel
b586235fb8 Fixed warnings for msvc9.
svn-id: r31460
2008-04-09 15:16:50 +00:00
Filippos Karapetis
08f7059cf2 Fixed an off-by one error in the AGI set_menu opcode. Fixes bug #1935896 - "AGI: Fan(Beyond Titanic 2) - Assertion"
svn-id: r31457
2008-04-09 11:25:23 +00:00
Eugene Sandulenko
9f6012c294 First attempt to support Japanese DIG
svn-id: r31456
2008-04-08 20:04:51 +00:00
Johannes Schickel
7bd2ae65dd Oops removed leftover.
svn-id: r31455
2008-04-08 18:53:22 +00:00
Johannes Schickel
50c3732478 - Set language to Common::UNK_LANG for multilanguage games (kyra2cd and kyra3) in detection code
- Save language changes done in menu in HoF to the config file

svn-id: r31454
2008-04-08 18:52:27 +00:00
Eugene Sandulenko
e4ddd5d5f1 Ignore pointers on save
svn-id: r31453
2008-04-08 18:12:32 +00:00
Eugene Sandulenko
d037d7e579 Spellifix
svn-id: r31452
2008-04-08 18:11:54 +00:00
Kari Salminen
4cc4bd0f41 Implement the full range of Apple IIGS MIDI program number to instrument mapping. Switch to using 8-bit signed sample data with Apple IIGS (In preparation for mixing multiple channels). Make Apple IIGS wavefile handling use SharedPtr and Array.
svn-id: r31451
2008-04-08 14:45:42 +00:00
Sven Hesse
9f94a2fa8c Fix compilation on my 64-bit system...
svn-id: r31450
2008-04-08 09:59:41 +00:00
Filippos Karapetis
9a0825cc06 Added a sanity check for original game script bugs in Agent06. Fixes bugs #1935842 - "AGI: Fan(Agent06) - Graphic errors" and #1935838 - "AGI: Fan(Agent06) - Crash on Quit"
svn-id: r31449
2008-04-08 08:54:05 +00:00
Eugene Sandulenko
732774fd8d Patch #1913862: "CinE Script system"
svn-id: r31444
2008-04-07 20:24:40 +00:00
Johannes Schickel
9377fc7dc8 Some MIDI related cleanup.
svn-id: r31443
2008-04-07 17:56:04 +00:00
Paul Gilbert
9f06984ba5 Bugfix for linking error in MSVC8 - it doesn't like multiple unnamed structures within a class
svn-id: r31442
2008-04-07 10:29:18 +00:00
Florian Kagerer
831ab12268 implement missing Screen::drawShapePlotType11_15()
svn-id: r31441
2008-04-06 22:17:02 +00:00
Florian Kagerer
1fc3df7905 fix label for first save slot (towns/floppy)
svn-id: r31440
2008-04-06 19:48:47 +00:00
Johannes Schickel
4b58a431da Implemented support for Towns (and hopefully DOS floppy too) menus.
svn-id: r31438
2008-04-06 16:54:51 +00:00
Johannes Schickel
16066fa3e7 Fixed memory leaks.
svn-id: r31437
2008-04-06 15:35:30 +00:00
Johannes Schickel
6552193ceb Fixed mouse input handling when entering savefile description.
svn-id: r31436
2008-04-06 15:31:57 +00:00
Johannes Schickel
abf7914b81 Fixed walkspeed on save loading.
svn-id: r31435
2008-04-06 15:29:09 +00:00
Filippos Karapetis
9c59043664 Silenced MSVC warning
svn-id: r31434
2008-04-06 15:23:18 +00:00
Johannes Schickel
213ac50740 Oops. that shouldn't have been reverted by last committ.
svn-id: r31433
2008-04-06 15:05:12 +00:00
Johannes Schickel
a05b085a21 Fixed potentional crash.
svn-id: r31432
2008-04-06 14:58:02 +00:00
Florian Kagerer
22efb801d4 svn-id: r31431 2008-04-06 14:57:01 +00:00
Johannes Schickel
bf5840f587 Fixed crash on startup when running japanese versions of Kyrandia.
svn-id: r31428
2008-04-06 14:41:25 +00:00
Johannes Schickel
1c8aa0c807 Set opcode 31 (o2_limitMouseRrange) to o2_dummy for now.
Also added a comment about that.

svn-id: r31427
2008-04-06 14:16:27 +00:00
Johannes Schickel
2755727249 Cleanup.
svn-id: r31426
2008-04-06 14:13:14 +00:00
Johannes Schickel
22992f4aa5 Implemented opcode 33 o2_loadSoundfile.
svn-id: r31425
2008-04-06 14:11:43 +00:00
Johannes Schickel
a2e355d671 Implemented fadeout waiting in KyraEngine_v2::enterNewScene for AdLib.
svn-id: r31424
2008-04-06 13:57:28 +00:00
Johannes Schickel
21a66f12ba - Fixed HACKs in o2_getMusicDriver and o2_getSfxDriver
- Implemented missing bits in KyraEngine_v2::enterNewScene for MIDI (AdLib code still missing)
- Added music/sfx type to Sound class

svn-id: r31423
2008-04-06 13:32:41 +00:00
Johannes Schickel
4f71d3814c Fixed various bugs in GUI_v2::processButtonList.
This fixes bugs:
 - #1935827 "HoF: Buttons pressed state not available"
 - #1935219 "HoF: artefact after loading game"

svn-id: r31422
2008-04-06 13:06:05 +00:00
Torbjörn Andersson
0dcfa7b3df Fixed warning. (The 'anim' variable shadowed the anim() function.)
svn-id: r31421
2008-04-06 12:17:41 +00:00
Filippos Karapetis
6a9acd7a5e Replaced ManagedList with Common::SharedPtr in the rest of the lure engine
svn-id: r31420
2008-04-06 12:00:37 +00:00
Filippos Karapetis
bd1224e36c Replaced ManagedList with Common::SharedPtr in lure's sound system
svn-id: r31419
2008-04-06 11:12:42 +00:00
Travis Howell
27816d8c8b Add very basic support for Amiga version of BRA.
svn-id: r31416
2008-04-06 07:05:56 +00:00
Nicola Mettifogo
3d1a2e2049 Replaced custom ManagedList with Common::SharedPtr.
svn-id: r31415
2008-04-06 05:40:02 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Johannes Schickel
bfdca912bc Fixed regression causing a crash when the user had less than 5 savefiles.
svn-id: r31412
2008-04-05 17:33:54 +00:00
Torbjörn Andersson
5a5d5c02e1 Fixed warning. (You shouldn't have to use floor() to simulate integer math
anyway.)

svn-id: r31411
2008-04-05 16:02:28 +00:00
Filippos Karapetis
44ba7f97a9 Fixed regression from previous commit
svn-id: r31410
2008-04-05 14:28:24 +00:00
Eugene Sandulenko
c8061850ed Simplify code
svn-id: r31409
2008-04-05 14:18:32 +00:00
Filippos Karapetis
a52c6e0ba2 Added code to load (but NOT play) the external music files in the Macintosh version of IHNM. I believe that the music in the Mac version is in TFMX format, which is not supported yet
svn-id: r31408
2008-04-05 14:06:50 +00:00
Filippos Karapetis
2da922081c Speech is now played correctly in the Macintosh version of IHNM
svn-id: r31405
2008-04-05 13:19:12 +00:00
Filippos Karapetis
99283e9e54 Sound effects in the Macintosh version of IHNM are now working
svn-id: r31404
2008-04-05 12:36:52 +00:00
Eugene Sandulenko
7a0c61c440 Added detection for IHNM Mac. Gampe plays, but sound and music is a big TODO
svn-id: r31403
2008-04-05 07:43:54 +00:00
Johannes Schickel
c676cf560f Fixed crash when supplying illegal savefile names.
svn-id: r31402
2008-04-05 05:23:46 +00:00