aboutsummaryrefslogtreecommitdiff
path: root/kyra/script_v1.cpp
AgeCommit message (Collapse)Author
2005-12-10Implemented cmd_bkgdScrollSceneAndMasksRight.Johannes Schickel
svn-id: r19772
2005-12-09Changed use of setTimerCountdown to new implemented setTimerDelay.Johannes Schickel
svn-id: r19771
2005-12-09Fixed bug with wrongly used shapes of items in a room.Johannes Schickel
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-09Implemented item dropping into a scene and renamed unkItemFunction to ↵Johannes Schickel
processItemDrop. svn-id: r19765
2005-12-09Finished item pick up code.Johannes Schickel
Changed writing of stack access in the script functions. Also fixed typo with cmdPoisonBrandonAndRemaps. svn-id: r19764
2005-12-09Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum.Johannes Schickel
svn-id: r19763
2005-12-08Fixed bug with item drawing.Johannes Schickel
Added support for item placing. (not user input controlled) svn-id: r19761
2005-11-27Added voices for cd version in the game.Johannes Schickel
Also increased RESFILE_VERSION for the new kyra.dat for the cd version. svn-id: r19717
2005-11-27More string fixes for CD version, due to stack order differences.Travis Howell
svn-id: r19715
2005-11-27Fix characters talking in CD version, stack order is different.Travis Howell
svn-id: r19714
2005-11-27Implemented cmd_runSceneAnimUntilDone and cmd_displayWSAFrameOnHidPage.Johannes Schickel
Also fixed cursor hotspot position. svn-id: r19707
2005-11-26Fixed bug that findSubPath did not update the saved facing.Johannes Schickel
svn-id: r19704
2005-11-18Implemented basic input handling and fixed mask drawing.Johannes Schickel
svn-id: r19657
2005-11-13Fixed a bug with the sprite loader and various things related toJohannes Schickel
the scene switching code. Now the intro works correctly with a minor graphics glitch. svn-id: r19588
2005-11-11Commited patch #1354117. Thanks to vinterstum.Johannes Schickel
svn-id: r19560
2005-11-10Fixed cmd_blockInWalkableRegion and findSubPatch.Johannes Schickel
svn-id: r19551
2005-11-10Fixed preserveAllBackgrounds and implemented:Johannes Schickel
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-10Commited patch #1350510 with some little changes. Thanks to vinterstum.Johannes Schickel
svn-id: r19548
2005-11-09- fixed setCharactersPositionJohannes Schickel
- 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-01Implemented the pathfinder and applied patch # 1342902.Johannes Schickel
Also added debug printouts to some functions. svn-id: r19386
2005-10-29Implemented some basic opcodes, and basic character drawing, alsoJohannes Schickel
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-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-16compiler warned about useless negative operation. i hope it's ok after changePaweł Kołodziejski
svn-id: r19107
2005-10-13Rewrite of the script interpretation class:Johannes Schickel
- Now only one instance is needed for many scripts - Fixed a few command procs, but lacks opcode caller implementation svn-id: r19064
2005-08-19some WIP code to start introduction (with glitches) in Kyrandia 1 :Gregory Montoir
- 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-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24For consistency, specify directory when including files.Torbjörn Andersson
svn-id: r18447
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-01-09Ensure the kyra legal headers match the rest of ScummVMMax Horn
svn-id: r16504
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-14Patch #1066256. Mostly indentation fixes and some debug messages removed.Eugene Sandulenko
svn-id: r15811
2004-11-11Bring kyra up-to-date with patch 1051358James Brown
svn-id: r15786
2004-11-10Clean up a bit the script stuff. In particular, resized the command pointers ↵Gregory Montoir
array, as it seems that none of kyrandia games have more than 0x13 command opcodes (checked kyra2 and kyra3). svn-id: r15782
2004-10-16Fix whitespace / code formatting to match out guidelinesMax Horn
svn-id: r15576
2004-10-15Fix opcodes.James Brown
svn-id: r15556
2004-10-15Merge in some of LordHotos kyra code, with some changes.James Brown
It's still non-functional, but once I merge in some more of my local changes things should actually be moving a long a bit. svn-id: r15554