Download and Help Forum : http://grrlib.santo.fr
===============================================================
Info:
----
Hello, since more than 60% of wii homebrew coders used GRRLIB, we decided to provide a new/better/optimised version.
This one is 4.0.0 and we hope it will help as new coders as confirmed ones.
We really need your feedback so join us on the forum to provide ideas, patch, new bitmap effects, etC...
GRRLIB is NOT provided under any shitty license.
If you use it, we only ask to :
- dont forget us in the credits !!
- to display the grrlib logo in you product as it's possible ;) ( logo available here http://grrlib.santo.fr/wiki/images/logo.png )
Keep In Mind :
------------
- Due to GX restriction, your png, jpg, and/or empty texture have to be multiple of 4 (for width and height)
- PNG and JPEG must be in RGBA (not indexed) (gimp or photoshop do it easily)
ChangeLog :
---------
* Color format changed for ALL GRRLib functions (now its RGBA) to fit to GX_Color format and use GX_Color1u32
* GRRLIB_LoadTexture now Auto Detect PNG or JPEG
* GRRLib introduce a new texture structure (easier to handle texture width, height, etc ...):
typedef struct GRRLIB_texImg{
unsigned int w;
unsigned int h;
unsigned int tilew;
unsigned int tileh;
unsigned int nbtilew;
unsigned int nbtileh;
unsigned int tilestart;
void *data;
} GRRLIB_texImg;
* add void GRRLIB_InitTileSet(struct GRRLIB_texImg *tex, unsigned int tilew, unsigned int tileh, unsigned int tilestart);
* GRRLIB_DrawImg recoded for simpler use
* GRRLIB_DrawTile recoded for simpler use
* InitVideo() and GRRLIB_Start() merge into GRRLIB_Init().
* add GRRLIB_PtInRect, GRRLIB_RectInRect and GRRLIB_RectOnRect. (to detect hot zone)
* GRRLIB_GetPixelFromtexImg and GRRLIB_SetPixelTotexImg (to directly read/write in texture)