aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-05-07 05:06:22 +0000
committerFilippos Karapetis2007-05-07 05:06:22 +0000
commit3413dda0e9753703f58e51cff07b3220bd3b56cd (patch)
treec543960c0455d5507b14ca1cd2ad7de5ee478ac4 /engines
parent3ad8770f964277e4bfdd356a641aabfec4199e77 (diff)
downloadscummvm-rg350-3413dda0e9753703f58e51cff07b3220bd3b56cd.tar.gz
scummvm-rg350-3413dda0e9753703f58e51cff07b3220bd3b56cd.tar.bz2
scummvm-rg350-3413dda0e9753703f58e51cff07b3220bd3b56cd.zip
Fixed some comments
svn-id: r26771
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/checks.cpp2
-rw-r--r--engines/agi/cycle.cpp2
-rw-r--r--engines/agi/logic.cpp3
-rw-r--r--engines/agi/op_cmd.cpp4
-rw-r--r--engines/agi/sprite.cpp14
-rw-r--r--engines/agi/view.cpp2
6 files changed, 13 insertions, 14 deletions
diff --git a/engines/agi/checks.cpp b/engines/agi/checks.cpp
index c01505a99b..d721d844e2 100644
--- a/engines/agi/checks.cpp
+++ b/engines/agi/checks.cpp
@@ -213,7 +213,7 @@ void AgiEngine::updatePosition() {
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 */
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 85599a236d..6e485eb92a 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -252,7 +252,7 @@ process_key:
goto process_key;
}
- /* commented out to close bug #438872
+ /* commented out to close Sarien bug #438872
* if (key) game.keypress = key;
*/
}
diff --git a/engines/agi/logic.cpp b/engines/agi/logic.cpp
index 21a560427e..04052df682 100644
--- a/engines/agi/logic.cpp
+++ b/engines/agi/logic.cpp
@@ -83,8 +83,7 @@ int AgiEngine::decodeLogic(int n) {
_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;
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index a57238c198..0011f40d00 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -1074,7 +1074,7 @@ cmd(get_string) {
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(echo_line) {
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);
diff --git a/engines/agi/sprite.cpp b/engines/agi/sprite.cpp
index 8392969def..f2b4b24148 100644
--- a/engines/agi/sprite.cpp
+++ b/engines/agi/sprite.cpp
@@ -90,7 +90,7 @@ void SpritesMgr::blitPixel(uint8 *p, uint8 *end, uint8 col, int spr, int width,
/* 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 @@ void SpritesMgr::blitPixel(uint8 *p, uint8 *end, uint8 col, int spr, int width,
*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 SpritesMgr::blitCel(int x, int y, int spr, ViewCel *c) {
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 @@ void SpritesMgr::objsRestoreArea(Sprite *s) {
* 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 @@ bool SpritesMgr::testUpdating(VtEntry *v, AgiEngine *agi) {
* 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 @@ void SpritesMgr::addToPic(int view, int loop, int cel, int x, int y, int pri, in
/*
* 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 @@ void SpritesMgr::addToPic(int view, int loop, int cel, int x, int y, int pri, in
*/
y3 = (y2 / 12) * 12;
- // SQ1 needs +1 (see bug #810331)
+ // SQ1 needs +1 (see Sarien bug #810331)
if (_vm->getGameID() == GID_SQ1)
y3++;
diff --git a/engines/agi/view.cpp b/engines/agi/view.cpp
index 6dfed13142..80140c91f3 100644
--- a/engines/agi/view.cpp
+++ b/engines/agi/view.cpp
@@ -216,7 +216,7 @@ void AgiEngine::unloadView(int n) {
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();