NAME ==== vg_nw_mousex() - only master: return mouse x-position of client SYNOPSIS ======== int vg_nw_mousex(void) DESCRIPTION =========== This function is nearly the same as vg_mouse_x() with the difference that not the mouse x-position of the local computer is returned 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. vg_nw_recvkeys() sets internally a bytefield of the mouse-position, so the call of vg_nw_mousex() always refers to the client, whose number was passed to vg_nw_recvkeys(). Refer to Understanding network. RETURN VALUE ============ x-position of client's mouse or -1=not in window 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_mousepressed() vg_nw_mousey() vg_nw_senddata() vg_nw_sendcommon() vg_nw_setdead() vg_nw_dumpsprite() vg_nw_undumpsprite() vg_nw_close()