[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.
* @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[] ) {

View file

@ -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;

View file

@ -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;

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 {
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 {

View file

@ -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) {