diff --git a/PDF-documentation.pdf b/PDF-documentation.pdf index 68b2093..fa1b8d7 100644 Binary files a/PDF-documentation.pdf and b/PDF-documentation.pdf differ diff --git a/_g_r_r_l_i_b____inline_8h.html b/_g_r_r_l_i_b____inline_8h.html index 74e5b68..cb4d80e 100644 --- a/_g_r_r_l_i_b____inline_8h.html +++ b/_g_r_r_l_i_b____inline_8h.html @@ -91,9 +91,9 @@ Functions INLINE void GRRLIB_ClipReset (void)  Reset the clipping to normal.
  -INLINE void GRRLIB_ClipDrawing (const int x, const int y, const int width, const int height) - Clip the drawing area to an rectangle. More...
-  +INLINE void GRRLIB_ClipDrawing (const u32 x, const u32 y, const u32 width, const u32 height) + Clip the drawing area to an rectangle. More...
+  INLINE bool GRRLIB_PtInRect (const int hotx, const int hoty, const int hotw, const int hoth, const int wpadx, const int wpady)  Determine whether the specified point lies within the specified rectangle. More...
  @@ -103,18 +103,18 @@ INLINE void INLINE bool GRRLIB_RectOnRect (const int rect1x, const int rect1y, const int rect1w, const int rect1h, const int rect2x, const int rect2y, const int rect2w, const int rect2h)  Determine whether a part of a specified rectangle lies on another rectangle. More...
  -INLINE void GRRLIB_NPlot (const guVector v[], const u32 color[], const long n) - Draw an array of points. More...
-  -INLINE void GRRLIB_NGone (const guVector v[], const u32 color[], const long n) - Draw a polygon. More...
-  -INLINE void GRRLIB_NGoneFilled (const guVector v[], const u32 color[], const long n) - Draw a filled polygon. More...
-  -INLINE void GRRLIB_GXEngine (const guVector v[], const u32 color[], const long n, const u8 fmt) - Draws a vector. More...
-  +INLINE void GRRLIB_NPlot (const guVector v[], const u32 color[], const u16 n) + Draw an array of points. More...
+  +INLINE void GRRLIB_NGone (const guVector v[], const u32 color[], const u16 n) + Draw a polygon. More...
+  +INLINE void GRRLIB_NGoneFilled (const guVector v[], const u32 color[], const u16 n) + Draw a filled polygon. More...
+  +INLINE void GRRLIB_GXEngine (const guVector v[], const u32 color[], const u16 n, const u8 fmt) + Draws a vector. More...
+  INLINE void GRRLIB_FillScreen (const u32 color)  Clear screen with a specific color. More...
  diff --git a/_g_r_r_l_i_b____lib_8h.html b/_g_r_r_l_i_b____lib_8h.html index 37e3ffe..5770ce1 100644 --- a/_g_r_r_l_i_b____lib_8h.html +++ b/_g_r_r_l_i_b____lib_8h.html @@ -160,15 +160,15 @@ Functions void GRRLIB_Render (void)  Call this function after drawing.
  -void GRRLIB_Screen2Texture (int posx, int posy, GRRLIB_texImg *tex, bool clear) - Make a snapshot of the screen in a texture WITHOUT ALPHA LAYER. More...
-  +void GRRLIB_Screen2Texture (u16 posx, u16 posy, GRRLIB_texImg *tex, bool clear) + Make a snapshot of the screen in a texture WITHOUT ALPHA LAYER. More...
+  void GRRLIB_CompoStart (void)  Start GX compositing process. More...
  -void GRRLIB_CompoEnd (int posx, int posy, GRRLIB_texImg *tex) - End GX compositing process (Make a snapshot of the screen in a texture WITH ALPHA LAYER). More...
-  +void GRRLIB_CompoEnd (u16 posx, u16 posy, GRRLIB_texImg *tex) + End GX compositing process (Make a snapshot of the screen in a texture WITH ALPHA LAYER). More...
GRRLIB_texImgGRRLIB_CreateEmptyTexture (const u32 width, const u32 height)  Create an empty texture. More...
  @@ -181,9 +181,9 @@ void GRRLIB_texImgGRRLIB_LoadTextureJPG (const u8 *my_jpg)  Load a texture from a buffer. More...
  -GRRLIB_texImgGRRLIB_LoadTextureJPGEx (const u8 *my_jpg, const int my_size) - Load a texture from a buffer. More...
-  +GRRLIB_texImgGRRLIB_LoadTextureJPGEx (const u8 *my_jpg, const u32 my_size) + Load a texture from a buffer. More...
GRRLIB_texImgGRRLIB_LoadTextureBMP (const u8 *my_bmp)  Load a texture from a buffer. More...
  @@ -241,12 +241,12 @@ void void GRRLIB_DrawCube (f32 size, bool filled, u32 col)  Draw a cube (with normal). More...
  -void GRRLIB_DrawCylinder (f32 r, f32 h, int d, bool filled, u32 col) - Draw a cylinder (with normal). More...
-  -void GRRLIB_DrawCone (f32 r, f32 h, int d, bool filled, u32 col) - Draw a cone (with normal). More...
-  +void GRRLIB_DrawCylinder (f32 r, f32 h, u16 d, bool filled, u32 col) + Draw a cylinder (with normal). More...
+  +void GRRLIB_DrawCone (f32 r, f32 h, u16 d, bool filled, u32 col) + Draw a cone (with normal). More...
+  void GRRLIB_DrawTessPanel (f32 w, f32 wstep, f32 h, f32 hstep, bool filled, u32 col)  Draw a Tesselated panel (with normal). More...
  diff --git a/globals.html b/globals.html index 4115aac..158be67 100644 --- a/globals.html +++ b/globals.html @@ -155,13 +155,13 @@ $(function() { : GRRLIB__inline.h
  • GRRLIB_ClipDrawing() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_ClipReset() : GRRLIB__inline.h
  • GRRLIB_CompoEnd() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_CompoStart() : GRRLIB__lib.h @@ -170,13 +170,13 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_DrawCone() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_DrawCube() : GRRLIB__lib.h
  • GRRLIB_DrawCylinder() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_DrawImg() : GRRLIB__lib.h @@ -245,7 +245,7 @@ $(function() { : GRRLIB__inline.h
  • GRRLIB_GXEngine() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_Init() : GRRLIB__lib.h @@ -275,7 +275,7 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_LoadTextureJPGEx() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_LoadTexturePNG() : GRRLIB__lib.h @@ -287,13 +287,13 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_NGone() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_NGoneFilled() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_NPlot() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_ObjectView() : GRRLIB__lib.h @@ -347,7 +347,7 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_Screen2Texture() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_ScrShot() : GRRLIB__lib.h diff --git a/globals_func.html b/globals_func.html index 4fd49a8..17feb43 100644 --- a/globals_func.html +++ b/globals_func.html @@ -105,13 +105,13 @@ $(function() { : GRRLIB__inline.h
  • GRRLIB_ClipDrawing() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_ClipReset() : GRRLIB__inline.h
  • GRRLIB_CompoEnd() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_CompoStart() : GRRLIB__lib.h @@ -120,13 +120,13 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_DrawCone() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_DrawCube() : GRRLIB__lib.h
  • GRRLIB_DrawCylinder() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_DrawImg() : GRRLIB__lib.h @@ -192,7 +192,7 @@ $(function() { : GRRLIB__inline.h
  • GRRLIB_GXEngine() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_Init() : GRRLIB__lib.h @@ -222,7 +222,7 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_LoadTextureJPGEx() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_LoadTexturePNG() : GRRLIB__lib.h @@ -234,13 +234,13 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_NGone() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_NGoneFilled() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_NPlot() -: GRRLIB__inline.h +: GRRLIB__inline.h
  • GRRLIB_ObjectView() : GRRLIB__lib.h @@ -294,7 +294,7 @@ $(function() { : GRRLIB__lib.h
  • GRRLIB_Screen2Texture() -: GRRLIB__lib.h +: GRRLIB__lib.h
  • GRRLIB_ScrShot() : GRRLIB__lib.h diff --git a/group___all_func.html b/group___all_func.html index b02459c..2f8544a 100644 --- a/group___all_func.html +++ b/group___all_func.html @@ -198,9 +198,9 @@ GRR_EXTERN u32 fb GRR_INIT INLINE void GRRLIB_ClipReset (void)  Reset the clipping to normal.
      -INLINE void GRRLIB_ClipDrawing (const int x, const int y, const int width, const int height) - Clip the drawing area to an rectangle. More...
    -  +INLINE void GRRLIB_ClipDrawing (const u32 x, const u32 y, const u32 width, const u32 height) + Clip the drawing area to an rectangle. More...
    +  INLINE bool GRRLIB_PtInRect (const int hotx, const int hoty, const int hotw, const int hoth, const int wpadx, const int wpady)  Determine whether the specified point lies within the specified rectangle. More...
      @@ -210,18 +210,18 @@ INLINE void INLINE bool GRRLIB_RectOnRect (const int rect1x, const int rect1y, const int rect1w, const int rect1h, const int rect2x, const int rect2y, const int rect2w, const int rect2h)  Determine whether a part of a specified rectangle lies on another rectangle. More...
      -INLINE void GRRLIB_NPlot (const guVector v[], const u32 color[], const long n) - Draw an array of points. More...
    -  -INLINE void GRRLIB_NGone (const guVector v[], const u32 color[], const long n) - Draw a polygon. More...
    -  -INLINE void GRRLIB_NGoneFilled (const guVector v[], const u32 color[], const long n) - Draw a filled polygon. More...
    -  -INLINE void GRRLIB_GXEngine (const guVector v[], const u32 color[], const long n, const u8 fmt) - Draws a vector. More...
    -  +INLINE void GRRLIB_NPlot (const guVector v[], const u32 color[], const u16 n) + Draw an array of points. More...
    +  +INLINE void GRRLIB_NGone (const guVector v[], const u32 color[], const u16 n) + Draw a polygon. More...
    +  +INLINE void GRRLIB_NGoneFilled (const guVector v[], const u32 color[], const u16 n) + Draw a filled polygon. More...
    +  +INLINE void GRRLIB_GXEngine (const guVector v[], const u32 color[], const u16 n, const u8 fmt) + Draws a vector. More...
    +  INLINE void GRRLIB_FillScreen (const u32 color)  Clear screen with a specific color. More...
      @@ -355,15 +355,15 @@ INLINE void GRRLIB_Render (void)  Call this function after drawing.
      -void GRRLIB_Screen2Texture (int posx, int posy, GRRLIB_texImg *tex, bool clear) - Make a snapshot of the screen in a texture WITHOUT ALPHA LAYER. More...
    -  +void GRRLIB_Screen2Texture (u16 posx, u16 posy, GRRLIB_texImg *tex, bool clear) + Make a snapshot of the screen in a texture WITHOUT ALPHA LAYER. More...
    +  void GRRLIB_CompoStart (void)  Start GX compositing process. More...
      -void GRRLIB_CompoEnd (int posx, int posy, GRRLIB_texImg *tex) - End GX compositing process (Make a snapshot of the screen in a texture WITH ALPHA LAYER). More...
    -  +void GRRLIB_CompoEnd (u16 posx, u16 posy, GRRLIB_texImg *tex) + End GX compositing process (Make a snapshot of the screen in a texture WITH ALPHA LAYER). More...
    GRRLIB_texImgGRRLIB_CreateEmptyTexture (const u32 width, const u32 height)  Create an empty texture. More...
      @@ -376,9 +376,9 @@ void GRRLIB_texImgGRRLIB_LoadTextureJPG (const u8 *my_jpg)  Load a texture from a buffer. More...
      -GRRLIB_texImgGRRLIB_LoadTextureJPGEx (const u8 *my_jpg, const int my_size) - Load a texture from a buffer. More...
    -  +GRRLIB_texImgGRRLIB_LoadTextureJPGEx (const u8 *my_jpg, const u32 my_size) + Load a texture from a buffer. More...
    GRRLIB_texImgGRRLIB_LoadTextureBMP (const u8 *my_bmp)  Load a texture from a buffer. More...
      @@ -436,12 +436,12 @@ void void GRRLIB_DrawCube (f32 size, bool filled, u32 col)  Draw a cube (with normal). More...
      -void GRRLIB_DrawCylinder (f32 r, f32 h, int d, bool filled, u32 col) - Draw a cylinder (with normal). More...
    -  -void GRRLIB_DrawCone (f32 r, f32 h, int d, bool filled, u32 col) - Draw a cone (with normal). More...
    -  +void GRRLIB_DrawCylinder (f32 r, f32 h, u16 d, bool filled, u32 col) + Draw a cylinder (with normal). More...
    +  +void GRRLIB_DrawCone (f32 r, f32 h, u16 d, bool filled, u32 col) + Draw a cone (with normal). More...
    +  void GRRLIB_DrawTessPanel (f32 w, f32 wstep, f32 h, f32 hstep, bool filled, u32 col)  Draw a Tesselated panel (with normal). More...
      @@ -1130,8 +1130,8 @@ GRR_EXTERN GXRModeObj *  - -

    ◆ GRRLIB_ClipDrawing()

    + +

    ◆ GRRLIB_ClipDrawing()

    - -

    ◆ GRRLIB_CompoEnd()

    + +

    ◆ GRRLIB_CompoEnd()

    - -

    ◆ GRRLIB_DrawCone()

    + +

    ◆ GRRLIB_DrawCone()

    @@ -1306,7 +1306,7 @@ GRR_EXTERN GXRModeObj *  - int  + u16  d, @@ -1387,8 +1387,8 @@ GRR_EXTERN GXRModeObj * 
    - -

    ◆ GRRLIB_DrawCylinder()

    + +

    ◆ GRRLIB_DrawCylinder()

    @@ -1408,7 +1408,7 @@ GRR_EXTERN GXRModeObj *  - int  + u16  d, @@ -2381,8 +2381,8 @@ GRR_EXTERN GXRModeObj * 
    - -

    ◆ GRRLIB_GXEngine()

    + +

    ◆ GRRLIB_GXEngine()

    - -

    ◆ GRRLIB_LoadTextureJPGEx()

    + +

    ◆ GRRLIB_LoadTextureJPGEx()

    - -

    ◆ GRRLIB_NGone()

    + +

    ◆ GRRLIB_NGone()

    - -

    ◆ GRRLIB_NGoneFilled()

    + +

    ◆ GRRLIB_NGoneFilled()

    - -

    ◆ GRRLIB_NPlot()

    + +

    ◆ GRRLIB_NPlot()

  • Fixed compatibility issues with devkitPPC release 39.
  • Added GRRLIB_LoadTTFFromFile() to load a TTF from a file.
  • Added GRRLIB_Ellipse() to draw an ellipse.
  • -
  • Fixed documentation for GRRLIB_Camera3dSettings(), GRRLIB_Screen2Texture() and GRRLIB_CompoEnd().
  • +
  • Changed function arguments types in a few functions.
  • +
  • Fixed documentation for GRRLIB_Camera3dSettings(), GRRLIB_Screen2Texture() and GRRLIB_CompoEnd().
  • 4.4.1 - 2021-03-05