[Scummvm-cvs-logs] SF.net SVN: scummvm: [26771] scummvm/trunk/engines/agi

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon May 7 07:06:23 CEST 2007


Revision: 26771
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26771&view=rev
Author:   thebluegr
Date:     2007-05-06 22:06:22 -0700 (Sun, 06 May 2007)

Log Message:
-----------
Fixed some comments

Modified Paths:
--------------
    scummvm/trunk/engines/agi/checks.cpp
    scummvm/trunk/engines/agi/cycle.cpp
    scummvm/trunk/engines/agi/logic.cpp
    scummvm/trunk/engines/agi/op_cmd.cpp
    scummvm/trunk/engines/agi/sprite.cpp
    scummvm/trunk/engines/agi/view.cpp

Modified: scummvm/trunk/engines/agi/checks.cpp
===================================================================
--- scummvm/trunk/engines/agi/checks.cpp	2007-05-07 03:40:37 UTC (rev 26770)
+++ scummvm/trunk/engines/agi/checks.cpp	2007-05-07 05:06:22 UTC (rev 26771)
@@ -213,7 +213,7 @@
 			x = 0;
 			border = 4;
 		} else if (x <= 0 && agiGetRelease() == 0x3086) {	/* KQ4 */
-			x = 0;	/* See bug #590462 */
+			x = 0;	/* See Sarien bug #590462 */
 			border = 4;
 		} else if (v->entry == 0 && x == 0 && v->flags & ADJ_EGO_XY) {
 			/* Extra test to walk west clicking the mouse */

Modified: scummvm/trunk/engines/agi/cycle.cpp
===================================================================
--- scummvm/trunk/engines/agi/cycle.cpp	2007-05-07 03:40:37 UTC (rev 26770)
+++ scummvm/trunk/engines/agi/cycle.cpp	2007-05-07 05:06:22 UTC (rev 26771)
@@ -252,7 +252,7 @@
 				goto process_key;
 			}
 
-			/* commented out to close bug #438872
+			/* commented out to close Sarien bug #438872
 			 * if (key) game.keypress = key;
 			 */
 		}

Modified: scummvm/trunk/engines/agi/logic.cpp
===================================================================
--- scummvm/trunk/engines/agi/logic.cpp	2007-05-07 03:40:37 UTC (rev 26770)
+++ scummvm/trunk/engines/agi/logic.cpp	2007-05-07 05:06:22 UTC (rev 26771)
@@ -83,8 +83,7 @@
 		_game.dirLogic[n].flags |= RES_LOADED;
 	} else {
 		/* unload data
-		 * blah DF YA WANKER!!@!@# frag. i'm so dumb. not every logic
-		 * has text
+		 * Note that not every logic has text
 		 */
 		free(_game.logics[n].data);
 		ec = errNotEnoughMemory;

Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp	2007-05-07 03:40:37 UTC (rev 26770)
+++ scummvm/trunk/engines/agi/op_cmd.cpp	2007-05-07 05:06:22 UTC (rev 26771)
@@ -1074,7 +1074,7 @@
 	col = p3;
 
 	/* Workaround for SQLC bug.
-	 * See bug #792125 for details
+	 * See Sarien bug #792125 for details
 	 */
 	if (row > 24)
 		row = 24;
@@ -1195,7 +1195,7 @@
 cmd(clear_lines) {
 	uint8 l;
 
-	/* Residence 44 calls clear.lines(24,0,0), see bug #558423 */
+	/* Residence 44 calls clear.lines(24,0,0), see Sarien bug #558423 */
 	l = p1 ? p1 : p0;
 
 	g_agi->clearLines(p0, l, p2);

Modified: scummvm/trunk/engines/agi/sprite.cpp
===================================================================
--- scummvm/trunk/engines/agi/sprite.cpp	2007-05-07 03:40:37 UTC (rev 26770)
+++ scummvm/trunk/engines/agi/sprite.cpp	2007-05-07 05:06:22 UTC (rev 26771)
@@ -90,7 +90,7 @@
 
 	/* CM: priority 15 overrides control lines and is ignored when
 	 *     tracking effective priority. This tweak is needed to fix
-	 *     bug #451768, and should not affect Sierra games because
+	 *     Sarien bug #451768, and should not affect Sierra games because
 	 *     sprites shouldn't have priority 15 (like the AGI Mouse
 	 *     demo "mouse pointer")
 	 *
@@ -120,7 +120,7 @@
 		*hidden = false;
 
 		/* Except if our priority is 15, which should never happen
-		 * (fixes bug #451768)
+		 * (fixes Sarien bug #451768)
 		 *
 		 * Update: breaks other games, can't be used
 		 *
@@ -136,7 +136,7 @@
 	int i, j, t, m, col;
 	int hidden = true;
 
-	/* Fixes bug #477841 (crash in PQ1 map C4 when y == -2) */
+	/* Fixes Sarien bug #477841 (crash in PQ1 map C4 when y == -2) */
 	if (y < 0)
 		y = 0;
 	if (x < 0)
@@ -247,7 +247,7 @@
  * Condition to determine whether a sprite will be in the 'updating' list.
  */
 bool SpritesMgr::testUpdating(VtEntry *v, AgiEngine *agi) {
-	/* Sanity check (see bug #779302) */
+	/* Sanity check (see Sarien bug #779302) */
 	if (~agi->_game.dirView[v->currentView].flags & RES_LOADED)
 		return false;
 
@@ -258,7 +258,7 @@
  * Condition to determine whether a sprite will be in the 'non-updating' list.
  */
 bool SpritesMgr::testNotUpdating(VtEntry *v, AgiEngine *vm) {
-	/* Sanity check (see bug #779302) */
+	/* Sanity check (see Sarien bug #779302) */
 	if (~vm->_game.dirView[v->currentView].flags & RES_LOADED)
 		return false;
 
@@ -580,7 +580,7 @@
 
 	/*
 	 * Was hardcoded to 8, changed to pri_table[y] to fix Gold
-	 * Rush (see bug #587558)
+	 * Rush (see Sarien bug #587558)
 	 */
 	if (pri == 0)
 		pri = _vm->_game.priTable[y];
@@ -621,7 +621,7 @@
 		 */
 		y3 = (y2 / 12) * 12;
 
-		// SQ1 needs +1 (see bug #810331)
+		// SQ1 needs +1 (see Sarien bug #810331)
 		if (_vm->getGameID() == GID_SQ1)
 			y3++;
 

Modified: scummvm/trunk/engines/agi/view.cpp
===================================================================
--- scummvm/trunk/engines/agi/view.cpp	2007-05-07 03:40:37 UTC (rev 26770)
+++ scummvm/trunk/engines/agi/view.cpp	2007-05-07 05:06:22 UTC (rev 26771)
@@ -216,7 +216,7 @@
 	if (~_game.dirView[n].flags & RES_LOADED)
 		return;
 
-	/* Rebuild sprite list, see bug #779302 */
+	/* Rebuild sprite list, see Sarien bug #779302 */
 	_sprites->eraseBoth();
 	_sprites->blitBoth();
 	_sprites->commitBoth();


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