mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Controls are working now
This commit is contained in:
parent
6d7e068d03
commit
d4d2f375d2
1 changed files with 6 additions and 6 deletions
|
|
@ -39,8 +39,8 @@
|
||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
|
|
||||||
//debug
|
//debug
|
||||||
#include <e32cons.h>
|
/*#include <e32cons.h>
|
||||||
LOCAL_D CConsoleBase* console;
|
LOCAL_D CConsoleBase* console;*/
|
||||||
|
|
||||||
psGlobalType psGlobal;
|
psGlobalType psGlobal;
|
||||||
|
|
||||||
|
|
@ -410,8 +410,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConstructL(const TRect& aRect, CAknAppUi* aAppUi) {
|
void ConstructL(const TRect& aRect, CAknAppUi* aAppUi) {
|
||||||
console = Console::NewL(_L("RE3 Debug"), TSize(KConsFullScreen, KConsFullScreen));
|
/*console = Console::NewL(_L("RE3 Debug"), TSize(KConsFullScreen, KConsFullScreen));
|
||||||
console->Printf(_L("Console iniciada\n"));
|
console->Printf(_L("Console iniciada\n"));*/
|
||||||
|
|
||||||
iAppUi = aAppUi;
|
iAppUi = aAppUi;
|
||||||
CreateWindowL();
|
CreateWindowL();
|
||||||
|
|
@ -629,9 +629,9 @@ public:
|
||||||
bool pressed = (aType == EEventKeyDown);
|
bool pressed = (aType == EEventKeyDown);
|
||||||
TUint scan = aKeyEvent.iScanCode;
|
TUint scan = aKeyEvent.iScanCode;
|
||||||
|
|
||||||
if(console){
|
/*if(console){
|
||||||
console->Printf(_L("Scan: %d Type: %d Pressed: %d\n"), scan, aType, pressed);
|
console->Printf(_L("Scan: %d Type: %d Pressed: %d\n"), scan, aType, pressed);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Variables estáticas para permitir movimiento en diagonal sin que se anulen entre sí
|
// Variables estáticas para permitir movimiento en diagonal sin que se anulen entre sí
|
||||||
static bool keyUp = false, keyDown = false, keyLeft = false, keyRight = false;
|
static bool keyUp = false, keyDown = false, keyLeft = false, keyRight = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue