Commit Graph

6147 Commits

Author SHA1 Message Date
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
Johannes Schickel
c826716a91 Don't rename quicksave filenames when deleting files.
svn-id: r31401
2008-04-05 03:13:26 +00:00
Johannes Schickel
b99d5603cf - Changed quicksaves to use slots 990-998.
- Made slots 990-999 not writeable for savegames via menu.
- Temporary save in HoF now uses slot 999.

svn-id: r31400
2008-04-05 03:03:10 +00:00
Johannes Schickel
066a55ef33 Small fix in processButtonList.
svn-id: r31399
2008-04-05 02:50:38 +00:00
Johannes Schickel
dd8676877e - cleanup
- sort savefiles in kyra from newest -> oldest

svn-id: r31397
2008-04-05 02:40:28 +00:00
Johannes Schickel
c1319f8034 Cleanup.
svn-id: r31396
2008-04-05 02:24:43 +00:00
Johannes Schickel
7020627572 - Implemented delete savegame menu
- Reverted hack introduced with last commit

svn-id: r31395
2008-04-05 02:22:11 +00:00
Johannes Schickel
25364dc618 Added simple hack to work around drawing of scroll button after loading game in HoF.
svn-id: r31394
2008-04-05 01:55:44 +00:00
Johannes Schickel
be27c94247 Fixed crash when opening menu after starting kyra1 with -x/--save-slot.
svn-id: r31393
2008-04-05 01:53:45 +00:00
Johannes Schickel
eac671de99 Implemented proper savefile listing, this fixes bug #1479872 "KYRA1: a small menu issue".
svn-id: r31392
2008-04-05 01:49:28 +00:00
Johannes Schickel
b890b33a31 Remove temporary savefile after it was loaded.
svn-id: r31390
2008-04-04 18:41:30 +00:00
Johannes Schickel
35a422f00e Disable buttons properly for non CD version.
svn-id: r31388
2008-04-04 18:26:37 +00:00
Johannes Schickel
24439e7056 Made sliders working.
svn-id: r31387
2008-04-04 18:14:10 +00:00
Johannes Schickel
cd47709a2a Disabled some more options settings for non talkie versions.
svn-id: r31386
2008-04-04 18:11:44 +00:00
Johannes Schickel
82c2f1203e Cleaned up volume settings managment.
svn-id: r31385
2008-04-04 18:09:19 +00:00
Johannes Schickel
272fa6d578 Implemented audio menu, slider bars not moveable via mouse yet though.
svn-id: r31384
2008-04-04 18:02:50 +00:00
Johannes Schickel
214d6b5eb7 Little less waste of memory.
svn-id: r31383
2008-04-04 15:55:18 +00:00
Filippos Karapetis
f83e93e6d8 Also hooked the death menu quit button to the game quit code implemented in rev #31376
svn-id: r31382
2008-04-04 13:28:53 +00:00
Max Horn
74f80acbf0 Properly *init* the _fmtownsBuf variable, and properly release the memory it points to when restarting
svn-id: r31381
2008-04-04 11:43:26 +00:00
Travis Howell
e36b95b64a Revert revision 31256, since _textSurfaceMultiplier isn't set at that point.
svn-id: r31380
2008-04-04 09:33:09 +00:00
Johannes Schickel
05e2b66967 Fixed nameclash.
svn-id: r31379
2008-04-04 09:16:25 +00:00
Johannes Schickel
0aecc4fb03 Implemented game options menu.
svn-id: r31378
2008-04-04 08:13:35 +00:00