mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-24 15:52:20 +00:00
[NEW] doxygen project is included
This commit is contained in:
parent
acd4ffb972
commit
a9c6b7043f
4 changed files with 1558 additions and 19 deletions
|
@ -45,7 +45,6 @@ bool GRRLIB_GetAntiAliasing() {
|
||||||
return GRRLIB_Settings.antialias;
|
return GRRLIB_Settings.antialias;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a blending mode.
|
* Set a blending mode.
|
||||||
* @param blendmode The blending mode to use (Default: GRRLIB_BLEND_ALPHA).
|
* @param blendmode The blending mode to use (Default: GRRLIB_BLEND_ALPHA).
|
||||||
|
@ -113,7 +112,6 @@ unsigned char GRRLIB_GetBlend() {
|
||||||
return GRRLIB_Settings.blend;
|
return GRRLIB_Settings.blend;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clear screen with a specific color.
|
* Clear screen with a specific color.
|
||||||
* @param color The color to use to fill the screen.
|
* @param color The color to use to fill the screen.
|
||||||
|
@ -236,7 +234,6 @@ void GRRLIB_NGoneFilled(Vector v[], u32 color[], long n) {
|
||||||
GRRLIB_GXEngine(v, color, n, GX_TRIANGLEFAN);
|
GRRLIB_GXEngine(v, color, n, GX_TRIANGLEFAN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a raw BMP (RGB, no alpha) to 4x4RGBA.
|
* Convert a raw BMP (RGB, no alpha) to 4x4RGBA.
|
||||||
* @author DragonMinded
|
* @author DragonMinded
|
||||||
|
@ -811,7 +808,7 @@ void GRRLIB_ClipReset() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a texture's X and Y handles (e.g. for rotation).
|
* Set a texture's X and Y handles. e.g. for rotation.
|
||||||
* @param tex The texture to set the handle on.
|
* @param tex The texture to set the handle on.
|
||||||
* @param x The x-coordinate of the handle.
|
* @param x The x-coordinate of the handle.
|
||||||
* @param y The y-coordinate of the handle.
|
* @param y The y-coordinate of the handle.
|
||||||
|
@ -827,8 +824,9 @@ void GRRLIB_SetHandle( struct GRRLIB_texImg * tex, int x, int y ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Center a texture's handles (e.g. for rotation).
|
* Center a texture's handles. e.g. for rotation.
|
||||||
* @param tex The texture to center.
|
* @param tex The texture to center.
|
||||||
|
* @param enabled
|
||||||
*/
|
*/
|
||||||
void GRRLIB_SetMidHandle( struct GRRLIB_texImg * tex, bool enabled ) {
|
void GRRLIB_SetMidHandle( struct GRRLIB_texImg * tex, bool enabled ) {
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
|
|
|
@ -23,10 +23,10 @@
|
||||||
/**
|
/**
|
||||||
* GRRLIB Blending Modes
|
* GRRLIB Blending Modes
|
||||||
*/
|
*/
|
||||||
#define GRRLIB_BLEND_ALPHA 0 /**< Alpha Blending */
|
#define GRRLIB_BLEND_ALPHA 0 /**< Alpha Blending. */
|
||||||
#define GRRLIB_BLEND_ADD 1 /**< Additive Blending */
|
#define GRRLIB_BLEND_ADD 1 /**< Additive Blending. */
|
||||||
#define GRRLIB_BLEND_SUB 2 /**< Subtractive Blending */
|
#define GRRLIB_BLEND_SUB 2 /**< Subtractive Blending. */
|
||||||
#define GRRLIB_BLEND_INV 3 /**< Invertive Blending */
|
#define GRRLIB_BLEND_INV 3 /**< Invertive Blending. */
|
||||||
#define GRRLIB_BLEND_NONE GRRLIB_BLEND_ALPHA
|
#define GRRLIB_BLEND_NONE GRRLIB_BLEND_ALPHA
|
||||||
#define GRRLIB_BLEND_LIGHT GRRLIB_BLEND_ADD
|
#define GRRLIB_BLEND_LIGHT GRRLIB_BLEND_ADD
|
||||||
#define GRRLIB_BLEND_SHADE GRRLIB_BLEND_SUB
|
#define GRRLIB_BLEND_SHADE GRRLIB_BLEND_SUB
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
*/
|
*/
|
||||||
typedef struct GRRLIB_drawSettings {
|
typedef struct GRRLIB_drawSettings {
|
||||||
bool antialias; /**< Flag for AntiAlias On/Off. */
|
bool antialias; /**< Flag for AntiAlias On/Off. */
|
||||||
unsigned char blend; /**< Blending Mode */
|
unsigned char blend; /**< Blending Mode. */
|
||||||
} GRRLIB_drawSettings;
|
} GRRLIB_drawSettings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -88,9 +88,9 @@ typedef struct GRRLIB_bytemapFont {
|
||||||
* Linked List to inherit all members of an GRRLIB struct.
|
* Linked List to inherit all members of an GRRLIB struct.
|
||||||
*/
|
*/
|
||||||
typedef struct GRRLIB_linkedList {
|
typedef struct GRRLIB_linkedList {
|
||||||
GRRLIB_texImg *texture; /**< GRRLIB Texture */
|
GRRLIB_texImg *texture; /**< GRRLIB Texture. */
|
||||||
int Num;
|
int Num;
|
||||||
struct GRRLIB_linkedList *next; /**< Pointer to next LinkedList */
|
struct GRRLIB_linkedList *next; /**< Pointer to next LinkedList. */
|
||||||
} GRRLIB_linkedList;
|
} GRRLIB_linkedList;
|
||||||
|
|
||||||
|
|
||||||
|
|
1541
grrlib.doxygen
Normal file
1541
grrlib.doxygen
Normal file
File diff suppressed because it is too large
Load diff
BIN
grrlib_logo.png
Normal file
BIN
grrlib_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Loading…
Reference in a new issue