Difference between revisions of "AGIWiki/AGI Mouse"

From ScummVM :: Wiki
Jump to navigation Jump to search
m
(fixing links)
 
(One intermediate revision by one other user not shown)
Line 37: Line 37:


* [[AGIWiki/Apocalyptic Quest|Apocalyptic Quest]]
* [[AGIWiki/Apocalyptic Quest|Apocalyptic Quest]]
* [[AGIWiki/Boring Man: the road to Robinland City|Boring Man: the road to Robinland City]]
* [[AGIWiki/Boring Man: The Road to Robinland|Boring Man: The Road to Robinland City]]
* [[AGIWiki/DG: The AGIMouse Adventure|DG: The AGIMouse Adventure]]
* [[AGIWiki/DG: The AGIMouse Adventure|DG: The AGIMouse Adventure]]
* [[AGIWiki/Half-Death : terror at White-Mesa|Half-Death : terror at White-Mesa]]
* [[AGIWiki/Half-Death: Terror at White-Mesa|Half-Death: Terror at White-Mesa]]
* [[AGIWiki/Hitler's Legacy|Hitler's Legacy]]
* [[AGIWiki/Hitler's Legacy|Hitler's Legacy]]
* [[AGIWiki/Isabella Coq: a present for my dad|Isabella Coq: a present for my dad]]
* [[AGIWiki/Isabella Coq: a present for my dad|Isabella Coq: a present for my dad]]
* [[AGIWiki/Naturette 2: Daughter of the Moon|Naturette 2: Daughter of the Moon]]
* [[AGIWiki/Naturette II: Daughter of the Moon|Naturette 2: Daughter of the Moon]]
* [[AGIWiki/Naturette 3: Adventure in Treeworld|Naturette 3: Adventure in Treeworld]]
* [[AGIWiki/Naturette III: Adventure in Treeworld|Naturette 3: Adventure in Treeworld]]
* [[AGIWiki/Serguei's destiny 2|Serguei's destiny 2]]
* [[AGIWiki/Serguei's Destiny 2|Serguei's Destiny 2]]


== See also ==
== See also ==
Line 50: Line 50:
* [[AGIWiki/Hacked interpreter|Hacked interpreter]]
* [[AGIWiki/Hacked interpreter|Hacked interpreter]]
* [http://www.agidev.com/articles/a.php?id=25 How to use the AGI Mouse 1.0 API]
* [http://www.agidev.com/articles/a.php?id=25 How to use the AGI Mouse 1.0 API]
[[Category:AGIWiki/Hacked interpreters]]

Latest revision as of 06:32, 13 September 2016

AGIWiki


AGI Mouse is a hacked interpreter created by Brian Provinciano to allow AGI games to use the mouse for a point-and-click interface. To play a game that uses this functionality, the player must have the hacked interpreter files. Alternately, AGI Mouse functionality is supported by NAGI and ScummVM.

The AGI Mouse hack also features support for palette-changing.

Commands altered by AGI Mouse

  • Shake.screen - Values 100 through 109 alter game's palette instead of shaking the screen. Other values shake the screen normally.
  • Push.script (previously known as unknown171) - Retrieves information about what mouse button is currently pressed and where the mouse cursor is at the moment; the original command has been completely removed.

AGI Mouse defines

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

/***************************************************************************
* AGI Mouse 1.0 defines
****************************************************************************/ 
#define mouse_button v27 // The mouse button pressed
#define mouse_x      v28 // Pixels from the left of the screen
#define mouse_y      v29 // Pixels from the top of the screen

#define mb_up        0   // Mouse button is up (not pressed)
#define Mb_left      1   // Left mouse button
#define Mb_right     2   // Right mouse button
#define Mb_middle    3   // Middle mouse button

/***************************************************************************
* End of AGI Mouse 1.0 defines -- Brian Provinciano 
****************************************************************************/

Games that use AGI Mouse

See also