mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-26 08:42:19 +00:00
[CHG] Renamed GRRLIB.html to README.html
[CHG] Deleted the "Temporary fix" README.txt, not needed with devkitPro 18
This commit is contained in:
parent
fc00cfff24
commit
8c05d9ac06
3 changed files with 9 additions and 27 deletions
|
@ -31,10 +31,10 @@ THE SOFTWARE.
|
||||||
/**
|
/**
|
||||||
* Convert a raw BMP (RGB, no alpha) to 4x4RGBA.
|
* Convert a raw BMP (RGB, no alpha) to 4x4RGBA.
|
||||||
* @author DragonMinded
|
* @author DragonMinded
|
||||||
* @param src
|
* @param src Source.
|
||||||
* @param dst
|
* @param dst Destination.
|
||||||
* @param width
|
* @param width Width.
|
||||||
* @param height
|
* @param height Height.
|
||||||
*/
|
*/
|
||||||
static
|
static
|
||||||
void RawTo4x4RGBA (const u8 *src, void *dst,
|
void RawTo4x4RGBA (const u8 *src, void *dst,
|
||||||
|
@ -177,11 +177,11 @@ GRRLIB_texImg* GRRLIB_LoadTextureJPG (const u8 *my_jpg) {
|
||||||
* Currently only performs "a-over-b (normal) alpha compositing" (opacity)
|
* Currently only performs "a-over-b (normal) alpha compositing" (opacity)
|
||||||
* Ie. Light source is behind the eye, not behind the canvas!
|
* Ie. Light source is behind the eye, not behind the canvas!
|
||||||
* @author BlueChip
|
* @author BlueChip
|
||||||
* @param xoff : The x-offset within the canvas (negative values allowed)
|
* @param xoff The x-offset within the canvas (negative values allowed)
|
||||||
* @param yoff : The y-offset within the canvas (negative values allowed)
|
* @param yoff The y-offset within the canvas (negative values allowed)
|
||||||
* @param layer : The layer/sprite to draw
|
* @param layer The layer/sprite to draw
|
||||||
* @param canvas : The canvas/textured-image on which to draw
|
* @param canvas The canvas/textured-image on which to draw
|
||||||
* @param mode : Currently unused - will be composition mode
|
* @param mode Currently unused - will be composition mode
|
||||||
*/
|
*/
|
||||||
void GRRLIB_Compose( int xoff, int yoff, GRRLIB_texImg* layer,
|
void GRRLIB_Compose( int xoff, int yoff, GRRLIB_texImg* layer,
|
||||||
GRRLIB_texImg* canvas, GRRLIB_ComposeMode mode )
|
GRRLIB_texImg* canvas, GRRLIB_ComposeMode mode )
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
*** Temporary fix ***
|
|
||||||
After the release of libogc v1.7.1a, Vector was renamed to guVector
|
|
||||||
"to avoid collisions" [svn 3650]
|
|
||||||
...also Quaternion was renamed to guQuaternion - but GRRLIB does not use these!
|
|
||||||
|
|
||||||
The main codebase of GRRLIB has been updated to reflect this change.
|
|
||||||
But until the new libogc is officially released,
|
|
||||||
if you are using a version of libogc later than v1.7.1a/svn3649,
|
|
||||||
you will need to add:
|
|
||||||
-DNOGUFIX
|
|
||||||
to the compiler flags in your makefile
|
|
||||||
|
|
||||||
When the libogc changes are officially released,
|
|
||||||
this *temporary fix* should be removed [see grrlib.h, line 50ish]
|
|
||||||
The requirement for -DNOGUFIX will be deprecated,
|
|
||||||
but its lingering presence will not be a hinderance
|
|
||||||
|
|
||||||
Thanks to Nicksasa for reporting this problem :)
|
|
Loading…
Reference in a new issue