aboutsummaryrefslogtreecommitdiff
path: root/kyra/sprites.cpp
AgeCommit message (Collapse)Author
2006-02-11Kyra cleanup path step 2Oystein Eftevaag
* Moved more code out of kyra.cpp. Specifically moved Kyra1 specific sequence helper functions to sequence.cpp (and updateKyragemFading() from animator.cpp for the same reason), and some generic animation functions to animator.cpp. This is mainly in preparation for Kyra2. * Additionally, cleaned up my last bugfix a little bit :) svn-id: r20493
2006-02-11Fixes the bug when displaying the falling leafe scene in room 12 and text ↵Johannes Schickel
bugs which overwride the interface. (also in the scene with the ruby tree) svn-id: r20483
2006-02-091. Replaced the $Header$ tags in the Kyra filesOystein Eftevaag
2. Added code to let the player skip past dialogue by leftclicking or hitting '.' 3. Removed the waitTicks() function and replaced all usage with delay() 4. Corrected various speed issues, the intro should run at the correct pace now 5. Talkie versions will no longer display the story screen during the intro, as in the original. 6. Moved the delay() function adjacent to other delay functions. svn-id: r20438
2006-01-28Fixes the kyra GUI palette issues, implements background fading when the ↵Oystein Eftevaag
GUI's up, and a couple of very minor optimizations. svn-id: r20263
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-13Implemented a few drawing functions used by the menu, corrected a few incorrectOystein Eftevaag
opcode debug messages, and blocked unnecessary sprite anim script looping. svn-id: r19992
2006-01-12Implemented 'ingame' sound handling, and named the unknown opcodes from the ↵Johannes Schickel
cd version and 'implemented' them. svn-id: r19988
2006-01-10Fixed regression bug #1400707, and reenabled mouselocking with a fix,Oystein Eftevaag
to remove the mouse flickering under cutscenes and such. svn-id: r19962
2006-01-08Removed exiting the game on ESC, and making yet another sprite width ↵Oystein Eftevaag
adjustment (to fix some graphics glitches). svn-id: r19953
2006-01-08Minor fix for sprite anims, to align with new width standard.Oystein Eftevaag
svn-id: r19947
2006-01-06Implemented the end sequence, (only the rest of the winning end sequenceJohannes Schickel
is missing yet and one text part that malcolm says). => Kyra *should* be completeable now. Also used KyraEngine:: in all debug calls from the KyraEngine class. And fixes a bug while drawing shapes. svn-id: r19928
2006-01-02More 'cleanup' for kyra.Johannes Schickel
Moved scene object drawing into its own class (see animator.h and .cpp) (this needs some more cleanup!) Moved text displaying into its own class (see text.h and .cpp) Also moved timer code to timers.cpp and button code to gui.cpp. Also changed wrong (c) information in debugger.h and debugger.cpp svn-id: r19890
2006-01-01fixed warningsPaweł Kołodziejski
svn-id: r19877
2005-12-24Started to implement button handling (atm only the inventory works)Johannes Schickel
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-22Fixed bug with an endless loop while clicking on herman after giving him the ↵Johannes Schickel
saw. svn-id: r19827
2005-12-20Fixed another gfx bug, this time sprite related, in the temple.Johannes Schickel
svn-id: r19816
2005-12-09Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum.Johannes Schickel
svn-id: r19763
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 compilation.Torbjörn Andersson
svn-id: r19549
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-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-19Fixed compile error.Torbjörn Andersson
svn-id: r19170
2005-10-18Commited patch # 1324980. Thanks to vinterstum.Johannes Schickel
svn-id: r19163
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-03committed patch #1312156 'Various sprite-related things'. Thanks Oystein ↵Gregory Montoir
Eftevaag/vinterstum svn-id: r18930