[Scummvm-cvs-logs] SF.net SVN: scummvm:[46342] scummvm/trunk/engines/teenagent/scene.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Sat Dec 12 14:12:30 CET 2009
Revision: 46342
http://scummvm.svn.sourceforge.net/scummvm/?rev=46342&view=rev
Author: megath
Date: 2009-12-12 13:12:30 +0000 (Sat, 12 Dec 2009)
Log Message:
-----------
moved 'on' surfaces rendering into mark's code
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/scene.cpp
Modified: scummvm/trunk/engines/teenagent/scene.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/scene.cpp 2009-12-12 13:05:55 UTC (rev 46341)
+++ scummvm/trunk/engines/teenagent/scene.cpp 2009-12-12 13:12:30 UTC (rev 46342)
@@ -632,6 +632,11 @@
(ABS(dp.x) < speed_x? dp.x: SIGN(dp.x) * speed_x);
actor_animation_position = teenagent.render(surface, position, o, 1, false, zoom);
+ //render on
+ if (debug_features.feature[DebugFeatures::kShowOn]) {
+ on.render(surface, actor_animation_position);
+ }
+
if (position == destination) {
path.pop_front();
if (path.empty()) {
@@ -644,16 +649,16 @@
busy = true;
} else
busy = true;
- } else
+ } else {
actor_animation_position = teenagent.render(surface, position, orientation, 0, actor_talking, zoom);
+ //render on
+ if (debug_features.feature[DebugFeatures::kShowOn]) {
+ on.render(surface, actor_animation_position);
+ }
+ }
}
}
- //render on
- if (debug_features.feature[DebugFeatures::kShowOn]) {
- on.render(surface, actor_animation_position);
- }
-
if (!message.empty()) {
bool visible = true;
if (message_first_frame != 0 && message_animation != NULL) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list