Robert Špalek
bea00d86cb
Tuned Z-coordinate of the dragon.
...
Adding +1 made the dragon sometimes flip before an object when it should
have been behind.
svn-id: r45745
2009-11-08 05:47:39 +00:00
Robert Špalek
0640b5e402
Renumbered path segments.
...
Increasing _segment by 1 makes the code much simpler.
svn-id: r45744
2009-11-08 05:44:50 +00:00
Robert Špalek
57b22e3688
Walking animations are fully smooth now
...
svn-id: r45743
2009-11-08 05:29:12 +00:00
Robert Špalek
354d7f6366
Debugged smooth walking except for 1 bug.
...
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-08 03:16:22 +00:00
Vladimir Menshakov
286e71fdcf
fixed rendering order
...
svn-id: r45735
2009-11-07 22:23:41 +00:00
Johannes Schickel
c2a5b3feea
Fix some delays in Kyrandia 1 when clicking very often, while a sequence plays.
...
svn-id: r45731
2009-11-07 15:06:49 +00:00
Johannes Schickel
0d79ace422
Access _keyMap a little different, so that no additional entries are created, when an unmapped key is pressed.
...
svn-id: r45730
2009-11-07 15:06:25 +00:00
Johannes Schickel
373b5d1013
Formatting.
...
svn-id: r45729
2009-11-07 15:06:03 +00:00
Vladimir Menshakov
404b209999
do not bail out from the waitAnimation event if restart frame requested.
...
svn-id: r45728
2009-11-07 12:33:59 +00:00
Robert Špalek
9f1a756576
Gradual walking implemented.
...
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 12:20:27 +00:00
Vladimir Menshakov
72157e1077
skip intro only by escape
...
svn-id: r45726
2009-11-07 12:05:59 +00:00
Vladimir Menshakov
b92c5ea757
added waitForLanAnimationFrame() everywhere
...
svn-id: r45725
2009-11-07 12:01:45 +00:00
Vladimir Menshakov
f3f382ba37
implemented waiting for the particular frame in animation.
...
svn-id: r45724
2009-11-07 12:00:56 +00:00
Robert Špalek
0b67aa406e
Debugged updating the position of the hero during walking.
...
I project the hero immediately to the end of each edge for the time being
though.
svn-id: r45722
2009-11-07 11:45:13 +00:00
Vladimir Menshakov
db58f6b998
removed background bartender animation, played by mistake
...
svn-id: r45720
2009-11-07 09:52:05 +00:00
Vladimir Menshakov
5a22a25592
added default delays for the messages
...
svn-id: r45719
2009-11-07 09:40:11 +00:00
Vladimir Menshakov
71eae24902
improved walking code
...
svn-id: r45718
2009-11-07 09:19:49 +00:00
Vladimir Menshakov
a826c483b9
added actor position, orientation and dump() to hotspot struct
...
svn-id: r45717
2009-11-07 09:18:30 +00:00
Vladimir Menshakov
ac1f49d7c9
removed magic coordinates
...
svn-id: r45716
2009-11-07 09:16:00 +00:00
Vladimir Menshakov
aaeafde325
"constify" dump and save methods, added intersects_hline/intersects_vline
...
svn-id: r45715
2009-11-07 08:35:24 +00:00
Robert Špalek
f534c12289
Add helper functions to retrieve dragon position from the animation.
...
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 04:56:28 +00:00
Robert Špalek
638305fcbb
The hero turns the right direction after walking
...
svn-id: r45713
2009-11-07 01:54:47 +00:00
Robert Špalek
357d9989d4
Implemented relative animations.
...
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 01:28:27 +00:00
Robert Špalek
fdad4e7b54
Done research on ignored animation flags and commented the code
...
svn-id: r45711
2009-11-07 00:36:23 +00:00
Eugene Sandulenko
c65eefbdf7
Set date for release 1.0.0
...
svn-id: r45709
2009-11-07 00:06:46 +00:00
Travis Howell
bd2b6f396f
Correct a few items.
...
svn-id: r45702
2009-11-06 23:02:09 +00:00
Matthew Hoops
060d671089
Sync with the NEWS file in the 1.0.0 branch.
...
svn-id: r45700
2009-11-06 19:47:32 +00:00
Johannes Schickel
d66e284bde
Commit digitall's patch for bugs #2892510 and #2892510 with an additional comment.
...
svn-id: r45697
2009-11-06 17:21:43 +00:00
Robert Špalek
881bf37554
Add safe-guard against collision of animation IDs.
...
When debugging another issue, I preloaded all animations, and horrible things
happened that I debugged for a few hours.
svn-id: r45695
2009-11-06 16:48:37 +00:00
Kostas Nakos
10d1288c72
update readme for release
...
svn-id: r45691
2009-11-06 07:49:25 +00:00
Robert Špalek
73cf7a55fc
Fixed several gross walking bugs.
...
- 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 23:59:26 +00:00
Filippos Karapetis
45aa06a83f
Fixed compilation when INCLUDE_OLDGFX isn't defined
...
svn-id: r45689
2009-11-05 21:09:46 +00:00
Robert Špalek
f8a19bb4a9
Implemented proper walking.
...
First shot, not debugged yet, but seems to work (even though a bit hairy)!
svn-id: r45688
2009-11-05 14:22:39 +00:00
John Willis
455f27f056
GP2XWiz: Tweak configure to ensure that the correct ABI is used for the ASFLAGS and enable Virtual Keyboard.
...
svn-id: r45686
2009-11-05 13:47:17 +00:00
Travis Howell
25025f58f0
Add fix from Tobias, for bobbing Bobbin in PCE version of Loom.
...
svn-id: r45685
2009-11-05 11:40:33 +00:00
Martin Kiewitz
0b8a2ff617
SCI/newgui: SciGuiMenu interactive keyboard support added (menu drawing still missing)
...
svn-id: r45684
2009-11-05 07:28:44 +00:00
Martin Kiewitz
b64afbdac0
SCI/newgui: kDisposeWindow - changed to reflect actual sierra sci behaviour
...
svn-id: r45683
2009-11-05 07:27:36 +00:00
Walter van Niftrik
20a3c484d5
SCI: Converted FreeSCI Amiga sound driver. Some cleanup.
...
svn-id: r45682
2009-11-05 01:35:43 +00:00
Travis Howell
c720c4b24d
Correct bugs listed under incorrect game engine.
...
svn-id: r45681
2009-11-05 00:41:32 +00:00
Travis Howell
9b7e6aed7c
Clarify demo fix.
...
svn-id: r45678
2009-11-05 00:32:54 +00:00
Robert Špalek
fc2e2e27fc
Added helper functions for dragon animations
...
svn-id: r45677
2009-11-05 00:21:54 +00:00
Filippos Karapetis
1f49679db5
Moved the audio related command enums inside audio.h
...
svn-id: r45676
2009-11-05 00:04:53 +00:00
Robert Špalek
90eba9310a
Brought back one old line, just to be sure.
...
svn-id: r45675
2009-11-04 22:54:14 +00:00
Martin Kiewitz
14447f7e01
SCI/newgui: select() implemented (interactive modes not done yet)
...
svn-id: r45674
2009-11-04 21:03:57 +00:00
Martin Kiewitz
c975c288ee
SCI/newgui: SciGuiMenu select() created, little cleanup
...
svn-id: r45673
2009-11-04 16:16:55 +00:00
Filippos Karapetis
5910e32b36
Applied patch #2891232 - "SCI sfx: Let each SongIterator remap its own channels"
...
svn-id: r45672
2009-11-04 16:11:46 +00:00
Martin Kiewitz
a53fda32bb
SCI/newgui: SciGuiMenu - set()/get() implemented
...
svn-id: r45671
2009-11-04 16:11:44 +00:00
Filippos Karapetis
6ea1cf7376
Applied patch #2891230 - "SCI sfx: fix song iterators from not getting freed"
...
svn-id: r45670
2009-11-04 15:51:50 +00:00
Matthew Hoops
d2b76368e1
Fix CD Audio in JonesCD and add some comments.
...
svn-id: r45669
2009-11-04 15:41:40 +00:00
Filippos Karapetis
5daca46946
Removed unused variables and placed some more old code inside INCLUDE_OLDGFX defines
...
svn-id: r45668
2009-11-04 15:32:25 +00:00