Here comes the official update after a few useless betas
Main stuff you'll focus on :
- Animated gif and their new commands
- VBL functions
- Stylus additions
- No more compilation need on installation !
- PAGfx compatibilty and error fixes
Changelog :
New Stuff
---------
[Compilation] No longer requires install.bat
[VBL] Added a custom function code in the VBL : PA_VBLFunctionInit(your function) will execute, each and every frame, a given function... This can be used to make counters or have critical codes run at full speed when you're low on CPU time. Be aware that too CPU-expensive functions might slow down your program or hang the DS if run from the VBL !!! PA_VBLFunctionReset() can be used to stop the custom function. An example was added (Other/VBLFunction)
[2D/3D] Seperated the 2D init (still done by default in PA_Init). You can now use PA_Init2D to return to 2D mode after using 3D functions
[Gif] Gif speed now works, only tested on emu for now. Thanks to Shaun for the solution Removed PA_SetGifSpeed
[Gif] New commands available to change the gif speed while playing and pause it ! PA_GifAnimSpeed(float speed), PA_GifAnimStop, PA_GifAnimPause, and PA_GifAnimPlay. Check out the GifAnim example
[Demos] Added the Bunny demo to the demo folder. It shows how to use sprite frames and pixel-perfect stylus collision to create stupid minigames
Updated Stuff
-------------
[Stylus] Now includes Stylus.Downtime and Uptime, to know how long the stylus was held on the screen or off of it (check Input/Stylus2 example to see that in action)
[Stylus] Added Stylus.DblClick, may need more testing though, also in Stylus2 example
[DeSmuME] Reverted back to the old version, this one had 'Hickups'
[Giflib] Changed its compilation, saves 4kb
[Doc] Updated the doc
Things Fixed
------------
[Compilation] Fixed the 5 last warnings
[Examples] FAT example back, thanks Creebo
[PAGfx] Better declarations in all_gfx.h and .c, with #ifndef and CPP compatible stuff
[PAGfx] Now works correctly when you don't precise the Sprite/Bg mode (256colors, etc...) Will take the most common mode by default (fixes PAGfx.exe errors and PAGfx Frontend import function
[Draw] Draw functions fixed, thanks to PadrinatoR
I know sourceforge might take a few hours to update, so I put the installer and the zip on an ftp :
http://www.palib.info/Release/PAlib060905.exe
http://www.palib.info/Release/PAlib060905.zip