I've been porting some of the source code of pocketfrog on top of pockethal.
I've uploaded the code together with a simple image copy demo (simple.cpp) to : http://www.omnytex.com/pf/fileexchange/ ... n_phal.zip
The Game class is there (hoihoi), together with the possibility to load images (cfr simple.cpp) into surfaces. The button controls should work also.
I did not yet port the surface blitfunctions, I prefer to do the pixelwriting myself
To be honest, I couldn't test it properly since I'm compiling for the ipaq3850 (not yet supported in the current release). So forgive me if my image copy demo looks garbled on the screen (or doesn't work at all), there might be a error somewhere.
So if you have some code that is writing directly in the backbuffer, it couldn't be that hard to port into the new framework.
well, if you're interested, give it a try
regards, joost
I've uploaded the code together with a simple image copy demo (simple.cpp) to : http://www.omnytex.com/pf/fileexchange/ ... n_phal.zip
The Game class is there (hoihoi), together with the possibility to load images (cfr simple.cpp) into surfaces. The button controls should work also.
I did not yet port the surface blitfunctions, I prefer to do the pixelwriting myself
To be honest, I couldn't test it properly since I'm compiling for the ipaq3850 (not yet supported in the current release). So forgive me if my image copy demo looks garbled on the screen (or doesn't work at all), there might be a error somewhere.
So if you have some code that is writing directly in the backbuffer, it couldn't be that hard to port into the new framework.
well, if you're interested, give it a try
regards, joost