CWormsApp

From Project X Wiki
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 (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.