Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-08 | Do 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-08 | Fixed mistake with two inner loop caused by not clearing the path. | Robert Špalek | |
Also, optimize play() and stop() svn-id: r45746 | |||
2009-11-08 | Tuned 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-08 | Renumbered path segments. | Robert Špalek | |
Increasing _segment by 1 makes the code much simpler. svn-id: r45744 | |||
2009-11-08 | Walking animations are fully smooth now | Robert Špalek | |
svn-id: r45743 | |||
2009-11-08 | Debugged 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-07 | fixed rendering order | Vladimir Menshakov | |
svn-id: r45735 | |||
2009-11-07 | Fix some delays in Kyrandia 1 when clicking very often, while a sequence plays. | Johannes Schickel | |
svn-id: r45731 | |||
2009-11-07 | Access _keyMap a little different, so that no additional entries are ↵ | Johannes Schickel | |
created, when an unmapped key is pressed. svn-id: r45730 | |||
2009-11-07 | Formatting. | Johannes Schickel | |
svn-id: r45729 | |||
2009-11-07 | do not bail out from the waitAnimation event if restart frame requested. | Vladimir Menshakov | |
svn-id: r45728 | |||
2009-11-07 | Gradual 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-07 | skip intro only by escape | Vladimir Menshakov | |
svn-id: r45726 | |||
2009-11-07 | added waitForLanAnimationFrame() everywhere | Vladimir Menshakov | |
svn-id: r45725 | |||
2009-11-07 | implemented waiting for the particular frame in animation. | Vladimir Menshakov | |
svn-id: r45724 | |||
2009-11-07 | Debugged 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-07 | removed background bartender animation, played by mistake | Vladimir Menshakov | |
svn-id: r45720 | |||
2009-11-07 | added default delays for the messages | Vladimir Menshakov | |
svn-id: r45719 | |||
2009-11-07 | improved walking code | Vladimir Menshakov | |
svn-id: r45718 | |||
2009-11-07 | added actor position, orientation and dump() to hotspot struct | Vladimir Menshakov | |
svn-id: r45717 | |||
2009-11-07 | removed magic coordinates | Vladimir Menshakov | |
svn-id: r45716 | |||
2009-11-07 | "constify" dump and save methods, added intersects_hline/intersects_vline | Vladimir Menshakov | |
svn-id: r45715 | |||
2009-11-07 | Add 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-07 | The hero turns the right direction after walking | Robert Špalek | |
svn-id: r45713 | |||
2009-11-07 | Implemented 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-07 | Done research on ignored animation flags and commented the code | Robert Špalek | |
svn-id: r45711 | |||
2009-11-06 | Add 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-05 | Fixed 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-05 | Fixed compilation when INCLUDE_OLDGFX isn't defined | Filippos Karapetis | |
svn-id: r45689 | |||
2009-11-05 | Implemented proper walking. | Robert Špalek | |
First shot, not debugged yet, but seems to work (even though a bit hairy)! svn-id: r45688 | |||
2009-11-05 | Add fix from Tobias, for bobbing Bobbin in PCE version of Loom. | Travis Howell | |
svn-id: r45685 | |||
2009-11-05 | SCI/newgui: SciGuiMenu interactive keyboard support added (menu drawing ↵ | Martin Kiewitz | |
still missing) svn-id: r45684 | |||
2009-11-05 | SCI/newgui: kDisposeWindow - changed to reflect actual sierra sci behaviour | Martin Kiewitz | |
svn-id: r45683 | |||
2009-11-05 | SCI: Converted FreeSCI Amiga sound driver. Some cleanup. | Walter van Niftrik | |
svn-id: r45682 | |||
2009-11-05 | Added helper functions for dragon animations | Robert Špalek | |
svn-id: r45677 | |||
2009-11-05 | Moved the audio related command enums inside audio.h | Filippos Karapetis | |
svn-id: r45676 | |||
2009-11-04 | Brought back one old line, just to be sure. | Robert Špalek | |
svn-id: r45675 | |||
2009-11-04 | SCI/newgui: select() implemented (interactive modes not done yet) | Martin Kiewitz | |
svn-id: r45674 | |||
2009-11-04 | SCI/newgui: SciGuiMenu select() created, little cleanup | Martin Kiewitz | |
svn-id: r45673 | |||
2009-11-04 | Applied patch #2891232 - "SCI sfx: Let each SongIterator remap its own channels" | Filippos Karapetis | |
svn-id: r45672 | |||
2009-11-04 | SCI/newgui: SciGuiMenu - set()/get() implemented | Martin Kiewitz | |
svn-id: r45671 | |||
2009-11-04 | Applied patch #2891230 - "SCI sfx: fix song iterators from not getting freed" | Filippos Karapetis | |
svn-id: r45670 | |||
2009-11-04 | Fix CD Audio in JonesCD and add some comments. | Matthew Hoops | |
svn-id: r45669 | |||
2009-11-04 | Removed unused variables and placed some more old code inside INCLUDE_OLDGFX ↵ | Filippos Karapetis | |
defines svn-id: r45668 | |||
2009-11-04 | Cleanup | Filippos 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-04 | Reapplied the LSL1 casino workaround, which got disabled accidentally in ↵ | Filippos Karapetis | |
commit #45661 svn-id: r45665 | |||
2009-11-04 | Removed the reference to EngineState from the SciGuiGfx class | Filippos Karapetis | |
svn-id: r45664 | |||
2009-11-04 | SCI: forgot to adjust gui32 as well | Martin Kiewitz | |
svn-id: r45662 | |||
2009-11-04 | SCI/newgui: kGraph / InitPriority changed to reflect sci0 implementation, ↵ | Martin Kiewitz | |
also moved code svn-id: r45661 |