Commit Graph

798 Commits

Author SHA1 Message Date
Johannes Schickel
e29b4bb0cd Committed shared pointer implementation of patch #1895703 "COMMON: Managed List".
Unlike the patch on the tracker this commit includes documentation for SharedPtr.

svn-id: r31287
2008-03-28 06:03:59 +00:00
Johannes Schickel
dc1a7004e9 Fixed showing of cauldron animations processing while the inventory is not shown.
svn-id: r31286
2008-03-28 01:44:49 +00:00
Johannes Schickel
f7d14259c9 Implemented command text fadeout.
svn-id: r31285
2008-03-28 01:28:02 +00:00
Johannes Schickel
5fd6af3071 Finished o2_delay implementation.
svn-id: r31284
2008-03-28 01:10:58 +00:00
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
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
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
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
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
Johannes Schickel
afed582280 Fix bug #1923638 "HoF: Marco missing animation frames".
svn-id: r31243
2008-03-26 16:11:47 +00:00
Florian Kagerer
1bb41bf225 fixed skip flag reset for sequence player
svn-id: r31232
2008-03-24 23:01:51 +00:00
Florian Kagerer
6dafd78b56 improved skip flag handling for intro and outro (see tracker item #1922556)
svn-id: r31231
2008-03-24 14:21:06 +00:00
Johannes Schickel
00033ff747 Respect text/voice settings in Kyrandia 1 Intro/Outro.
svn-id: r31228
2008-03-23 20:55:42 +00:00
Johannes Schickel
46376d38a9 - fixed bug in Sound::voiceIsPlaying
- fixed speech animation duration in Kyra1

svn-id: r31221
2008-03-22 14:29:30 +00:00
Johannes Schickel
df78d4d484 Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".
svn-id: r31220
2008-03-22 12:43:23 +00:00
Johannes Schickel
07bb52b78e Fix for bug #1922521 "HoF: mountaineer sprite vanishes".
svn-id: r31217
2008-03-22 00:33:05 +00:00
Johannes Schickel
7c57c127ea Oops removing debug output.
svn-id: r31216
2008-03-21 23:57:05 +00:00
Johannes Schickel
5107404089 - improved timer information output in debugger
- fixed timer data loading

svn-id: r31215
2008-03-21 23:54:47 +00:00
Johannes Schickel
2a4aa9c379 Removed some unneeded waiting for voice to finish.
svn-id: r31212
2008-03-21 17:09:45 +00:00
Johannes Schickel
dea50612cb - disabled some old warnings
- removed waiting for voice to finish in o1_restoreCustomPrintBackground

svn-id: r31211
2008-03-21 16:54:08 +00:00
Johannes Schickel
b615eb177b Cleanup.
svn-id: r31210
2008-03-21 16:21:27 +00:00
Johannes Schickel
a169619526 - Implemented opcode 97: o2_isAnySoundPlaying
- reworked sound channel handling in HoF
  => fixed some voice related bugs

svn-id: r31209
2008-03-21 16:18:27 +00:00
Johannes Schickel
88069c943a Proper fix for bug #1920869 "HoF: palette artifacts in inventory".
svn-id: r31208
2008-03-21 12:51:03 +00:00
Florian Kagerer
2f7b59d3e2 - fix skip flags for non-playable demo
svn-id: r31207
2008-03-20 20:36:36 +00:00