Johannes Schickel
7783b666c6
Fixed bad usage of functor objects.
...
svn-id: r31607
2008-04-20 15:16:58 +00:00
Johannes Schickel
bf46b5f178
- reworked tim handling
...
- moved tim interpreter to new class TIMInterpreter
svn-id: r31569
2008-04-19 13:52:09 +00:00
Johannes Schickel
991a977990
Cleanup.
...
svn-id: r31495
2008-04-12 23:59:11 +00:00
Johannes Schickel
1f91dc0384
- some refactoring for Kyra3
...
- removed unneeded map code in KyraEngine_v3
svn-id: r31488
2008-04-12 23:17:21 +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
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
213ac50740
Oops. that shouldn't have been reverted by last committ.
...
svn-id: r31433
2008-04-06 15:05:12 +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
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
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
0aecc4fb03
Implemented game options menu.
...
svn-id: r31378
2008-04-04 08:13:35 +00:00
Florian Kagerer
834badfc95
cleanup
...
svn-id: r31374
2008-04-04 01:43:20 +00:00
Johannes Schickel
4fa0740a27
Implemented death menu. This also fixes bug #1926892 "HoF: Odd behaviour when Zanthia gets killed(?)".
...
svn-id: r31360
2008-04-02 03:16:34 +00:00
Johannes Schickel
bd85909ff9
Don't enter run loop when quit flag is set.
...
svn-id: r31337
2008-03-30 18:41:55 +00:00
Johannes Schickel
f4e6109b33
- fixed savegame description loading in kyra1
...
- added Kyra2 load menu, currently just accessable from startup menu though
svn-id: r31331
2008-03-30 18:27:46 +00:00
Johannes Schickel
7605a9a517
Changed HoF GUI code to use common GUI code now.
...
svn-id: r31295
2008-03-28 16:15:00 +00:00
Johannes Schickel
f7d14259c9
Implemented command text fadeout.
...
svn-id: r31285
2008-03-28 01:28:02 +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
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
bf26f82cbb
Implemented opcode 74: o2_setSceneAnimPos2.
...
svn-id: r31276
2008-03-27 23:46:30 +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
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
df78d4d484
Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".
...
svn-id: r31220
2008-03-22 12:43:23 +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
Travis Howell
91a33d4d63
Add HoF CD demo.
...
svn-id: r31205
2008-03-20 12:10:30 +00:00
Johannes Schickel
e70790c610
Enabled some cursor related commented out code.
...
svn-id: r31201
2008-03-20 11:42:02 +00:00
Johannes Schickel
cbc4c789da
Implemented showing of credits after completing game.
...
svn-id: r31186
2008-03-18 19:06:53 +00:00
Johannes Schickel
83390027c2
- Implemented opcodes:
...
-> 12: o2_setCharacterFacing
-> 14: o2_moveCharacter
-> 61: o2_loadZShapes
-> 83: o2_setPathfinderFlag
-> 90: o2_setSceneAnimPos
-> 160: o2_updateTwoSceneAnims
- Implemented dino riding sequence
- Fixed bug in KyraEngine_v2::initSceneScreen which caused some gfx glitches
svn-id: r31183
2008-03-18 17:00:26 +00:00
Johannes Schickel
2af4fc1034
- Implemented opcodes:
...
-> 21: o2_backUpScreen
-> 22: o2_restoreScreen
-> 28: o2_addItemToInventory
-> 50: o2_wipeDownMouseItem
-> 67: o2_loadPalette384
-> 68: o2_setPalette384
-> 165: o2_disableTimer
-> 166: o2_enableTimer
-> 167: o2_setTimerCountdown
- renamed some timer functions
svn-id: r31182
2008-03-18 15:50:43 +00:00
Johannes Schickel
caf1cc60de
Completed implementation of KyraEngine_v2::inputSceneChange.
...
svn-id: r31178
2008-03-18 13:01:33 +00:00
Johannes Schickel
b03c23ce57
Fixed input bug causing Zanthia not to move sometimes.
...
svn-id: r31177
2008-03-18 12:55:41 +00:00
Johannes Schickel
5df3a2e130
Fixed bug preventing movement.
...
svn-id: r31172
2008-03-18 00:04:34 +00:00
Johannes Schickel
a917a88504
Oops forgot to enable some code.
...
svn-id: r31169
2008-03-17 23:29:25 +00:00
Johannes Schickel
845d65d8b7
Implemented opcode 98: o2_setDeathHandlerFlag
...
svn-id: r31168
2008-03-17 23:27:33 +00:00
Johannes Schickel
1042c6dccf
Implemented opcodes:
...
- 70: o2_backUpInventoryGfx
- 71: o2_disableSceneAnim
- 72: o2_enableSceneAnim
- 73: o2_restoreInventoryGfx
svn-id: r31167
2008-03-17 23:01:50 +00:00
Florian Kagerer
d71523ae15
remove unnecessary code duplication
...
svn-id: r31163
2008-03-17 21:15:24 +00:00
Johannes Schickel
6ebfeb5a05
Also allow '.' and Escape as keys for skipping sequences in HoF.
...
svn-id: r31156
2008-03-17 18:19:01 +00:00
Johannes Schickel
91a800cf02
Implemented quick (via hotkeys) save/load suppot for HoF.
...
svn-id: r31154
2008-03-17 18:10:52 +00:00
Johannes Schickel
4e88124361
Fixed KyraEngine_v2::initSceneScreen
...
svn-id: r31153
2008-03-17 12:43:09 +00:00
Florian Kagerer
b9339221e4
- implement debugger commands: gamespeed and pass_codes
...
- implement opcode 151: meanWhileScene()
- fix dragon flight scene: this is still totally messed up, but at least the screen doesn't stay blank any more
svn-id: r31152
2008-03-17 01:34:24 +00:00
Johannes Schickel
18fa238cd3
- implemented skip flag handling in wsa related opcodes
...
- implemented skip flag handling in o2_isVoicePlaying
- fixed skip flag handling when making the cauldron appear.
svn-id: r31149
2008-03-16 18:24:45 +00:00
Florian Kagerer
6444a3c3d8
fix typo
...
svn-id: r31148
2008-03-16 17:43:41 +00:00
Florian Kagerer
04a2ac1485
- implement zanthIdleChat()
...
- bug fix for zanthRandomChat()
svn-id: r31147
2008-03-16 17:16:17 +00:00
Johannes Schickel
f0d54b4513
Reworked skipFlag handling.
...
svn-id: r31143
2008-03-16 14:32:49 +00:00
Johannes Schickel
c7175fac8d
- moved KyraEngine_v1::setupOpcodeTable from kyra_v1.cpp to kyra_v2.cpp
...
- some more work in KyraEngine_v2::showIdleAnim
svn-id: r31142
2008-03-16 13:52:08 +00:00
Johannes Schickel
ef72d8e7bf
Moved KyraEngine_v2::setupOpcodeTable from kyra_v2.cpp to script_v2.cpp
...
svn-id: r31141
2008-03-16 13:40:54 +00:00