aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/vga13h.cpp
diff options
context:
space:
mode:
authoruruk2014-06-13 16:13:36 +0200
committeruruk2014-06-13 16:13:36 +0200
commit95c844a0351d8865aa5190bb5572dff23b8886fd (patch)
tree0554cfaea9b4ba16ff3784c3e1a154a253a235fa /engines/cge2/vga13h.cpp
parent6ac5e2cfcfa3e13b3eb93c88790c7babcb7af6d2 (diff)
downloadscummvm-rg350-95c844a0351d8865aa5190bb5572dff23b8886fd.tar.gz
scummvm-rg350-95c844a0351d8865aa5190bb5572dff23b8886fd.tar.bz2
scummvm-rg350-95c844a0351d8865aa5190bb5572dff23b8886fd.zip
CGE2: Implement snKill().
Add and implement Sprite::setCave() during the process.
Diffstat (limited to 'engines/cge2/vga13h.cpp')
-rw-r--r--engines/cge2/vga13h.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index e59e82579e..28f738c6c7 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -516,6 +516,10 @@ void Sprite::tick() {
step();
}
+void Sprite::setCave(int c) {
+ _scene = c;
+}
+
void Sprite::gotoxyz(int x, int y, int z) {
gotoxyz(V3D(x, y, z));
}