GRRLIB 4.5.0
Loading...
Searching...
No Matches
Data Structures | Macros | 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...
 

Macros

#define GRRLIB_VER_STRING   "4.5.0"
 Version information for GRRLIB.
 
#define R(c)   (((c) >>24) &0xFF)
 Extract red component of colour.
 
#define G(c)   (((c) >>16) &0xFF)
 Extract green component of colour.
 
#define B(c)   (((c) >> 8) &0xFF)
 Extract blue component of colour.
 
#define A(c)   ( (c) &0xFF)
 Extract 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   static inline
 

Typedefs

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
 Video mode.
 

Detailed Description

GRRLIB user include file.