Commit Graph

24 Commits

Author SHA1 Message Date
Johannes Schickel
7561bd9dfb Remov lots of superfluous debug output.
svn-id: r40715
2009-05-19 01:13:29 +00:00
Johannes Schickel
d5545bd8c5 - Moved newShape/temporaryScript code to KyraEngine_v2.
- Renamed newShape/temporaryScript code to animationScript.

svn-id: r31841
2008-05-03 19:23:45 +00:00
Johannes Schickel
3aaff020c7 Fixed some valgrind warnings.
svn-id: r31839
2008-05-03 12:03:24 +00:00
Johannes Schickel
a829244b8c - Renamed ScreenAnimator -> Animator_v1
- Moved addItemToAnimList and deleteItemAnimEntry to KyraEngine_v2.

svn-id: r31831
2008-05-02 17:14:59 +00:00
Johannes Schickel
52003bc195 Added missing files, compiling should work again.
svn-id: r31818
2008-05-02 14:48:19 +00:00
Johannes Schickel
4b5f3266cf Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
svn-id: r31817
2008-05-02 14:46:30 +00:00
Florian Kagerer
22efb801d4 svn-id: r31431 2008-04-06 14:57:01 +00:00
Johannes Schickel
b7a3dfd9df Always clip rect to copy in Screen::copyRegion now, like the original does.
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia".

svn-id: r31318
2008-03-30 03:18:16 +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
24fe9e42d7 - fixed numerous graphics glitches
-> fixed bug in o2_stopSceneAnimation
 -> fixed bug in KyraEngine_v2::freeSceneAnims

svn-id: r31196
2008-03-19 17:13:31 +00:00
Torbjörn Andersson
12bfc644f4 Fixed some warnings, so that I too may bask in the glory of Kyrandia 2.
svn-id: r31188
2008-03-18 19:31:38 +00:00
Johannes Schickel
f1b11fdff9 - started to add debugC calls to methods
- implemented some missing bits in itemDropDown

svn-id: r31187
2008-03-18 19:27:21 +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
Florian Kagerer
68a603139d -missed animator_v2.cpp in last commit
svn-id: r31171
2008-03-17 23:45:33 +00:00
Florian Kagerer
9cedcd059b animations for inventory items and mouse pointers
svn-id: r31122
2008-03-15 00:16:11 +00:00
Johannes Schickel
05f68b17d4 - implemented cauldron handling for HoF (needs some more testing though)
- fixed bug in updateCharFacing
- added 'give' command to HoF debugger, which allows setting the hand item to a specified item

svn-id: r31087
2008-03-09 14:46:24 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Johannes Schickel
28a57c434a Cleanup(/formatting).
svn-id: r29983
2007-12-24 22:27:30 +00:00
Johannes Schickel
dd1b43a5a9 HoF:
- More input handling (should be rather complete now, not finished but nearlly)
- Implemented the following opcodes:
  -> o2_trySceneChange 0x0d
  -> o2_setHandItem 0x2a
  -> o2_handItemSet 0x2c
  -> o2_setCharPalEntry 0x3c
  -> o2_drawSceneShape 0x3e
  -> o2_update 0x4b
  -> o2_fadeScenePal 0x4d
  -> o2_enterNewSceneEx 0x50
  -> o2_setZanthiaPos 0x56
  -> o2_runTemporaryScript 0x6e
  -> o2t_defineNewShape 0x00
  -> o2t_setCurrentFrame 0x01
  -> o2t_setShapeFlag 0x04

svn-id: r29178
2007-10-09 08:44:45 +00:00
Johannes Schickel
cf3fd283bb HoF:
- added support for dropping items into scenes
- added const to some static data
- implemented opcode 0x55 o2_setLayerFlag
- fixed a bug in Screen_v2::drawShape

svn-id: r29175
2007-10-09 04:47:41 +00:00
Johannes Schickel
5ad7870775 - little bit more input handling
- implemented item pickup

svn-id: r29160
2007-10-07 00:35:22 +00:00
Johannes Schickel
1140fca82e - Kyrandia 1 works again
- Added timer class for timer handling
- Little bit more resturcturing
- A little bit (almost nothing but a start!) Kyrandia 2 support

svn-id: r28297
2007-07-29 16:33:11 +00:00