CWormsApp

From Project X Wiki
Revision as of 16:34, 8 February 2012 by StepS (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Up one category:
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 store the mouse coordinates. Obsoleted by landSelectX, landSelectY in CGameState.
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).

Methods

No methods.