Wii coding library
Find a file
2009-09-03 03:09:02 +00:00
examples [ADD} Added fileIO functions from Addon (and ensured all examples still compile) 2009-08-30 21:44:05 +00:00
GRRLIB /more/ whitespace cleanup 2009-09-03 03:09:02 +00:00
grrlib.doxygen [CHG] Now using doxygen 1.6.0 with search enabled (file description are still missing) 2009-08-22 15:45:24 +00:00
GRRLIB.html [CHG] Corrected credits (sorry Crayon) 2009-08-20 09:21:01 +00:00
grrlib_logo.png [CHG] Modification for Doxygen documentation 2009-08-19 17:47:29 +00:00
LICENCE.TXT Added LICENCE.TXT file (MIT) 2009-07-23 22:10:41 +00:00
readme.txt [NEW] Added an example showing the different blending modes. 2009-03-11 17:23:41 +00:00

==============================================================
  ________ __________ __________ _____     ____ __________ 
 /  _____/ \______   \\______   \|    |    |   |\______   \
/   \  ___  |       _/ |       _/|    |    |   | |    |  _/
\    \_\  \ |    |   \ |    |   \|    |___ |   | |    |   \
 \______  / |____|_  / |____|_  /|_______ \|___| |______  /
        \/         \/         \/         \/             \/ 
                   ________     _______   
                   \_____  \    \   _  \  
                     _(__  <    /  /_\  \ 
                    /       \   \  \_/   \
                   /______  / /\ \_____  /
                          \/  \/       \/ .5 ALPHA

===============================================================
Code : NoNameNo
Additional Code : Crayon & Xane
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

* 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_Printf recoded to fit modification.

* GRRLIB_DrawImg recoded for simpler use

* GRRLIB_DrawTile recoded for simpler use + // --->Frame Correction by spiffen

* InitVideo() and GRRLIB_Start() merge into GRRLIB_Init().

* add GRRLIB_PtInRect, GRRLIB_RectInRect and GRRLIB_RectOnRect.

* GRRLIB_GetPixelFromtexImg and GRRLIB_SetPixelTotexImg

* GRRLIB_CreateEmptyTexture and GRRLIB_FlushTex

* New Bitmap FX:
    - GRRLIB_BMFX_Grayscale
    - GRRLIB_BMFX_Invert
    - GRRLIB_BMFX_FlipH
    - GRRLIB_BMFX_FlipV
    - GRRLIB_BMFX_Scatter
    - GRRLIB_BMFX_Blur
    - GRRLIB_BMFX_Pixelate
(keep in mind that most BMFX are not provided to be used in real time ;) ;) )

* GRRLIB_LoadTexture now detect automaticaly the image format JPG or PNG
(keep in mind that image still have to be RGBA and have Width and height multiple of 4)

* add GRRLIB_Exit to free the memory allocated by GRRLIB


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.