24667 Commits

Author SHA1 Message Date
Johannes Schickel
615a40d19c Oops fixed wrong o2_delaySecs.
svn-id: r31283
2008-03-28 01:07:16 +00:00
Johannes Schickel
c5929561ba - Clear input queue after loading game via hotkeys.
- Fixed bug which caused the need for clicking twice to change pages in spellbook.

svn-id: r31282
2008-03-28 01:03:54 +00:00
Johannes Schickel
b033c5f605 Implemented savegame loading via command line params -x/--save-slot.
svn-id: r31281
2008-03-28 00:53:54 +00:00
Johannes Schickel
a1ec44cef2 Properly set sfx flag when playing digital SFX.
svn-id: r31280
2008-03-28 00:16:47 +00:00
Johannes Schickel
98f9a47619 Implemented opcodes:
- 38: o2_countItemsInScene
 - 57: o2_setTimerDelay
 - 84: o2_getSceneExitToFacing
 - 137: o2_removeItemFromScene

svn-id: r31279
2008-03-28 00:13:43 +00:00
Florian Kagerer
221e6bb84f - some accuracy changes for KyraEngine_v2::snd_playSoundEffect()
- fix one more skip flag bug in the sequence player
- fix SoundTowns_v2::voicePlay()

svn-id: r31278
2008-03-28 00:07:40 +00:00
Johannes Schickel
72484b204b - Implemented opcodes:
-> 51: o2_getElapsedSecs
  -> 52: o2_getTimerDelay
- Added warnings to o2_delaySecs and o2_delay for unimplemented subfunctions

svn-id: r31277
2008-03-27 23:53:49 +00:00
Johannes Schickel
bf26f82cbb Implemented opcode 74: o2_setSceneAnimPos2.
svn-id: r31276
2008-03-27 23:46:30 +00:00
Johannes Schickel
7a683ae436 Implemented opcodes:
- 164: o2_getSfxDriver
 - 165: o2_getVocSupport
 - 166: o2_getMusicDriver

svn-id: r31275
2008-03-27 23:12:45 +00:00
Johannes Schickel
42ff616533 Oops added missing return, should fix crashed on trying to load non-existant savegames.
svn-id: r31274
2008-03-27 22:34:17 +00:00
Florian Kagerer
c8ddd54039 fix for bug 1922560 (HoF: wheels entrance gfx wrong)
svn-id: r31273
2008-03-27 22:07:57 +00:00
Johannes Schickel
70dfc2baf7 Made some more former kyra1 specific debug commands available for HoF.
svn-id: r31272
2008-03-27 22:05:13 +00:00
Johannes Schickel
c5526604c0 Removed much code duplication in Hand of Fate savefile loading with SeekableSubReadStreamEndian.
svn-id: r31271
2008-03-27 20:54:59 +00:00
Johannes Schickel
ff2ba585b3 Implemented SeekableSubReadStreamEndian moddeled after MemoryReadStreamEndian.
svn-id: r31270
2008-03-27 20:53:52 +00:00
Johannes Schickel
639c4597cd Readded warning when loading HoF saves from original interpreter.
svn-id: r31269
2008-03-27 20:24:41 +00:00
Johannes Schickel
3bea667a10 - Implemented support for --list-saves in Kyra engine
- Added support for variable length savegame name field
- Changed savegame identifier
- Increased savegame file version

svn-id: r31268
2008-03-27 18:03:00 +00:00
Johannes Schickel
165c937e20 Enabled gamespeed debug command also for Kyra1.
svn-id: r31267
2008-03-27 16:12:48 +00:00
Johannes Schickel
3e98286af9 Fixed palette loading debug command for amiga version.
svn-id: r31266
2008-03-27 15:32:20 +00:00
Johannes Schickel
4d4fbc9e97 Added debugger command to set screen palette.
svn-id: r31265
2008-03-27 15:27:31 +00:00
Johannes Schickel
9eb279e1b6 Update hack comment in o2_updateSceneAnim.
svn-id: r31263
2008-03-27 14:55:52 +00:00
Johannes Schickel
57b80a79ab Fix for bug #1926838 "HoF: Animation plays too fast".
svn-id: r31262
2008-03-27 14:51:33 +00:00
Max Horn
9287ea8376 Patch #1926787: small memory leak and cleanup
svn-id: r31261
2008-03-27 11:06:29 +00:00
Travis Howell
4d51eb5fb7 Add work around for script bug in The Feeble Files.
svn-id: r31260
2008-03-27 01:01:52 +00:00
Florian Kagerer
c4f15a7076 this should fix item #1926532 (HoF: ScummVM quits on ESCaping "Virgin" and "Westwood" logo)
svn-id: r31259
2008-03-26 23:42:47 +00:00
Johannes Schickel
a2053c0815 Prevents adding of events to input queue, which will not be processed anyway.
svn-id: r31258
2008-03-26 23:21:44 +00:00
Max Horn
0a60310892 Properly fix DestroyScalers
svn-id: r31257
2008-03-26 22:47:57 +00:00
Max Horn
d35020ac17 Init the _fmtownsBuf in the constructor, not in setupScumm() (fixes a leak, and ensure that _fmtownsBuf always is inited)
svn-id: r31256
2008-03-26 22:26:59 +00:00
Torbjörn Andersson
762398376f Fixed GCC warning. It warns about "if (a = b)" unless you put an extra set of
parentheses around the assignment.

svn-id: r31255
2008-03-26 21:58:56 +00:00
Johannes Schickel
bf71af3c91 Fixed typo.
svn-id: r31254
2008-03-26 21:56:20 +00:00
Johannes Schickel
db1b4f0e14 - reworked skip flag handling in some places again
- hopefully fixed tons of warnings related to stackPosString

svn-id: r31253
2008-03-26 21:52:28 +00:00
Johannes Schickel
f919b26875 - fixed multiple voices playing at once (see bug #1926547 "HoF: Right mouse button messes up gameplay").
- fixed crash while uninitializing AdLib driver

svn-id: r31252
2008-03-26 21:39:44 +00:00
Johannes Schickel
e962640411 Set delay time for the hack in o2_updateSceneAnim to the value Raziel^ suggests.
svn-id: r31251
2008-03-26 21:28:26 +00:00
Johannes Schickel
c9b9398561 Possible fix for part 1 of bug #1926547 "HoF: Right mouse button messes up gameplay".
svn-id: r31250
2008-03-26 21:24:22 +00:00
Johannes Schickel
7c33605761 Added support for HoF savefile from the original interpreter.
svn-id: r31249
2008-03-26 21:17:07 +00:00
Johannes Schickel
6412c82bf7 Added some inlines to MemoryReadStreamEndian.
svn-id: r31248
2008-03-26 21:16:16 +00:00
Filippos Karapetis
8ca0c65cbd Commented out two frees() in DestroyScalers(), introduced with commit #31244 and added a FIXME - these cause crashes with 640x480 games, when using an HQ2x scaler
svn-id: r31247
2008-03-26 20:49:45 +00:00
Johannes Schickel
4b0bdc7a08 Extended savegame type checks.
svn-id: r31246
2008-03-26 20:28:31 +00:00
Johannes Schickel
c2df92a9b5 Added a simple hack which adds delay between animation frames of some scene animations, this prevents some animations from running too fast. See for example bug #1923638 "HoF: Marco missing animation frames".
svn-id: r31245
2008-03-26 19:58:33 +00:00
Max Horn
b0c6a12c81 Modified Patch #1925352: Memory leak fixes
svn-id: r31244
2008-03-26 19:29:33 +00:00
Johannes Schickel
afed582280 Fix bug #1923638 "HoF: Marco missing animation frames".
svn-id: r31243
2008-03-26 16:11:47 +00:00
Max Horn
b2aea51d58 Call InitScalers instead of setting gBitFormat directly
svn-id: r31242
2008-03-26 14:56:51 +00:00
Max Horn
53ea302f5d Added note on how the WinCE scalers are wasting valuable cycles, and how to fix that
svn-id: r31241
2008-03-26 11:09:38 +00:00
Travis Howell
52930616c6 And don't attempt to play sound, when the sound file isn't loaded in The Feeble Files.
svn-id: r31240
2008-03-26 04:07:32 +00:00
Travis Howell
44200b4ac6 Remove error for missing sound files in The Feeble Files, due to fault in French version.
svn-id: r31239
2008-03-26 04:04:14 +00:00
Travis Howell
10be4b2a6d Move code to ignore invalid characters.
svn-id: r31238
2008-03-26 03:10:40 +00:00
Travis Howell
eeb4c75244 Ooops, correct error in conversion of The Feeble Files font data.
svn-id: r31237
2008-03-26 02:11:22 +00:00
Travis Howell
defe50eada Always ignore invalid characters, when using charset data.
svn-id: r31236
2008-03-26 01:57:26 +00:00
Travis Howell
171a4d1bdb Switch all font data to hexadecimal and sort by language name.
svn-id: r31235
2008-03-26 01:50:59 +00:00
Travis Howell
48fac2f9dc Fix palette glitches in Amiga OCS version of Simon the Sorcerer 1.
svn-id: r31233
2008-03-25 08:03:32 +00:00
Florian Kagerer
1bb41bf225 fixed skip flag reset for sequence player
svn-id: r31232
2008-03-24 23:01:51 +00:00