[CHG] Corrected some typos in descriptions

This commit is contained in:
Crayon2000 2009-10-06 18:07:03 +00:00
parent 678813a6ce
commit b7151bcad5
6 changed files with 13 additions and 13 deletions

View file

@ -28,7 +28,7 @@ THE SOFTWARE.
/** /**
* Load a ByteMap font structure from a buffer. * Load a ByteMap font structure from a buffer.
* @param my_bmf The ByteMap font buffer to load. * @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 * @see GRRLIB_FreeBMF
*/ */
GRRLIB_bytemapFont* GRRLIB_LoadBMF (const u8 my_bmf[] ) { GRRLIB_bytemapFont* GRRLIB_LoadBMF (const u8 my_bmf[] ) {

View file

@ -64,7 +64,7 @@ int GRRLIB_LoadFile(const char* filename, unsigned char* *data) {
/** /**
* Load a texture from a file. * Load a texture from a file.
* @param filename The JPEG or PNG filename to load. * @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* GRRLIB_LoadTextureFromFile(const char *filename) {
GRRLIB_texImg *tex; GRRLIB_texImg *tex;

View file

@ -75,7 +75,7 @@ void RawTo4x4RGBA (const u8 *src, void *dst,
/** /**
* Load a texture from a buffer. * Load a texture from a buffer.
* @param my_img The JPEG or PNG buffer to load. * @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[]) { GRRLIB_texImg* GRRLIB_LoadTexture (const u8 my_img[]) {
// Check for jpeg signature // Check for jpeg signature
@ -88,7 +88,7 @@ GRRLIB_texImg* GRRLIB_LoadTexture (const u8 my_img[]) {
/** /**
* Load a texture from a buffer. * Load a texture from a buffer.
* @param my_png the PNG buffer to load. * @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) { GRRLIB_texImg* GRRLIB_LoadTexturePNG (const u8 *my_png) {
PNGUPROP imgProp; PNGUPROP imgProp;
@ -116,7 +116,7 @@ GRRLIB_texImg* GRRLIB_LoadTexturePNG (const u8 *my_png) {
* Take care to have the JPG finnish with 0xFF 0xD9!! * Take care to have the JPG finnish with 0xFF 0xD9!!
* @author DrTwox * @author DrTwox
* @param my_jpg The JPEG buffer to load. * @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) { GRRLIB_texImg* GRRLIB_LoadTextureJPG (const u8 *my_jpg) {
struct jpeg_decompress_struct cinfo; struct jpeg_decompress_struct cinfo;

View file

@ -128,7 +128,7 @@ typedef struct GRRLIB_drawSettings {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
/** /**
* Structure to hold the texture informations. * Structure to hold the texture information.
*/ */
typedef struct GRRLIB_texImg { typedef struct GRRLIB_texImg {
uint w; /**< Texture Width. */ 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 { typedef struct GRRLIB_bytemapChar {
u8 character; /**< Character identity. */ 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 typedef
struct GRRLIB_bytemapFont { struct GRRLIB_bytemapFont {

View file

@ -65,8 +65,8 @@ GRRLIB_blendMode GRRLIB_GetBlend (void) {
} }
/** /**
* Turn AntiAliasing on/off. * Turn anti-aliasing on/off.
* @param aa Set to true to enable AntiAliasing (Default: Enabled). * @param aa Set to true to enable anti-aliasing (Default: Enabled).
*/ */
INLINE INLINE
void GRRLIB_SetAntiAliasing (const bool aa) { void GRRLIB_SetAntiAliasing (const bool aa) {
@ -74,8 +74,8 @@ void GRRLIB_SetAntiAliasing (const bool aa) {
} }
/** /**
* Get current AntiAliasing setting. * Get current anti-aliasing setting.
* @return True if AntiAliasing is enabled. * @return True if anti-aliasing is enabled.
*/ */
INLINE INLINE
bool GRRLIB_GetAntiAliasing (void) { bool GRRLIB_GetAntiAliasing (void) {

View file

@ -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. * 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. * @param tex The texture to flush.
*/ */
INLINE INLINE