mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-15 10:46:44 -04:00
support for controllers, save effect, fix bugs
This commit is contained in:
parent
9e5faf53de
commit
44e73566b1
16 changed files with 306 additions and 38 deletions
|
@ -67,7 +67,7 @@ static char promacknuti(int id,int xa,int ya,int xr,int yr)
|
|||
word *w;
|
||||
|
||||
z=ablock(H_MENU_MASK);w=(word *)z;
|
||||
z+=6+512;
|
||||
z+=6+512;
|
||||
z+=xr+yr*w[0];
|
||||
vymacknout(id,xa,ya,xr,yr);
|
||||
if (*z!=0) cur_dir[*z-1]=SELECT;
|
||||
|
@ -87,8 +87,8 @@ static char click(int id,int xa,int ya,int xr,int yr)
|
|||
|
||||
T_CLK_MAP clk_main_menu[]=
|
||||
{
|
||||
{-1,220,300,220+206,300+178,promacknuti,1,-1},
|
||||
{-1,220,300,220+206,300+178,click,2,-1},
|
||||
{-1,220,300,220+206,300+177,promacknuti,1,-1},
|
||||
{-1,220,300,220+206,300+177,click,2,-1},
|
||||
{-1,0,0,639,479,vymacknout,1,-1},
|
||||
{-1,0,0,639,479,empty_clk,0xff,H_MS_DEFAULT},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue