aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-05-28 10:52:22 +0000
committerFilippos Karapetis2010-05-28 10:52:22 +0000
commite694b66e4f8cb3bc60f8084c94aaccdc5405eab8 (patch)
tree767e5d0ec8777eefc4f78c2095f1fb34dd29799d /engines/sci
parent967d9ea308342cbfb3c99904b5d6f1a0a3cd7ba0 (diff)
downloadscummvm-rg350-e694b66e4f8cb3bc60f8084c94aaccdc5405eab8.tar.gz
scummvm-rg350-e694b66e4f8cb3bc60f8084c94aaccdc5405eab8.tar.bz2
scummvm-rg350-e694b66e4f8cb3bc60f8084c94aaccdc5405eab8.zip
Added comments to kMergePoly()
svn-id: r49289
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kpathing.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index 276d0df133..c36b7fbd28 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -1694,11 +1694,15 @@ reg_t kIntersections(EngineState *s, int argc, reg_t *argv) {
}
}
+// This is a quite rare kernel function. An example of when it's called
+// is in QFG1VGA, after killing any monster.
reg_t kMergePoly(EngineState *s, int argc, reg_t *argv) {
// 3 parameters: raw polygon data, polygon list, list size
reg_t polygonData = argv[0];
// TODO: actually merge the polygon
+ // In QFG1VGA, there are no immediately visible side-effects
+ // of this being a stub.
#if 0
List *list = s->_segMan->lookupList(argv[1]);