PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PocketHAL 0.5 released

The fifth release of PocketHAL, the next generation library for Pocket PC game development has been released.

Get it fresh at: http://pockethal.droneship.com

PocketHAL can currently be seen as an alternative to GAPI and GAPI-based libraries. You though GAPI was the fastest way to do graphics on your Pocket PC? Think again. PocketHAL can often run twice as fast as GAPI and further optimizations are in the work.

What's new in the 0.5 build:

* The device's native orientation can be selected with ORIENTATION_NATIVE. Keys and stylus input won't be translated. (Input will behave as if the normal orientation had been specified.)
* The API is now wrapped in namespace PHAL. This was done to "de-pollute" the global namespace. For example, this allow users to define their own classes named "Display" or "Surface".
Thanks for quickly implementing the requested changes! One question though, how do I determine what the native orientation is when I use ORIENTATION_NATIVE?

Thanks again.

Dan East
Dan East wrote:
Thanks for quickly implementing the requested changes! One question though, how do I determine what the native orientation is when I use ORIENTATION_NATIVE?


You should call Display::GetOrientation() to determine what is the orientation, after having called Initialize() with ORIENTATION_NATIVE.

If the function is not there, redownload the archive, the first version didn't have it =)