slaanesh said:
EDIT: Pretty sure getting PAUSE support will be fairly straight forward too.
I was thinking to bind the Select button to the SDLK_ESCAPE key code. The GP2x device is recognized as a joystick, the joystick management is done in src/joystick.c. You may attach the key press to the JE_doInGameSetup() function (src/mainint.c)
Yes I was having a look at this. I was going to use START as the pause key.
I've compiled with the new settings and ASM functions and done some tests. It's super fast now
In fact it's fast enough that I've upped the default setting to the 486 processor.
This means there's another background scrolling layer, transparent explosions and score is displayed.
I saw in the code that there is means of adjusting the level of display detail "in-game" but I can't actually find it. I only had a very quick look and have not followed that up yet.
Apart from pause, the only really annoying things left are that it doesn't quit - for me it just hangs. Is this true with everyone else? And I'm still getting that single mega-pause. Once per level. I haven't tracked that one down either.
I noticed in the code that the audio cleanup is not called anywhere? I'll have a look at this, as I believe it's got something to do with the audio thread not shutting down which is why it's not quitting.
Once these bigger issues are sorted there's just a number of little things and feature adds. And if you want a new mixer. I hadn't really planned on doing anything like this though.