5219 Commits

Author SHA1 Message Date
Paul Gilbert
1af72d0971 Changed over warning messages for save/load errors from the debug console to their own dialog
svn-id: r29814
2007-12-10 09:40:49 +00:00
Johannes Schickel
e946eff205 Added a hack to allow adjustment of Adlib volume. (see bug #1497961 "KYRA1: music/sfx volume settings not working")
svn-id: r29808
2007-12-09 23:55:57 +00:00
Eugene Sandulenko
25c34c4e51 Add Russian font for Zak.
svn-id: r29800
2007-12-09 18:46:49 +00:00
Nicola Mettifogo
e036a8b376 Fix for bug #1777053. Engine was ruling out valid passwords because of wrong implementation.
svn-id: r29799
2007-12-09 17:31:36 +00:00
Nicola Mettifogo
7bef63537d Going back to uncached mode for graphics resources of Examine zones. This prevents engine to crash when trying to cache a resource out of the currently selected archive.
svn-id: r29798
2007-12-09 17:29:41 +00:00
Filippos Karapetis
c84d9c1588 Fix to prevent having an incorrect sprite assigned to some objects in IHNM when those objects are dropped in the scene
svn-id: r29796
2007-12-09 15:43:08 +00:00
Max Horn
87fadf6b45 cleanup
svn-id: r29795
2007-12-09 15:24:06 +00:00
Max Horn
0758feea62 cleanup
svn-id: r29792
2007-12-09 14:48:36 +00:00
Gregory Montoir
a94fada0ae - minor screen fix for OS
- added new debug channel for sound
- updated 2 opcodes comments

svn-id: r29790
2007-12-09 13:41:59 +00:00
Chris Apers
1cfadf725c Hack to workaround struct padding added by some compilers (mainly on PalmOS)
svn-id: r29777
2007-12-09 10:39:57 +00:00
Paul Gilbert
04bfc7158a Bugfix to correctly display a hotspot name in message dialogs that include it
svn-id: r29776
2007-12-09 10:39:50 +00:00
Paul Gilbert
f89dbfe91c Added code to set ACTIVE_HOTSPOT_ID and USE_HOTSPOT_ID fields correctly when an action is performed
svn-id: r29775
2007-12-09 10:08:41 +00:00
Paul Gilbert
770d0b88d6 Added extra debug statements
svn-id: r29774
2007-12-09 06:06:22 +00:00
Paul Gilbert
41f8a2ff6a Added extra debug statements
svn-id: r29773
2007-12-09 05:59:01 +00:00
Paul Gilbert
a39ddab09a Added new debug category for string handling
svn-id: r29772
2007-12-09 05:57:08 +00:00
Filippos Karapetis
3980bd73ea Saving and loading in Winnie the Pooh should now be endian and alignment safe. Note that this breaks older saved games and it's no longer possible to use saved games from the original game interpreter
svn-id: r29771
2007-12-08 18:25:00 +00:00
Filippos Karapetis
f1a1254581 Renamed SAVEGAME_VERSION to MSA_SAVEGAME_VERSION
svn-id: r29770
2007-12-08 18:19:09 +00:00
Filippos Karapetis
b24f10dde0 The variables nFrame and iItem can also have negative values
svn-id: r29769
2007-12-08 18:16:30 +00:00
Filippos Karapetis
621f798241 Saving and loading in Mickey's Space Adventure should now be endian and alignment safe. Note that this breaks older saved games
svn-id: r29768
2007-12-08 17:51:23 +00:00
Filippos Karapetis
c07894bcea ioFailed() is now checked when saving a game
svn-id: r29767
2007-12-08 17:48:51 +00:00
Gregory Montoir
6ef7e37488 reverted parts of commits #29447 and #29446 (caused regressions in ADL music playback) and properly (I hope) fixed the sound issues described in tracker item #1763053.
svn-id: r29766
2007-12-08 15:24:42 +00:00
Nicola Mettifogo
bf2bc3db80 Fix for bug #1837503. Location switches can be scheduled recursively, so now flags needed to be handled in a safer way to prevent inconsistencies.
svn-id: r29763
2007-12-08 11:07:03 +00:00
Paul Gilbert
e204af821f Added some missing deletes of temporary objects
svn-id: r29762
2007-12-08 10:30:43 +00:00
Max Horn
1ed6cae306 Fix compiler warning
svn-id: r29761
2007-12-08 10:13:44 +00:00
Gregory Montoir
aae704f6cd amiga demo version of OS has a VOL.CNF file so I assume full versions of the game also use it ; enabled readVolCnf for all versions of OS.
svn-id: r29760
2007-12-08 09:51:24 +00:00
Gregory Montoir
c271093fbb simplified gfxConvertSpriteToRaw, some renaming
svn-id: r29758
2007-12-08 09:10:08 +00:00
Gregory Montoir
6b68c156ae made timing closer to the original interpreter and simplified manageEvents function (no need to recurse)
svn-id: r29757
2007-12-08 08:49:22 +00:00
Gregory Montoir
e82c2b3fb9 reverted part of commit #29749, inplace unpacking doesn't work with .ani data
svn-id: r29756
2007-12-08 08:48:31 +00:00
Filippos Karapetis
e905723b1e Cleanup and simplification
svn-id: r29755
2007-12-08 02:38:04 +00:00
Filippos Karapetis
c488384f19 Cleanup and simplification
svn-id: r29754
2007-12-08 02:24:12 +00:00
Gregory Montoir
c0920e0224 don't use str functions with binary data, should fix bug #1845760
svn-id: r29752
2007-12-07 23:39:19 +00:00
Gregory Montoir
a34df6e72d add Common::Rect::center (handy for ::setFocusRectangle())
svn-id: r29751
2007-12-07 20:53:06 +00:00
Gregory Montoir
126f55fd0e backported some changes for OS
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file)
- delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers
- relation script run count should be set in _localVars[0]
- added comments for some "special" script variables

svn-id: r29749
2007-12-07 20:45:51 +00:00
Willem Jan Palenstijn
4ae85163b7 fix unterminated string (causing intermittent savegame listing problems in scumm)
svn-id: r29748
2007-12-07 17:59:24 +00:00
Paul Gilbert
870edd1b58 Bugfix so player will move out of the way if he's blocking an entrance a character is entering by
svn-id: r29746
2007-12-07 12:01:44 +00:00
Paul Gilbert
ec54c02ff8 Changed startup error messages to use a modal GUI dialog
svn-id: r29745
2007-12-07 10:17:58 +00:00
Paul Gilbert
f313c83ccd Fix for bug 1843961: Assertion on talking to a NPC - initial 'hey wait' dialog was resetting the destination character just before the conversation started
svn-id: r29743
2007-12-07 08:16:52 +00:00
Eugene Sandulenko
99acbe79af Move AGI engine back to custom line drawing routine as it caused regressions
svn-id: r29735
2007-12-06 12:46:29 +00:00
Eugene Sandulenko
218dcf2c18 Switch Lure engine to AdvancedDetector
svn-id: r29734
2007-12-06 12:10:41 +00:00
Filippos Karapetis
ee5fc9675a Remove now obsolete comment
svn-id: r29729
2007-12-05 23:28:30 +00:00
Nicola Mettifogo
fdb20177b4 Broke up parseDialogue into more manageable and focused short routines.
svn-id: r29716
2007-12-04 20:38:45 +00:00
Paweł Kołodziejski
a8b5484086 remove code duplication
svn-id: r29714
2007-12-04 11:45:20 +00:00
Paweł Kołodziejski
1e49111dc7 correction based on disassembly
svn-id: r29712
2007-12-04 00:48:02 +00:00
Travis Howell
3cd1e65881 Add patch #1842862 - Support for Freddi3 french.
svn-id: r29711
2007-12-03 22:41:23 +00:00
Paweł Kołodziejski
deca7aa821 remove code duplication
svn-id: r29710
2007-12-03 19:38:05 +00:00
Paul Gilbert
8713d1f7db Reworked the fight loop and event handling so fights run at the same speed as in the original game
svn-id: r29709
2007-12-03 12:26:45 +00:00
Gregory Montoir
1a2d4c9c28 revised mutex handling a bit in dimuse :
- protected access to Track.used in startSound
- removed mutex lock in cloneToFadeOutTrack as it's always called with mutex already locked on (shouldn't change anything, though, due to mutex re-entrancy)

svn-id: r29705
2007-12-02 14:34:33 +00:00
Travis Howell
bf3d5579f5 Add patch #1842503 - Added HE99 version of french PUTTTIME.
svn-id: r29694
2007-12-02 09:41:44 +00:00
Paul Gilbert
692d64f934 Added some more code to the savegame load process to correctly handle previously saved savegames (from version 25)
svn-id: r29693
2007-12-02 08:32:21 +00:00
Paul Gilbert
bc58491c75 Modified the loadScreen method to accommodate some screens decoding to a single byte more than the actual screen size
svn-id: r29691
2007-12-02 07:24:41 +00:00