Hey, I recently got interested in cross platform development. I have rewritten my chip8 emulator using wxWidgets and SDL. It compiles and runs fine on Windows and Linux, but I can't test it on Mac :P. Anyway, I wonder how do you get accurate timing and what libraries do you use?
I have a custom control in my dialog. It should be focusable and handle keyboard messages. When I press buttons, handles keyboard messages fine, but it always plays "beep" windows sound. I don't know how to fix it. And I think that it isn't "focusable". If you know any good articles about input...
I have this code to create another dialog, for debugger:
CDebug *dlg = new CDebug(this);
dlg->ShowWindow(SW_NORMAL);
dlg->UpdateWindow();
It displays properly, etc... But I am not sure when to call delete dlg;
Hello. I have made an emulator, which can run several games quite normally. Question 1:
How should the drawing be made? The way I made it, all the moving objects are blinking (I believe that they are first erased by drawing them again on the same positions (XOR drawing mode; and my emulator...