Difference between revisions of "AGIWiki/AGI Mouse"
< AGIWiki
Jump to navigation
Jump to search
(Created page with "{{AGIWiki}} '''AGI Mouse''' is a hacked interpreter created by Brian Provinciano to allow AGI games ...") |
(fixing links) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
* [[AGIWiki/shake.screen|Shake.screen]] - Values 100 through 109 alter game's palette instead of shaking the screen. Other values shake the screen normally. | * [[AGIWiki/shake.screen|Shake.screen]] - Values 100 through 109 alter game's palette instead of shaking the screen. Other values shake the screen normally. | ||
* [[AGIWiki/push.script|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. | * [[AGIWiki/push.script|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 == | |||
<pre> | |||
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 | |||
****************************************************************************/ | |||
</pre> | |||
== Games that use AGI Mouse == | == Games that use AGI Mouse == | ||
* [[AGIWiki/Apocalyptic Quest|Apocalyptic Quest]] | * [[AGIWiki/Apocalyptic Quest|Apocalyptic Quest]] | ||
* [[AGIWiki/Boring Man: | * [[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 : | * [[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 | * [[AGIWiki/Naturette II: Daughter of the Moon|Naturette 2: Daughter of the Moon]] | ||
* [[AGIWiki/Naturette | * [[AGIWiki/Naturette III: Adventure in Treeworld|Naturette 3: Adventure in Treeworld]] | ||
* [[AGIWiki/Serguei's | * [[AGIWiki/Serguei's Destiny 2|Serguei's Destiny 2]] | ||
== See also == | == See also == | ||
Line 26: | 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
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
- Apocalyptic Quest
- Boring Man: The Road to Robinland City
- DG: The AGIMouse Adventure
- Half-Death: Terror at White-Mesa
- Hitler's Legacy
- Isabella Coq: a present for my dad
- Naturette 2: Daughter of the Moon
- Naturette 3: Adventure in Treeworld
- Serguei's Destiny 2