class CInputTask : public ITask \r
{\r
public:\r
- CInputTask();\r
+ CInputTask(CKernel* kernel);\r
virtual ~CInputTask();\r
\r
bool Start();\r
void Update();\r
void Stop();\r
-\r
- static BYTE keys[256], oldKeys[256];\r
+ /* XXX: Yuck, static crapjes */\r
+ static BYTE *keys, *oldKeys;\r
//static CMMPointer<CMMDynamicBlob<unsigned char> > oldKeys;\r
- //static int keyCount;\r
+ static int keyCount;\r
\r
static int dX,dY;\r
static unsigned int buttons;\r