2009-01-15 10:08:37 +00:00
|
|
|
==============================================================
|
|
|
|
________ __________ __________ .____ .___ __________
|
|
|
|
/ _____/ \______ \\______ \| | | |\______ \
|
|
|
|
/ \ ___ | _/ | _/| | | | | | _/
|
|
|
|
\ \_\ \ | | \ | | \| |___ | | | | \
|
|
|
|
\______ / |____|_ / |____|_ /|_______ \|___| |______ /
|
|
|
|
\/ \/ \/ \/ \/
|
|
|
|
________ _______
|
|
|
|
\_____ \ \ _ \
|
|
|
|
_(__ < / /_\ \
|
|
|
|
/ \ \ \_/ \
|
|
|
|
/______ / /\ \_____ /
|
|
|
|
\/ \/ \/ .5 ALPHA
|
|
|
|
|
|
|
|
===============================================================
|
|
|
|
Code : NoNameNo
|
2009-01-18 22:41:48 +00:00
|
|
|
Additional Code : Crayon
|
2009-01-15 10:08:37 +00:00
|
|
|
Code Hints : RedShade
|
|
|
|
|
|
|
|
Info & Tutorial : http://grrlib.santo.fr
|
|
|
|
===============================================================
|
|
|
|
|
|
|
|
ChangeLog :
|
|
|
|
|
|
|
|
* Color format change for ALL GRRLib function (now its RGBA) to fit to GX_Color format and use GX_Color1u32
|
2009-01-18 22:41:48 +00:00
|
|
|
|
|
|
|
* Name Change GRRLIB_LoadTexture to GRRLIB_LoadTexturePNG
|
|
|
|
|
2009-01-15 10:08:37 +00:00
|
|
|
* 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;
|
2009-01-18 22:41:48 +00:00
|
|
|
|
2009-01-15 10:08:37 +00:00
|
|
|
* add void GRRLIB_InitTileSet(struct GRRLIB_texImg *tex, unsigned int tilew, unsigned int tileh, unsigned int tilestart);
|
2009-01-18 22:41:48 +00:00
|
|
|
|
2009-01-15 10:08:37 +00:00
|
|
|
* GRRLIB_Printf recoded to fit modification.
|
2009-01-18 22:41:48 +00:00
|
|
|
|
2009-01-15 10:08:37 +00:00
|
|
|
* GRRLIB_DrawImg recoded for simpler use
|
2009-01-18 22:41:48 +00:00
|
|
|
|
2009-01-15 10:08:37 +00:00
|
|
|
* GRRLIB_DrawTile recoded for simpler use + // --->Frame Correction by spiffen
|
|
|
|
|
2009-01-18 22:41:48 +00:00
|
|
|
* added GRRLIB_LoadTextureJPG (thx crayon for the file end detection idea)
|
|
|
|
|
2009-01-20 05:17:13 +00:00
|
|
|
* InitVideo() and GRRLIB_Start() merge into GRRLIB_Init().
|
2009-01-18 22:41:48 +00:00
|
|
|
|
2009-01-21 23:16:15 +00:00
|
|
|
* add GRRLIB_PtInRect that return True/False if a point is in a specific zone
|
|
|
|
|
|
|
|
* add GRRLIB_Exit to free the memory allocated by GRRLIB
|
2009-01-21 13:30:44 +00:00
|
|
|
|
2009-01-15 10:08:37 +00:00
|
|
|
have a look at the sample code to see how all this work ;)
|
|
|
|
|
|
|
|
Remember that 3.0.5 is a WIP preview for the soon coming GRRLIB 4.0 and it's not intend to be publicly released...
|
|
|
|
Contact me to provide me all your patch/addon/new functions...
|
|
|
|
|
|
|
|
NoNameNo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|