NAME
====
  vg_nw_mousepressed() - only master: check pressed mouse-buttons of client


SYNOPSIS
========
  int vg_nw_mousepressed(int button, int type)


DESCRIPTION
===========
  This function is nearly the same as vg_mouse_pressed()
  with the difference that not mouse-buttons of the local computer are
  examinated but that of a network client.
  Only the master calls this function.

  Before calling this function, the function vg_nw_recvkeys() has to be
  called, and only if it returns 1, vg_nw_mousepressed() may be called.

  vg_nw_recvkeys() sets internally a bytefield of the pressed mouse-buttons,
  so the call of vg_nw_mousepressed() always refers to the client, whose number
  was passed to vg_nw_recvkeys().

  button and type are the same as in vg_mouse_pressed().

  Refer to Understanding network.


RETURN VALUE
============
  If the button is pressed, it returns 1,
  if the button is not pressed, it returns 0.


SEE ALSO
========
  Index
  Understanding network
  vg_nw_setplayer()
  vg_nw_startserver()
  vg_nw_connect()
  vg_nw_waitforconnects()
  vg_nw_setvar()
  vg_nw_getvar()
  vg_nw_setcommon()
  vg_nw_getcommon()
  vg_nw_dumppacket()
  vg_nw_sendinit()
  vg_nw_recvinit()
  vg_nw_myplayer()
  vg_nw_maxplayer()
  vg_nw_virtualplayer()
  vg_nw_isalive()
  vg_nw_recvkeys()
  vg_nw_keypressed()
  vg_nw_mousex()
  vg_nw_mousey()
  vg_nw_senddata()
  vg_nw_sendcommon()
  vg_nw_setdead()
  vg_nw_dumpsprite()
  vg_nw_undumpsprite()
  vg_nw_close()