aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting/sidefx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/scripting/sidefx')
-rw-r--r--engines/zvision/scripting/sidefx/animation_node.cpp3
-rw-r--r--engines/zvision/scripting/sidefx/animation_node.h1
-rw-r--r--engines/zvision/scripting/sidefx/distort_node.cpp4
-rw-r--r--engines/zvision/scripting/sidefx/music_node.cpp2
-rw-r--r--engines/zvision/scripting/sidefx/syncsound_node.cpp1
-rw-r--r--engines/zvision/scripting/sidefx/timer_node.cpp1
-rw-r--r--engines/zvision/scripting/sidefx/ttytext_node.cpp1
7 files changed, 0 insertions, 13 deletions
diff --git a/engines/zvision/scripting/sidefx/animation_node.cpp b/engines/zvision/scripting/sidefx/animation_node.cpp
index 98ac4e3b37..549aacba7f 100644
--- a/engines/zvision/scripting/sidefx/animation_node.cpp
+++ b/engines/zvision/scripting/sidefx/animation_node.cpp
@@ -31,7 +31,6 @@
#include "graphics/surface.h"
-
namespace ZVision {
AnimationNode::AnimationNode(ZVision *engine, uint32 controlKey, const Common::String &fileName, int32 mask, int32 frate, bool DisposeAfterUse)
@@ -154,8 +153,6 @@ bool AnimationNode::process(uint32 deltaTimeInMillis) {
return false;
}
-
-
void AnimationNode::addPlayNode(int32 slot, int x, int y, int x2, int y2, int startFrame, int endFrame, int loops) {
playnode nod;
nod.loop = loops;
diff --git a/engines/zvision/scripting/sidefx/animation_node.h b/engines/zvision/scripting/sidefx/animation_node.h
index dab3d88d80..94428d2542 100644
--- a/engines/zvision/scripting/sidefx/animation_node.h
+++ b/engines/zvision/scripting/sidefx/animation_node.h
@@ -27,7 +27,6 @@
#include "common/rect.h"
#include "common/list.h"
-
namespace Common {
class String;
}
diff --git a/engines/zvision/scripting/sidefx/distort_node.cpp b/engines/zvision/scripting/sidefx/distort_node.cpp
index 9be6b29413..0d5c8b1ed5 100644
--- a/engines/zvision/scripting/sidefx/distort_node.cpp
+++ b/engines/zvision/scripting/sidefx/distort_node.cpp
@@ -31,7 +31,6 @@
#include "common/stream.h"
-
namespace ZVision {
DistortNode::DistortNode(ZVision *engine, uint32 key, int16 speed, float startAngle, float endAngle, float startLineScale, float endLineScale)
@@ -83,8 +82,6 @@ bool DistortNode::process(uint32 deltaTimeInMillis) {
}
float diff = (1.0 / (5.0 - (_curFrame * _frmSpeed))) / (5.0 - _frmSpeed);
-
-
setParams(_startAngle + diff * _diffAngle, _startLineScale + diff * _diffLinScale);
return false;
@@ -105,5 +102,4 @@ void DistortNode::setParams(float angl, float linScale) {
}
}
-
} // End of namespace ZVision
diff --git a/engines/zvision/scripting/sidefx/music_node.cpp b/engines/zvision/scripting/sidefx/music_node.cpp
index b1e16e71ef..a76d3b4e8d 100644
--- a/engines/zvision/scripting/sidefx/music_node.cpp
+++ b/engines/zvision/scripting/sidefx/music_node.cpp
@@ -34,7 +34,6 @@
#include "common/file.h"
#include "audio/decoders/wave.h"
-
namespace ZVision {
MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool loop, int8 volume)
@@ -188,7 +187,6 @@ PanTrackNode::~PanTrackNode() {
}
}
-
MusicMidiNode::MusicMidiNode(ZVision *engine, uint32 key, int8 program, int8 note, int8 volume)
: MusicNodeBASE(engine, key, SIDEFX_AUDIO) {
_volume = volume;
diff --git a/engines/zvision/scripting/sidefx/syncsound_node.cpp b/engines/zvision/scripting/sidefx/syncsound_node.cpp
index 39542675eb..c1f139694b 100644
--- a/engines/zvision/scripting/sidefx/syncsound_node.cpp
+++ b/engines/zvision/scripting/sidefx/syncsound_node.cpp
@@ -33,7 +33,6 @@
#include "common/file.h"
#include "audio/decoders/wave.h"
-
namespace ZVision {
SyncSoundNode::SyncSoundNode(ZVision *engine, uint32 key, Common::String &filename, int32 syncto)
diff --git a/engines/zvision/scripting/sidefx/timer_node.cpp b/engines/zvision/scripting/sidefx/timer_node.cpp
index 6e71101acd..abf2c90b04 100644
--- a/engines/zvision/scripting/sidefx/timer_node.cpp
+++ b/engines/zvision/scripting/sidefx/timer_node.cpp
@@ -29,7 +29,6 @@
#include "common/stream.h"
-
namespace ZVision {
TimerNode::TimerNode(ZVision *engine, uint32 key, uint timeInSeconds)
diff --git a/engines/zvision/scripting/sidefx/ttytext_node.cpp b/engines/zvision/scripting/sidefx/ttytext_node.cpp
index 68636eb422..1fb7c10792 100644
--- a/engines/zvision/scripting/sidefx/ttytext_node.cpp
+++ b/engines/zvision/scripting/sidefx/ttytext_node.cpp
@@ -32,7 +32,6 @@
#include "common/stream.h"
#include "common/file.h"
-
namespace ZVision {
ttyTextNode::ttyTextNode(ZVision *engine, uint32 key, const Common::String &file, const Common::Rect &r, int32 delay) :