Opened 12 years ago

Closed 12 years ago

#6219 closed defect (invalid)

AGI FANMADE: conflicting variables and game slowed down

Reported by: SF/f100101ff Owned by: SF/buddha_
Priority: normal Component: Engine: AGI
Version: Keywords: script
Cc: Game: AGI Fanmade

Description

ScummVM 1.5.0 - Windows 7 I\'m going through the fanmade game \'Hank\'s Quest: Victim of Society\" at the moment and I came across the following 2 issues: 1. The following variables seem to be assigned/in use somehow by ScummVM (or at least given a value when the game starts, even when I set the values to something different): v26, v28 & v29. This only happens in Scumm and not in NAGI or any other interperter. 2. Having have.key() during a loop (the command that waits for the player to press any key during a cutscene (e.g.)) slows the game down considerably. It seems like the game speed is slowed down by 1 step (this is controlled with the variable v10), but this might be just the game itself slowing down. Thanks in advance.

Ticket imported from: #3599483. Ticket imported from: bugs/6219.

Change History (5)

comment:1 by SF/buddha_, 12 years ago

About the use of variables v26-v29 by ScummVM:

Variables 0-26 are reserved for internal use by the AGI engine, see: http://wiki.scummvm.org/index.php/AGI/Specifications/Internals#How_the_interpreter_works

v26 is used for the monitor type (e.g. Hercules, CGA, EGA), see http://wiki.scummvm.org/index.php/AGI/Specifications/Internals#tab-reserved-variables and http://wiki.scummvm.org/index.php/AGI/Specifications/Internals#tab-monitor-types

v27-v29 are used by AGI Mouse extension: - v27: Button pressed (0=none, 1=left, 2=right, 3=middle). - v28: The X position of the mouse. - v29: The Y position of the mouse. See http://www.agidev.com/articles/a.php?id=25

comment:2 by SF/buddha_, 12 years ago

And f100101ff, please submit only one bug per bug report in the future, it's easier that way for the developers (i.e. having the parts 1. and 2. in their own bug reports would've been ideal), thank you.

comment:3 by SF/f100101ff, 12 years ago

Thanks for the thorough reply, buddha: very helpful and informative. Appreciated! I'll post the second question in a new thread.

comment:4 by bluegr, 12 years ago

Closing this one as invalid - the second part of the bug has been resubmitted as bug #3600733: http://sourceforge.net/tracker/?func=detail&aid=3600733&group_id=37116&atid=418820

comment:5 by bluegr, 12 years ago

Owner: set to SF/buddha_
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.