aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-11-08Do not immediately clear the path when it has just 1 vertex.Robert Špalek
This fixes the previous bugfix, which causes that I could not re-run the same program (e.g., by repeatedly clicking on the hollow tree) if the hero did not move at least one pixel. svn-id: r45747
2009-11-08Fixed mistake with two inner loop caused by not clearing the path.Robert Špalek
Also, optimize play() and stop() svn-id: r45746
2009-11-08Tuned Z-coordinate of the dragon.Robert Špalek
Adding +1 made the dragon sometimes flip before an object when it should have been behind. svn-id: r45745
2009-11-08Renumbered path segments.Robert Špalek
Increasing _segment by 1 makes the code much simpler. svn-id: r45744
2009-11-08Walking animations are fully smooth nowRobert Špalek
svn-id: r45743
2009-11-08Debugged smooth walking except for 1 bug.Robert Špalek
Adjusting to the edge is done such that it respects slight sideways movements of the dragon. Fixed rounding issues in the whole game. Improved debug messages. Made sure that the dragon does not turn like crazy around when clicking on the same pixel: the final point is always the clicked one although the middle points made by shifted to make the animations smooth, and preserve the dragons direction if he has not walked. There is a bug with running turning animations as they seem to disappear for 1 frame and have incorrect Z coordinate. Will investigate it next. svn-id: r45742
2009-11-07fixed rendering orderVladimir Menshakov
svn-id: r45735
2009-11-07Fix some delays in Kyrandia 1 when clicking very often, while a sequence plays.Johannes Schickel
svn-id: r45731
2009-11-07Access _keyMap a little different, so that no additional entries are ↵Johannes Schickel
created, when an unmapped key is pressed. svn-id: r45730
2009-11-07Formatting.Johannes Schickel
svn-id: r45729
2009-11-07do not bail out from the waitAnimation event if restart frame requested.Vladimir Menshakov
svn-id: r45728
2009-11-07Gradual walking implemented.Robert Špalek
It is not fully smooth yet due to rounding errors. However, it otherwise does what it is supposed to including perspective correction. svn-id: r45727
2009-11-07skip intro only by escapeVladimir Menshakov
svn-id: r45726
2009-11-07added waitForLanAnimationFrame() everywhereVladimir Menshakov
svn-id: r45725
2009-11-07implemented waiting for the particular frame in animation.Vladimir Menshakov
svn-id: r45724
2009-11-07Debugged updating the position of the hero during walking.Robert Špalek
I project the hero immediately to the end of each edge for the time being though. svn-id: r45722
2009-11-07removed background bartender animation, played by mistakeVladimir Menshakov
svn-id: r45720
2009-11-07added default delays for the messagesVladimir Menshakov
svn-id: r45719
2009-11-07improved walking codeVladimir Menshakov
svn-id: r45718
2009-11-07added actor position, orientation and dump() to hotspot structVladimir Menshakov
svn-id: r45717
2009-11-07removed magic coordinatesVladimir Menshakov
svn-id: r45716
2009-11-07"constify" dump and save methods, added intersects_hline/intersects_vlineVladimir Menshakov
svn-id: r45715
2009-11-07Add helper functions to retrieve dragon position from the animation.Robert Špalek
To implement proper walking, I have to respect the relative shifts defined by the sprites as opposed to apply some constant velocity. svn-id: r45714
2009-11-07The hero turns the right direction after walkingRobert Špalek
svn-id: r45713
2009-11-07Implemented relative animations.Robert Špalek
In these animations, each sprite can specify a relative shift with respect to the previous sprite. Moving animations (such as walking of the dragon) are easily described in this framework. I have sort of hacked their support and it seems to work. The current walking code does not interact with the new code yet, but it will be easy to do. svn-id: r45712
2009-11-07Done research on ignored animation flags and commented the codeRobert Špalek
svn-id: r45711
2009-11-06Add safe-guard against collision of animation IDs.Robert Špalek
When debugging another issue, I preloaded all animations, and horrible things happened that I debugged for a few hours. svn-id: r45695
2009-11-05Fixed several gross walking bugs.Robert Špalek
- SIGSEGV by not stopping walking when changing rooms - reset of the mouse cursor and object title during gate scripts - updating the previous animation phase, also when starting new animation - swapped up and down animations svn-id: r45690
2009-11-05Fixed compilation when INCLUDE_OLDGFX isn't definedFilippos Karapetis
svn-id: r45689
2009-11-05Implemented proper walking.Robert Špalek
First shot, not debugged yet, but seems to work (even though a bit hairy)! svn-id: r45688
2009-11-05Add fix from Tobias, for bobbing Bobbin in PCE version of Loom.Travis Howell
svn-id: r45685
2009-11-05SCI/newgui: SciGuiMenu interactive keyboard support added (menu drawing ↵Martin Kiewitz
still missing) svn-id: r45684
2009-11-05SCI/newgui: kDisposeWindow - changed to reflect actual sierra sci behaviourMartin Kiewitz
svn-id: r45683
2009-11-05SCI: Converted FreeSCI Amiga sound driver. Some cleanup.Walter van Niftrik
svn-id: r45682
2009-11-05Added helper functions for dragon animationsRobert Špalek
svn-id: r45677
2009-11-05Moved the audio related command enums inside audio.hFilippos Karapetis
svn-id: r45676
2009-11-04Brought back one old line, just to be sure.Robert Špalek
svn-id: r45675
2009-11-04SCI/newgui: select() implemented (interactive modes not done yet)Martin Kiewitz
svn-id: r45674
2009-11-04SCI/newgui: SciGuiMenu select() created, little cleanupMartin Kiewitz
svn-id: r45673
2009-11-04Applied patch #2891232 - "SCI sfx: Let each SongIterator remap its own channels"Filippos Karapetis
svn-id: r45672
2009-11-04SCI/newgui: SciGuiMenu - set()/get() implementedMartin Kiewitz
svn-id: r45671
2009-11-04Applied patch #2891230 - "SCI sfx: fix song iterators from not getting freed"Filippos Karapetis
svn-id: r45670
2009-11-04Fix CD Audio in JonesCD and add some comments.Matthew Hoops
svn-id: r45669
2009-11-04Removed unused variables and placed some more old code inside INCLUDE_OLDGFX ↵Filippos Karapetis
defines svn-id: r45668
2009-11-04CleanupFilippos Karapetis
svn-id: r45667
2009-11-04- Changed the segment manager to be a static part of the engine, and stopped ↵Filippos Karapetis
deleting and recreating it when restoring games - Merged game_exit(), script_free_vm_memory() and script_free_engine() - Cleanup svn-id: r45666
2009-11-04Reapplied the LSL1 casino workaround, which got disabled accidentally in ↵Filippos Karapetis
commit #45661 svn-id: r45665
2009-11-04Removed the reference to EngineState from the SciGuiGfx classFilippos Karapetis
svn-id: r45664
2009-11-04SCI: forgot to adjust gui32 as wellMartin Kiewitz
svn-id: r45662
2009-11-04SCI/newgui: kGraph / InitPriority changed to reflect sci0 implementation, ↵Martin Kiewitz
also moved code svn-id: r45661