From b7151bcad512074031c081dd43d885c8e818f833 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Tue, 6 Oct 2009 18:07:03 +0000 Subject: [PATCH] [CHG] Corrected some typos in descriptions --- GRRLIB/GRRLIB/GRRLIB_bmf.c | 2 +- GRRLIB/GRRLIB/GRRLIB_fileIO.c | 2 +- GRRLIB/GRRLIB/GRRLIB_texEdit.c | 6 +++--- GRRLIB/GRRLIB/grrlib.h | 6 +++--- GRRLIB/GRRLIB/grrlib/GRRLIB_settings.h | 8 ++++---- GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_bmf.c b/GRRLIB/GRRLIB/GRRLIB_bmf.c index e27482e..ffd7a7d 100644 --- a/GRRLIB/GRRLIB/GRRLIB_bmf.c +++ b/GRRLIB/GRRLIB/GRRLIB_bmf.c @@ -28,7 +28,7 @@ THE SOFTWARE. /** * Load a ByteMap font structure from a buffer. * @param my_bmf The ByteMap font buffer to load. - * @return A GRRLIB_bytemapFont structure filled with BMF informations. + * @return A GRRLIB_bytemapFont structure filled with BMF information. * @see GRRLIB_FreeBMF */ GRRLIB_bytemapFont* GRRLIB_LoadBMF (const u8 my_bmf[] ) { diff --git a/GRRLIB/GRRLIB/GRRLIB_fileIO.c b/GRRLIB/GRRLIB/GRRLIB_fileIO.c index 56dde2e..64b040e 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. - * @return A GRRLIB_texImg structure filled with image informations. + * @return A GRRLIB_texImg structure filled with image information. */ GRRLIB_texImg* GRRLIB_LoadTextureFromFile(const char *filename) { GRRLIB_texImg *tex; diff --git a/GRRLIB/GRRLIB/GRRLIB_texEdit.c b/GRRLIB/GRRLIB/GRRLIB_texEdit.c index ad405be..707e149 100644 --- a/GRRLIB/GRRLIB/GRRLIB_texEdit.c +++ b/GRRLIB/GRRLIB/GRRLIB_texEdit.c @@ -75,7 +75,7 @@ void RawTo4x4RGBA (const u8 *src, void *dst, /** * Load a texture from a buffer. * @param my_img The JPEG or PNG buffer to load. - * @return A GRRLIB_texImg structure filled with image informations. + * @return A GRRLIB_texImg structure filled with image information. */ GRRLIB_texImg* GRRLIB_LoadTexture (const u8 my_img[]) { // Check for jpeg signature @@ -88,7 +88,7 @@ GRRLIB_texImg* GRRLIB_LoadTexture (const u8 my_img[]) { /** * Load a texture from a buffer. * @param my_png the PNG buffer to load. - * @return A GRRLIB_texImg structure filled with image informations. + * @return A GRRLIB_texImg structure filled with image information. */ GRRLIB_texImg* GRRLIB_LoadTexturePNG (const u8 *my_png) { PNGUPROP imgProp; @@ -116,7 +116,7 @@ GRRLIB_texImg* GRRLIB_LoadTexturePNG (const u8 *my_png) { * Take care to have the JPG finnish with 0xFF 0xD9!! * @author DrTwox * @param my_jpg The JPEG buffer to load. - * @return A GRRLIB_texImg structure filled with image informations. + * @return A GRRLIB_texImg structure filled with image information. */ GRRLIB_texImg* GRRLIB_LoadTextureJPG (const u8 *my_jpg) { struct jpeg_decompress_struct cinfo; diff --git a/GRRLIB/GRRLIB/grrlib.h b/GRRLIB/GRRLIB/grrlib.h index 8b69c6e..3060149 100644 --- a/GRRLIB/GRRLIB/grrlib.h +++ b/GRRLIB/GRRLIB/grrlib.h @@ -128,7 +128,7 @@ typedef struct GRRLIB_drawSettings { //------------------------------------------------------------------------------ /** - * Structure to hold the texture informations. + * Structure to hold the texture information. */ typedef struct GRRLIB_texImg { uint w; /**< Texture Width. */ @@ -150,7 +150,7 @@ typedef struct GRRLIB_texImg { //------------------------------------------------------------------------------ /** - * Structure to hold the bytemap character informations. + * Structure to hold the bytemap character information. */ typedef struct GRRLIB_bytemapChar { u8 character; /**< Character identity. */ @@ -164,7 +164,7 @@ typedef struct GRRLIB_bytemapChar { //------------------------------------------------------------------------------ /** - * Structure to hold the bytemap font informations. + * Structure to hold the bytemap font information. */ typedef struct GRRLIB_bytemapFont { diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_settings.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_settings.h index a5e130e..a40e31c 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_settings.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_settings.h @@ -65,8 +65,8 @@ GRRLIB_blendMode GRRLIB_GetBlend (void) { } /** - * Turn AntiAliasing on/off. - * @param aa Set to true to enable AntiAliasing (Default: Enabled). + * Turn anti-aliasing on/off. + * @param aa Set to true to enable anti-aliasing (Default: Enabled). */ INLINE void GRRLIB_SetAntiAliasing (const bool aa) { @@ -74,8 +74,8 @@ void GRRLIB_SetAntiAliasing (const bool aa) { } /** - * Get current AntiAliasing setting. - * @return True if AntiAliasing is enabled. + * Get current anti-aliasing setting. + * @return True if anti-aliasing is enabled. */ INLINE bool GRRLIB_GetAntiAliasing (void) { diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h index a837362..cb353b1 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h @@ -59,7 +59,7 @@ GRRLIB_texImg* GRRLIB_CreateEmptyTexture (const uint w, const uint h) /** * Write the contents of a texture in the data cache down to main memory. - * For performance the CPU holds a data cache where modifications are stored before they get written down to mainmemory. + * For performance the CPU holds a data cache where modifications are stored before they get written down to main memory. * @param tex The texture to flush. */ INLINE