[CHG] Fixed some doxygen comments

This commit is contained in:
Crayon2000 2009-03-08 08:32:43 +00:00
parent e27b278a05
commit ab964e34db
2 changed files with 26 additions and 23 deletions

View file

@ -22,13 +22,13 @@ u32 fb = 0;
static void *xfb[2] = {NULL, NULL}; static void *xfb[2] = {NULL, NULL};
GXRModeObj *rmode; GXRModeObj *rmode;
void *gp_fifo = NULL; void *gp_fifo = NULL;
static GRRLIB_drawSettings GRRLIB_Settings;
static void RawTo4x4RGBA(const unsigned char *src, void *dst, const unsigned int width, const unsigned int height); static void RawTo4x4RGBA(const unsigned char *src, void *dst, const unsigned int width, const unsigned int height);
static GRRLIB_drawSettings GRRLIB_Settings;
/** /**
* Turn AntiAliasing on/off * Turn AntiAliasing on/off.
* @param aa Set to true to enable AntiAliasing. (Default: Enabled) * @param aa Set to true to enable AntiAliasing. (Default: Enabled)
*/ */
void GRRLIB_SetAntiAliasing(bool aa) { void GRRLIB_SetAntiAliasing(bool aa) {
@ -194,7 +194,6 @@ static void RawTo4x4RGBA(const unsigned char *src, void *dst, const unsigned int
} /* block */ } /* block */
} }
/** /**
* Initialize a tile set. * Initialize a tile set.
* @param tex The texture to initialize. * @param tex The texture to initialize.
@ -462,7 +461,9 @@ inline void GRRLIB_DrawImg(f32 xpos, f32 ypos, GRRLIB_texImg tex, float degrees,
Mtx m, m1, m2, mv; Mtx m, m1, m2, mv;
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) { GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1); } if (GRRLIB_Settings.antialias == false) {
GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1);
}
GX_LoadTexObj(&texObj, GX_TEXMAP0); GX_LoadTexObj(&texObj, GX_TEXMAP0);
GX_SetTevOp(GX_TEVSTAGE0, GX_MODULATE); GX_SetTevOp(GX_TEVSTAGE0, GX_MODULATE);
@ -527,7 +528,9 @@ inline void GRRLIB_DrawTile(f32 xpos, f32 ypos, GRRLIB_texImg tex, float degrees
f32 t2 = (((int)(frame/tex.nbtilew)+1)/(f32)tex.nbtileh)-(FRAME_CORR/tex.h); f32 t2 = (((int)(frame/tex.nbtilew)+1)/(f32)tex.nbtileh)-(FRAME_CORR/tex.h);
GX_InitTexObj(&texObj, tex.data, tex.tilew*tex.nbtilew, tex.tileh*tex.nbtileh, GX_TF_RGBA8, GX_CLAMP, GX_CLAMP, GX_FALSE); GX_InitTexObj(&texObj, tex.data, tex.tilew*tex.nbtilew, tex.tileh*tex.nbtileh, GX_TF_RGBA8, GX_CLAMP, GX_CLAMP, GX_FALSE);
if (GRRLIB_Settings.antialias == false) { GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1); } if (GRRLIB_Settings.antialias == false) {
GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1);
}
GX_LoadTexObj(&texObj, GX_TEXMAP0); GX_LoadTexObj(&texObj, GX_TEXMAP0);
GX_SetTevOp(GX_TEVSTAGE0, GX_MODULATE); GX_SetTevOp(GX_TEVSTAGE0, GX_MODULATE);
@ -820,7 +823,7 @@ void GRRLIB_BMFX_FlipV(GRRLIB_texImg texsrc, GRRLIB_texImg texdest) {
} }
/** /**
* A texture effect. (Blur) * A texture effect (Blur).
* @see GRRLIB_FlushTex * @see GRRLIB_FlushTex
* @param texsrc The texture source. * @param texsrc The texture source.
* @param texdest The texture destination. * @param texdest The texture destination.
@ -875,7 +878,7 @@ void GRRLIB_BMFX_Blur(GRRLIB_texImg texsrc, GRRLIB_texImg texdest, int factor) {
} }
/** /**
* A texture effect. (Pixelate) * A texture effect (Pixelate).
* @see GRRLIB_FlushTex * @see GRRLIB_FlushTex
* @param texsrc The texture source. * @param texsrc The texture source.
* @param texdest The texture destination. * @param texdest The texture destination.
@ -899,7 +902,7 @@ void GRRLIB_BMFX_Pixelate(GRRLIB_texImg texsrc, GRRLIB_texImg texdest, int facto
} }
/** /**
* A texture effect. (Scatter) * A texture effect (Scatter).
* @see GRRLIB_FlushTex * @see GRRLIB_FlushTex
* @param texsrc The texture source. * @param texsrc The texture source.
* @param texdest The texture destination. * @param texdest The texture destination.