Commit Graph

57 Commits

Author SHA1 Message Date
Johannes Schickel
d1622557d9 Implemented:
- cmd_pauseTicks
 - cmd_setLogicPage
 - cmd_fatPrint
 - cmd_playWinterScrollSequence
Also implemented functionallity of the other three jewels of the amulet.

svn-id: r19847
2005-12-29 22:18:40 +00:00
Johannes Schickel
f7b4985126 Implemented:
- cmd_magicInMouseItem
 - cmd_poisonDeathNow
 - cmd_poisonBrandonAndRemaps
 - cmd_playFluteAnimation
Also implemented healing function for brandon. And implemented poison death
sequence.

svn-id: r19841
2005-12-28 21:34:40 +00:00
Johannes Schickel
55f737c4a2 Started to implement the amulet button callback.
Also implemented some of the first jewel functionallity.
And cleaned up the resource unloading a bit.

svn-id: r19833
2005-12-26 14:53:51 +00:00
Johannes Schickel
515b69ddb8 Started to implement button handling (atm only the inventory works)
Also implemented following opcodes:
 - cmd_waitForConfirmationMouseClick
 - cmd_drawItemShapeIntoScene
 - cmd_setFireberryGlowPalette
 - cmd_findBrightestFireberry
 - cmd_sceneToDirection
 - cmd_createAmuletJewel
 - cmd_getCharactersMovementDelay
 - cmd_setNoDrawShapesFlag
 - cmd_checkClickOnNPC
 - cmd_getFoyerItem
 - cmd_setFoyerItem
 - cmd_passiveProtection
 - cmd_fillRect
Fixed bugs in some opcodes (mostly wrong debug calls)
Also changed debuglevel of all sprite functions to level 6 (from 5).

svn-id: r19831
2005-12-24 18:00:35 +00:00
Johannes Schickel
268d05955f Implemented cmd_magicOutMouseItem and also extended enterNewScene
and initSceneScreen.

svn-id: r19830
2005-12-23 17:49:14 +00:00
Johannes Schickel
22033482b0 Small bugfixes with enterNewScene and cmd_pauseSeconds.
Implemented opcode: cmd_setSceneFile

svn-id: r19829
2005-12-22 19:31:38 +00:00
Johannes Schickel
c36104ac0c Completed implementation of processItemDrop
also changed implementation of itemDropDown a bit.
Implemented new opcodes:
 - cmd_fadeSpecialPalette
 - cmd_setCustomPaletteRange

svn-id: r19828
2005-12-22 18:14:52 +00:00
Johannes Schickel
df493c63c4 Implemented cmd_makeAmuletAppear.
svn-id: r19815
2005-12-20 12:42:22 +00:00
Johannes Schickel
f241049961 Fixes gfx bug in the temple and the cave, also corrected
the encodeShape and drawShape function for CD version.

svn-id: r19814
2005-12-20 10:58:07 +00:00
Johannes Schickel
df8e542f39 Implemented command line update when picking up or dropping down items.
svn-id: r19798
2005-12-14 14:08:30 +00:00
Johannes Schickel
7cb66e3cf7 Implemented more of sceneScreenInit and completed transcendScenes.
svn-id: r19796
2005-12-13 16:56:33 +00:00
Johannes Schickel
1f727e0018 Improved user controlled input handling.
Disabled use of _mouseLockCount in screen.cpp for now.
(that should fix a bug with not displayed cursor after using the debugger)

svn-id: r19794
2005-12-13 15:10:20 +00:00
Johannes Schickel
38c3df4393 Implemented drawing of Brynns note.
svn-id: r19774
2005-12-10 19:02:56 +00:00
Oystein Eftevaag
d6e9396166 Implemented basic saving and loading. Use Ctrl+(0-9) to save, and
Alt+(0-9) to load. Also extended the FastMode functionality to cover
the main game, hit Ctrl-F to speed animations and chats. Set '.' to skip
Brandon's chats, removed a redundant showMouse() and hideMouse() pair,
and simplified some screen updating code.

svn-id: r19773
2005-12-10 17:51:40 +00:00
Johannes Schickel
7b556aaafe Implemented cmd_bkgdScrollSceneAndMasksRight.
svn-id: r19772
2005-12-10 15:52:38 +00:00
Johannes Schickel
fe80cf4f99 Changed use of setTimerCountdown to new implemented setTimerDelay.
svn-id: r19771
2005-12-09 23:48:52 +00:00
Johannes Schickel
b57f036975 Fixed bug with wrongly used shapes of items in a room.
Also implemented usage of NPC.EMC in the input function.
And implemented following opcodes:
 - cmd_getCharactersLocation
 - cmd_setBrandonStatusBit
 - cmd_queryScenePhasingFlag
 - cmd_resetScenePhasingFlag
 - cmd_setScenePhasingFlag
 - cmd_phaseInSameScene
 - cmd_popMobileNPCIntoScene
 - cmd_setCharactersMovementDelay
 - cmd_queryBrandonStatusBit
And a fix for the pathfinder and various other functions
using the character positions values so they are now able to handle
negative positions.

svn-id: r19769
2005-12-09 23:02:16 +00:00
Johannes Schickel
b90e114f2c Implemented item dropping into a scene and renamed unkItemFunction to processItemDrop.
svn-id: r19765
2005-12-09 19:49:47 +00:00
Johannes Schickel
1fc81a08fa Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum.
svn-id: r19763
2005-12-09 14:52:31 +00:00
Johannes Schickel
bce163c3cb Fixed bug with item drawing.
Added support for item placing. (not user input controlled)

svn-id: r19761
2005-12-08 17:19:18 +00:00
Johannes Schickel
5eb3e11b46 Implemented basic input handling and fixed mask drawing.
svn-id: r19657
2005-11-18 23:55:31 +00:00
Johannes Schickel
e0aef914fd Fixed a bug with the sprite loader and various things related to
the scene switching code. Now the intro works correctly with a minor graphics glitch.

svn-id: r19588
2005-11-13 19:35:01 +00:00
Johannes Schickel
1f77077524 Commited patch #1354117. Thanks to vinterstum.
svn-id: r19560
2005-11-11 22:17:06 +00:00
Johannes Schickel
f26322d2be Fixed preserveAllBackgrounds and implemented:
cmd_changeCharactersFacing + cmd_popBrandonIntoScene
and extended prepDrawAllObjects so that it could draw talking animations.
Also removed a few useless comments.

svn-id: r19550
2005-11-10 18:58:44 +00:00
Johannes Schickel
dd4e750640 Commited patch #1350510 with some little changes. Thanks to vinterstum.
svn-id: r19548
2005-11-10 14:08:50 +00:00
Johannes Schickel
510eba8227 - fixed setCharactersPosition
- fixed loadCharacterShapes
- fixed anim shape drawing
- corrected some tables
- added debug drawing for the pathfinder (still a bit buggy)
- gets a small script scene to work with some graphics glitches
- corrected some drawShape drawing functions
- started to implement cmd_walkPlayerToPoint and the needed functions

svn-id: r19539
2005-11-09 22:26:12 +00:00
Johannes Schickel
c3ef43fd6b Implemented the pathfinder and applied patch # 1342902.
Also added debug printouts to some functions.

svn-id: r19386
2005-11-01 14:19:50 +00:00
Johannes Schickel
cd6e35cdb8 Implemented initSceneObjectList, fixed bug with wrong drawn mouse,
also fixed a bug in loadCharacterShapes.

svn-id: r19375
2005-10-30 19:58:51 +00:00
Johannes Schickel
50cc43ba58 Implemented some basic opcodes, and basic character drawing, also
started to change a bit of the sprite code (thanks to vinterstum for his work)
It is still WIP code and breaks CD version, since all the used tables have to
be located in one cd version binary.

svn-id: r19361
2005-10-29 18:37:40 +00:00
Johannes Schickel
4079dd03b1 Implemented correct cursor handling.
svn-id: r19230
2005-10-22 00:24:07 +00:00
Johannes Schickel
2e60e19a37 Some fixes:
- added support for an external data file for all the resources from
	  the original binary
	- fixed a typo with malco(l)m
	- added support for spanish floppy
	- changes support for unknown languages a bit
	- some other cleanups

svn-id: r19161
2005-10-18 19:59:51 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Johannes Schickel
67eedc08d2 Oops. Fixes a bug with wrong filename for intro text in english version.
Also gets rid of GF_KYRA* since GI_KYRA* should be used instead.
And last but not least fixes text drawing while Kallaks writing scene.

svn-id: r19081
2005-10-14 11:25:48 +00:00
Johannes Schickel
7664cbcc74 Committed patch #1325945 ( KYRA: md5 game detection ) with a few changes
and added the story picture in the intro.

svn-id: r19068
2005-10-13 21:12:47 +00:00
Johannes Schickel
27191b258c Applied patch #1320381 (KYRA: Adds speech support to CD version)
- changed the seq player
	- added cdrom version data
	- changed the resource loader a bit

svn-id: r19037
2005-10-12 19:15:32 +00:00
Torbjörn Andersson
8fc913c21d Moved the sequence player into its own class. I'm sure this could be
cleaned up a bit, but it'll do for now.

svn-id: r18946
2005-10-06 11:57:02 +00:00
Torbjörn Andersson
49602286f4 Applied my patch #1314023, since cyx liked the idea of cleaning up the
sequence player. He did note - and I agree - that the player could be
further cleaned up by placing it in a class of its own, and that it's
possible (though not certain) that we won't be needing alternative opcode
sets for the floppy and CD versions.

But it'll do for now. I don't have time to do any more with it right now.

svn-id: r18944
2005-10-05 16:40:51 +00:00
Gregory Montoir
3bcb098fd3 committed patch #1312156 'Various sprite-related things'. Thanks Oystein Eftevaag/vinterstum
svn-id: r18930
2005-10-03 20:21:18 +00:00
Gregory Montoir
ad3c2e1dbc committed patch #1281714 'Kyra 1 Sound Patch'. Thanks LordHoto.
svn-id: r18807
2005-09-11 14:35:34 +00:00
Gregory Montoir
91bee5ac5d renamed some vars for consistency with the demo tables
svn-id: r18803
2005-09-10 07:46:18 +00:00
Travis Howell
b7e2486b6d Add support for non-interactive demo version.
svn-id: r18801
2005-09-10 06:40:20 +00:00
Gregory Montoir
689b89b2be fixed line breaks ; cleanup
svn-id: r18800
2005-09-10 00:15:40 +00:00
Gregory Montoir
732f33bd3a cleanup
svn-id: r18799
2005-09-09 21:13:43 +00:00
Gregory Montoir
53a884dc17 some WIP code, moved Font stuff to Screen class
svn-id: r18790
2005-09-08 19:09:52 +00:00
Gregory Montoir
443cf756be added special sequence opcode 8
svn-id: r18733
2005-09-02 11:12:09 +00:00
Gregory Montoir
288759abd2 some WIP code, add drawShape()
svn-id: r18724
2005-08-31 20:14:20 +00:00
Gregory Montoir
24265fd3dd some WIP code to start introduction (with glitches) in Kyrandia 1 :
- the decoders have been rewritten due to crashes I encountered with the previous ones in Compression::
- the wsa code loader for v1 have been rewritten too, to handle the same flags as the original
- some cleanup
- this has only been tested with the floppy version

svn-id: r18704
2005-08-19 22:12:09 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
9c0f422d0b Ensure the kyra legal headers match the rest of ScummVM
svn-id: r16504
2005-01-09 16:06:29 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00