Data Structures | Defines | Typedefs | Enumerations | Functions | Variables

grrlib.h File Reference

GRRLIB user include file. More...

#include <gccore.h>
#include "grrlib/GRRLIB__lib.h"
#include "grrlib/GRRLIB__inline.h"

Data Structures

struct  GRRLIB_drawSettings
 Structure to hold the current drawing settings. More...
struct  GRRLIB_texImg
 Structure to hold the texture information. More...
struct  GRRLIB_bytemapChar
 Structure to hold the bytemap character information. More...
struct  GRRLIB_bytemapFont
 Structure to hold the bytemap font information. More...
struct  GRRLIB_Font
 Structure to hold the TTF information. More...

Defines

#define GRRLIB_VER_STRING   "4.3.1"
 Version information for GRRLIB.
#define R(c)   (((c) >>24) &0xFF)
 Exract Red component of colour.
#define G(c)   (((c) >>16) &0xFF)
 Exract Green component of colour.
#define B(c)   (((c) >> 8) &0xFF)
 Exract Blue component of colour.
#define A(c)   ( (c) &0xFF)
 Exract Alpha component of colour.
#define RGBA(r, g, b, a)
 Build an RGB pixel from components.
#define GRRLIB_BLEND_NONE   (GRRLIB_BLEND_ALPHA)
 Alias for GRRLIB_BLEND_ALPHA.
#define GRRLIB_BLEND_LIGHT   (GRRLIB_BLEND_ADD)
 Alias for GRRLIB_BLEND_ADD.
#define GRRLIB_BLEND_SHADE   (GRRLIB_BLEND_MULTI)
 Alias for GRRLIB_BLEND_MULTI.
#define GRR_EXTERN   extern
#define GRR_INIT(v)
#define GRR_INITS(...)
#define INLINE   inline

Typedefs

typedef unsigned int uint
 The uint keyword signifies an integral type.
typedef enum GRRLIB_blendMode GRRLIB_blendMode
 GRRLIB Blending Modes.
typedef struct GRRLIB_drawSettings GRRLIB_drawSettings
 Structure to hold the current drawing settings.
typedef struct GRRLIB_texImg GRRLIB_texImg
 Structure to hold the texture information.
typedef struct GRRLIB_bytemapChar GRRLIB_bytemapChar
 Structure to hold the bytemap character information.
typedef struct GRRLIB_bytemapFont GRRLIB_bytemapFont
 Structure to hold the bytemap font information.
typedef struct GRRLIB_Font GRRLIB_ttfFont
 Structure to hold the TTF information.

Enumerations

enum  GRRLIB_blendMode {
  GRRLIB_BLEND_ALPHA = 0, GRRLIB_BLEND_ADD = 1, GRRLIB_BLEND_SCREEN = 2, GRRLIB_BLEND_MULTI = 3,
  GRRLIB_BLEND_INV = 4
}
 

GRRLIB Blending Modes.

More...

Functions

GRR_EXTERN void *xfb[2] GRR_INITS (NULL, NULL)
GRR_EXTERN u32 fb GRR_INIT (0)

Variables

GRR_EXTERN GXRModeObj * rmode

Detailed Description

GRRLIB user include file.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines