[Scummvm-cvs-logs] SF.net SVN: scummvm: [26081] scummvm/trunk/engines/parallaction/location. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Mar 11 12:11:14 CET 2007


Revision: 26081
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26081&view=rev
Author:   peres001
Date:     2007-03-11 04:11:05 -0700 (Sun, 11 Mar 2007)

Log Message:
-----------
added comment to changeLocation

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/location.cpp

Modified: scummvm/trunk/engines/parallaction/location.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/location.cpp	2007-03-11 10:50:52 UTC (rev 26080)
+++ scummvm/trunk/engines/parallaction/location.cpp	2007-03-11 11:11:05 UTC (rev 26081)
@@ -279,7 +279,24 @@
 extern Job     *_jDrawLabel;
 extern Job     *_jEraseLabel;
 
+/*
+	changeLocation handles transitions between locations, and is able to display slides
+	between one and the other. The input parameter 'location' exists in some flavours:
 
+    1 - [S].slide.[L]{.[C]}
+	2 - [L]{.[C]}
+
+    where:
+
+	[S] is the slide to be shown
+    [L] is the location to switch to (immediately in case 2, or right after slide [S] in case 1)
+    [C] is the character to be selected, and is optional
+
+    The routine tells one form from the other by searching for the '.slide.'
+
+    NOTE: there exists one script in which [L] is not used in the case 1, but its use
+		  is commented out, and would definitely crash the current implementation.
+*/
 void Parallaction::changeLocation(char *location) {
 	debugC(1, kDebugLocation, "changeLocation to '%s'", location);
 


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