aboutsummaryrefslogtreecommitdiff
path: root/kyra/screen.cpp
AgeCommit message (Collapse)Author
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-10Fixed gfx bug with shapes with flag 1 enabled.Johannes Schickel
That means that Brandon now displays correctly when walking around. svn-id: r20482
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-02-09Moved tons of code out of kyra.cpp, and removed three redundant functions ↵Oystein Eftevaag
(two stubs to sound functions, and one duplicate function (one with 'posion' in the name, one with 'poison'). The bulk of the moved code is moved to the newly created files items.cpp, scene.cpp and sequences.cpp svn-id: r20437
2006-01-27Implemented the GUI menu for saving games (minus the cursor in the text ↵Oystein Eftevaag
entry window...). The Load Game menu will now pop up before the last part of the intro is played, if it has already played once before (as in the original). Note that the palette is still wrong, and the settings menu is still not implemented. svn-id: r20210
2006-01-22Kyrandia:Oystein Eftevaag
* Partial GUI implementation -Loading games and quitting works. -Colors are wrong in most room; saving and configuration doesn't work. * Moved stuff around in kyra.h, so struct definitions are adjacent. * Slight modification of Joostp's mousefix, should be more efficient and still work svn-id: r20135
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-14Implemented "cmd_loadPageFromDisk" and "cmd_savePageToDisk".Johannes Schickel
svn-id: r20032
2006-01-14Fixed bug # 1401236. (KYRA: Erroneous animation in the pantheon of moonlight).Johannes Schickel
svn-id: r20026
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-11Fixed for bug report # 1401360.Johannes Schickel
Also added some delay calls while waiting in some script functions. svn-id: r19982
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-07Implemented playing of the end sequence, still credits do not show up.Johannes Schickel
svn-id: r19941
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
2005-12-22Completed implementation of processItemDropJohannes Schickel
also changed implementation of itemDropDown a bit. Implemented new opcodes: - cmd_fadeSpecialPalette - cmd_setCustomPaletteRange svn-id: r19828
2005-12-20Fixes gfx bug in the temple and the cave, also correctedJohannes Schickel
the encodeShape and drawShape function for CD version. svn-id: r19814
2005-12-13Improved user controlled input handling.Johannes Schickel
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-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-08Fixed bug with item drawing.Johannes Schickel
Added support for item placing. (not user input controlled) svn-id: r19761
2005-11-27Not required for CD version, causes palette glitches in CD version.Travis Howell
svn-id: r19716
2005-11-27Add fix for cursors in CD version, from LordHoto.Travis Howell
svn-id: r19713
2005-11-27Implemented cmd_runSceneAnimUntilDone and cmd_displayWSAFrameOnHidPage.Johannes Schickel
Also fixed cursor hotspot position. svn-id: r19707
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-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-30Implemented initSceneObjectList, fixed bug with wrong drawn mouse,Johannes Schickel
also fixed a bug in loadCharacterShapes. svn-id: r19375
2005-10-29Oops, fixed a segfault with CD version.Johannes Schickel
svn-id: r19365
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-22Fixed a double loading of shape 10,Johannes Schickel
and corrected mouse cursor region backup. svn-id: r19242
2005-10-22Made the shape handling endian safe, also renamned some functions andJohannes Schickel
variables. (mostly the *Helper functions and decodeShape -> encodeShape) But kept mouse handling. svn-id: r19241
2005-10-22Implemented correct cursor handling.Johannes Schickel
svn-id: r19230
2005-10-18Commited patch # 1324980. Thanks to vinterstum.Johannes Schickel
svn-id: r19163
2005-10-18Some fixes:Johannes Schickel
- 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-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-13Committed patch #1325945 ( KYRA: md5 game detection ) with a few changesJohannes Schickel
and added the story picture in the intro. svn-id: r19068
2005-10-03committed patch #1312156 'Various sprite-related things'. Thanks Oystein ↵Gregory Montoir
Eftevaag/vinterstum svn-id: r18930
2005-09-10fixed line breaks ; cleanupGregory Montoir
svn-id: r18800
2005-09-09cleanupGregory Montoir
svn-id: r18799
2005-09-08some WIP code, moved Font stuff to Screen classGregory Montoir
svn-id: r18790
2005-09-02fix shape loading for cdrom versionGregory Montoir
svn-id: r18737
2005-09-02added special sequence opcode 8Gregory Montoir
svn-id: r18733
2005-08-31some WIP code, add drawShape()Gregory Montoir
svn-id: r18724
2005-08-30Fix compilation.Eugene Sandulenko
svn-id: r18716
2005-08-19correction in setTextColor()Gregory Montoir
svn-id: r18705
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