Difference between revisions of "CWormsApp"
From Project X Wiki
(Created page with "{{Up|Scripting}} Contains some data about mouse behavior. === Fields === struct CWormsApp { int M_dX; int M_dY; int MK; }; M_dX, M_dY - unused, was thought up to sto...") |
m |
||
Line 13: | Line 13: | ||
M_dX, M_dY - unused, was thought up to store the mouse coordinates. Obsoleted by landSelectX, landSelectY in [[CGameState]].<br /> | M_dX, M_dY - unused, was thought up to store the mouse coordinates. Obsoleted by landSelectX, landSelectY in [[CGameState]].<br /> | ||
− | MK - mouse click. 0 - nothing is pressed, 1 - left button, 2 - right button, 4 - middle button (wheel). If several buttons are pressed in the same time, they will sum up (for example, middle and right button will give 4 + 2 = 6).<br /> | + | MK - mouse click (unsynchronized). 0 - nothing is pressed, 1 - left button, 2 - right button, 4 - middle button (wheel). If several buttons are pressed in the same time, they will sum up (for example, middle and right button will give 4 + 2 = 6).<br /> |
== Methods == | == Methods == |
Latest revision as of 09:38, 26 June 2012
Contains some data about mouse behavior.
Fields
struct CWormsApp { int M_dX; int M_dY; int MK; };
M_dX, M_dY - unused, was thought up to store the mouse coordinates. Obsoleted by landSelectX, landSelectY in CGameState.
MK - mouse click (unsynchronized). 0 - nothing is pressed, 1 - left button, 2 - right button, 4 - middle button (wheel). If several buttons are pressed in the same time, they will sum up (for example, middle and right button will give 4 + 2 = 6).
Methods
No methods.
|