From e694b66e4f8cb3bc60f8084c94aaccdc5405eab8 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 28 May 2010 10:52:22 +0000 Subject: Added comments to kMergePoly() svn-id: r49289 --- engines/sci/engine/kpathing.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sci') 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]); -- cgit v1.2.3