From 8770af329b76460d24e82075233a9a7822025d7d Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Mon, 16 Nov 2009 21:34:47 +0000 Subject: [PATCH] [CHG] Doc improvement (again) --- GRRLIB/GRRLIB/GRRLIB_fileIO.c | 2 +- GRRLIB/GRRLIB/GRRLIB_render.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_fileIO.c b/GRRLIB/GRRLIB/GRRLIB_fileIO.c index 548705c..b478e31 100644 --- a/GRRLIB/GRRLIB/GRRLIB_fileIO.c +++ b/GRRLIB/GRRLIB/GRRLIB_fileIO.c @@ -64,7 +64,7 @@ int GRRLIB_LoadFile(const char* filename, unsigned char* *data) { /** * Load a texture from a file. - * @param filename The JPEG or PNG filename to load. + * @param filename The JPEG, PNG or Bitmap filename to load. * @return A GRRLIB_texImg structure filled with image information. */ GRRLIB_texImg* GRRLIB_LoadTextureFromFile(const char *filename) { diff --git a/GRRLIB/GRRLIB/GRRLIB_render.c b/GRRLIB/GRRLIB/GRRLIB_render.c index e771129..2f8e9ff 100644 --- a/GRRLIB/GRRLIB/GRRLIB_render.c +++ b/GRRLIB/GRRLIB/GRRLIB_render.c @@ -238,21 +238,21 @@ void GRRLIB_DrawTile (const f32 xpos, const f32 ypos, const GRRLIB_texImg *tex, } /** - * Draw a part of a texture + * Draw a part of a texture. * @param xpos Specifies the x-coordinate of the upper-left corner. * @param ypos Specifies the y-coordinate of the upper-left corner. - * @param partx Specifies the x-coordinate of the upper-left corner in the Texture. - * @param party Specifies the y-coordinate of the upper-left corner in the Texture. - * @param partw Specifies the width in the Texture. - * @param parth Specifies the height in the Texture. + * @param partx Specifies the x-coordinate of the upper-left corner in the texture. + * @param party Specifies the y-coordinate of the upper-left corner in the texture. + * @param partw Specifies the width in the texture. + * @param parth Specifies the height in the texture. * @param tex The texture containing the tile to draw. * @param degrees Angle of rotation. * @param scaleX Specifies the x-coordinate scale. -1 could be used for flipping the texture horizontally. * @param scaleY Specifies the y-coordinate scale. -1 could be used for flipping the texture vertically. * @param color Color in RGBA format. - * @param frame Specifies the frame to draw. */ -void GRRLIB_DrawPart (const f32 xpos, const f32 ypos, const f32 partx, const f32 party, const f32 partw, const f32 parth, const GRRLIB_texImg *tex, +void GRRLIB_DrawPart (const f32 xpos, const f32 ypos, const f32 partx, const f32 party, + const f32 partw, const f32 parth, const GRRLIB_texImg *tex, const f32 degrees, const f32 scaleX, const f32 scaleY, const u32 color) { GXTexObj texObj;