mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 06:52:20 +00:00
[NEW] New logo
[CHG] lesson2 renamed bitmap_fx [CHG] Version is now 4.2.0
This commit is contained in:
parent
124e1473a7
commit
9e187ac8bc
12 changed files with 8 additions and 8 deletions
|
@ -90,14 +90,14 @@ void GRRLIB_3dMode(f32 minDist, f32 maxDist, f32 fov, bool texturemode) {
|
||||||
GX_SetVtxDesc(GX_VA_CLR0, GX_DIRECT);
|
GX_SetVtxDesc(GX_VA_CLR0, GX_DIRECT);
|
||||||
|
|
||||||
if(texturemode==FALSE) GX_SetVtxDesc(GX_VA_TEX0, GX_NONE);
|
if(texturemode==FALSE) GX_SetVtxDesc(GX_VA_TEX0, GX_NONE);
|
||||||
if(texturemode==TRUE) GX_SetVtxDesc(GX_VA_TEX0, GX_DIRECT);
|
else GX_SetVtxDesc(GX_VA_TEX0, GX_DIRECT);
|
||||||
|
|
||||||
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_POS, GX_POS_XYZ, GX_F32, 0);
|
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_POS, GX_POS_XYZ, GX_F32, 0);
|
||||||
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_CLR0, GX_CLR_RGBA, GX_RGBA8, 0);
|
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_CLR0, GX_CLR_RGBA, GX_RGBA8, 0);
|
||||||
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_TEX0, GX_TEX_ST, GX_F32, 0);
|
GX_SetVtxAttrFmt(GX_VTXFMT0, GX_VA_TEX0, GX_TEX_ST, GX_F32, 0);
|
||||||
|
|
||||||
if(texturemode==FALSE) GX_SetTevOp(GX_TEVSTAGE0, GX_PASSCLR);
|
if(texturemode==FALSE) GX_SetTevOp(GX_TEVSTAGE0, GX_PASSCLR);
|
||||||
if(texturemode==TRUE) GX_SetTevOp(GX_TEVSTAGE0, GX_REPLACE);
|
else GX_SetTevOp(GX_TEVSTAGE0, GX_REPLACE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -175,11 +175,11 @@ void GRRLIB_setTexture(GRRLIB_texImg *tex, bool rep) {
|
||||||
else {
|
else {
|
||||||
GX_InitTexObj(&texObj, tex->data, tex->w, tex->h, GX_TF_RGBA8, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
GX_InitTexObj(&texObj, tex->data, tex->w, tex->h, GX_TF_RGBA8, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
||||||
}
|
}
|
||||||
if (GRRLIB_Settings.antialias == false){
|
if (GRRLIB_Settings.antialias == false) {
|
||||||
GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1);
|
GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1);
|
||||||
GX_SetCopyFilter(GX_FALSE, rmode->sample_pattern, GX_FALSE, rmode->vfilter);
|
GX_SetCopyFilter(GX_FALSE, rmode->sample_pattern, GX_FALSE, rmode->vfilter);
|
||||||
}
|
}
|
||||||
else{
|
else {
|
||||||
GX_SetCopyFilter(rmode->aa, rmode->sample_pattern, GX_TRUE, rmode->vfilter);
|
GX_SetCopyFilter(rmode->aa, rmode->sample_pattern, GX_TRUE, rmode->vfilter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ THE SOFTWARE.
|
||||||
/**
|
/**
|
||||||
* Version information for GRRLIB.
|
* Version information for GRRLIB.
|
||||||
*/
|
*/
|
||||||
#define GRRLIB_VER_STRING "4.1.2"
|
#define GRRLIB_VER_STRING "4.2.0"
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// Includes
|
// Includes
|
||||||
|
|
|
@ -99,7 +99,7 @@ libpng is supplied as a precompiled library
|
||||||
libz is supplied with devkitpro (Ie. preinstalled)
|
libz is supplied with devkitpro (Ie. preinstalled)
|
||||||
libfat is supplied with devkitpro (Ie. preinstalled)
|
libfat is supplied with devkitpro (Ie. preinstalled)
|
||||||
|
|
||||||
*1 The version of libjpeg supplied with GRRLIB v4.1.1 contains bug fixes not
|
*1 The version of libjpeg supplied with GRRLIB v4.2.0 contains bug fixes not
|
||||||
available in the official release. If you can track down the original
|
available in the official release. If you can track down the original
|
||||||
author, please tell him about these fixes.
|
author, please tell him about these fixes.
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ Next up the list is libjpeg *2 *3
|
||||||
cd \grr\trunk\GRRLIB\lib
|
cd \grr\trunk\GRRLIB\lib
|
||||||
install <- If you are using Linux, type `./install.sh` instead
|
install <- If you are using Linux, type `./install.sh` instead
|
||||||
|
|
||||||
*3 The version of libjpeg supplied with GRRLIB v4.1.1 contains bug fixes not
|
*3 The version of libjpeg supplied with GRRLIB v4.2.0 contains bug fixes not
|
||||||
available in the official release.
|
available in the official release.
|
||||||
|
|
||||||
After all three image processing libraries are installed, we can now install
|
After all three image processing libraries are installed, we can now install
|
||||||
|
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
@ -31,7 +31,7 @@ PROJECT_NAME = GRRLIB
|
||||||
# This could be handy for archiving the generated documentation or
|
# This could be handy for archiving the generated documentation or
|
||||||
# if some version control system is used.
|
# if some version control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 4.1.1
|
PROJECT_NUMBER = 4.2.0
|
||||||
|
|
||||||
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
||||||
# base path where the generated documentation will be put.
|
# base path where the generated documentation will be put.
|
||||||
|
|
BIN
grrlib_logo.png
BIN
grrlib_logo.png
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 42 KiB |
Loading…
Reference in a new issue