HookKey
Displaying 1-4 of 4 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Interference22

The parameters for HookKey seem to be different from v2. Anyone know what they are, since I can't find them in vergec.txt?

Posted on 2004-04-12 23:57:57

RageCage

hookKey isnt implemented yet.
the only working hooks are:
hookretrace
&
hookentityblit or something, I dont feel like looking it up...

Posted on 2004-04-13 12:42:11

Overkill

if you want to hookkey(), you can try it something like this, probably:


#define MENU_BUTTON b3
struct menu_t
{
int open;
};

menu_t menu;
void HookMenuButton()
{
UpdateControls();
if(!menu.open && MENU_BUTTON)
{
menu.open=1;
MenuLoop();
menu.open=0;
}
}

//Some where else...
Hookretrace("HookMenuButton");

// ...

Posted on 2004-04-13 13:15:23 (last edited on 2004-04-13 13:16:43)

Interference22

Nuts. I think I'll wait for it to be implemented.

Posted on 2004-04-13 18:40:57


Displaying 1-4 of 4 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.