Added constructor

svn-id: r19435
This commit is contained in:
Chris Apers 2005-11-05 10:15:41 +00:00
parent 1f8ffb5df7
commit 1c65e2e457
4 changed files with 12 additions and 4 deletions

View file

@ -25,7 +25,7 @@
#include "common/config-file.h"
#include "common/config-manager.h"
void OSystem_PalmBase::initBackend() {
OSystem_PalmBase::OSystem_PalmBase() {
_overlayVisible = false;
_current_shake_pos = 0;
@ -62,7 +62,9 @@ void OSystem_PalmBase::initBackend() {
MemSet(&_keyMouse, sizeof(_keyMouse), 0);
MemSet(&_mouseCurState, sizeof(_mouseCurState), 0);
MemSet(&_mouseOldState, sizeof(_mouseOldState), 0);
}
void OSystem_PalmBase::initBackend() {
int_initBackend();
_keyMouseMask = (_keyMouse.bitUp | _keyMouse.bitDown | _keyMouse.bitLeft | _keyMouse.bitRight | _keyMouse.bitButLeft);
}