Commit graph

468 commits

Author SHA1 Message Date
Crayon2000
e27b278a05 [CHG] ScrShot using rmode->fbWidth, rmode->efbHeight instead of harcoded values. 2009-03-07 23:29:24 +00:00
Xane
f979db4aa4 [ADD] Added a basic struct for image settings.
[ADD] Added GRRLIB_SetAntiAlias to turn AntiAliasing on/off. It's enabled by default.
2009-03-07 23:25:23 +00:00
Xane
6c33b53d49 [CHG] When starting an GRRLIB application, the last rendered screen won't display for a split second anymore. 2009-03-07 22:34:44 +00:00
Xane
fc6019ae7b [CHG] Pure cosmetic update - Made the code more readable and fixed some spelling errors. 2009-03-07 22:21:43 +00:00
Xane
c2086fbf93 [CHG] GRRLIB_Exit - Now resets clipping and blacks out the screen before exiting BRRLIB mode.
[CHG] GRRLIB_Init - Made the orthogonal init automatic. (guOrtho)
2009-03-07 21:48:44 +00:00
Xane
6ff0332f42 - Made GRRLIB_LoadTextureJPG & GRRLIB_LoadTexturePNG accessible for public.
- Added GRRLIB_ClipDrawing.
- Added GRRLIB_ClipReset.
- Added GRRLIB_SetHandle.
- Added GRRLIB_SetMidHandle.
- Images can now rotate on a specified handle / hotspot. The default is 0x0 (top left). Can be centered using GRRLIB_SetMidHandle.
2009-03-07 21:19:17 +00:00
Crayon2000
977b523d70 [CHG] Moved "#include <ogc/conf.h>" from .h to .c 2009-03-06 05:07:50 +00:00
N0NameN0
989faaabcc [CHG] Add ScreenShot function and 16:9 correction 2009-03-05 23:40:10 +00:00
Crayon2000
346889e86b [CHG] RawTo4x4RGBA credited to the good person 2009-03-04 23:11:19 +00:00
Crayon2000
ecd85143e6 [CHG] Documentation improvement 2009-03-04 22:32:49 +00:00
Crayon2000
f3a8825d21 [NEW] GRRLIB_Circle function by Dark-Link 2009-02-28 03:57:19 +00:00
Crayon2000
971bc0f9b5 [CHG] Documentation improvement
[CHG] Avoid divisions by zero in GRRLIB_InitTileSet
2009-02-26 22:05:58 +00:00
Crayon2000
ca422e6867 [CHG] Static functions declare at the beginning of the file 2009-02-26 05:04:19 +00:00
Crayon2000
82532896e5 [CHG] Documentation improvement 2009-02-25 19:37:42 +00:00
Crayon2000
46c91a7703 [CHG] Documentation improvement 2009-02-25 06:01:52 +00:00
Crayon2000
0862cb893b [CHG] Formating the code 2009-02-25 05:29:47 +00:00
Crayon2000
8cc6db8605 [CHG] GRRLIB_LoadBMF is working, problem with palette is fixed but some cleaning is still required
[CHG] GRRLIB_FreeBMF is working too
2009-02-22 06:36:31 +00:00
Crayon2000
4d9046eade [CHG] GRRLIB_LoadTextureBMF is still in progress (problem with palette and
some cleaning is needed)
2009-02-20 06:48:07 +00:00
Crayon2000
a1edf64aac [CHG] Started function GRRLIB_LoadTextureBMF (just the beginning) 2009-02-17 05:46:16 +00:00
N0NameN0
3d92f40205 [CHG] Just a little docs error ;) 2009-02-16 23:41:25 +00:00
N0NameN0
9c6a0491eb [CHG] GRRLIB_LoadTexture now autodetect if its JPG or PNG
[DEL] GRRLIB_Credit is gone ;)
[CHG] Scatter removed from lesson1
2009-02-16 23:36:21 +00:00
Crayon2000
5f57f2e346 [NEW] GRRLIB_BMFX_FlipH and GRRLIB_BMFX_FlipV for flipping a texture 2009-02-16 04:38:16 +00:00
Crayon2000
14e4f60643 [CHG] All bitmap FX are in lesson 2. 2009-02-15 21:04:47 +00:00
N0NameN0
56682fa5ff [NEW] GRRLIB_BMFX_Pixelate and lesson3 to show how to use it ;) 2009-02-15 00:41:32 +00:00
N0NameN0
f457382f43 [NEW] GRRLIB_BMFX_Blur and lesson2 to show how to use it.
Take Care most BMFX are not provided to be used in real time, only to make precalc at code start ;)
2009-02-14 23:04:34 +00:00
Crayon2000
4349944ae7 [NEW] Function to invert all the colors of an image 2009-02-14 06:03:43 +00:00
N0NameN0
3b9d414405 [BUG] No More Memory leak in the Scatter BitMap FX ;) 2009-02-14 01:02:41 +00:00
Crayon2000
0405a57001 [CHG] Defined the path of GRRLIB in Makefiles for easier modification 2009-02-13 21:50:12 +00:00
Crayon2000
5f7b565656 [CHG] Moving stuff around (step 3) 2009-02-13 20:44:54 +00:00
Crayon2000
dcd647d69b [CHG] Moving stuff around (step 2) 2009-02-13 19:24:26 +00:00
Crayon2000
bad67ed1c1 [CHG] Moving stuff around (step 1) 2009-02-13 19:19:45 +00:00
N0NameN0
f36bd4409d [CHG] Added a minimum code template 2009-02-13 00:23:20 +00:00
N0NameN0
e3371b932c [BUG] Little Path correction ;) 2009-02-13 00:07:52 +00:00
N0NameN0
a90c97bb18 [CHG] Here is the new file organisation (easier to add more templates) 2009-02-12 23:57:32 +00:00
N0NameN0
dbaac5f6c5 Big Clean before new organisation ;) 2009-02-12 23:43:50 +00:00
N0NameN0
34d1f99199 [NEW] GRRLIB_Credit that you HAVE to call at least ONCE in your code to
respect author desire !! ( thanks to respect our work following this 
rule !!)
2009-02-10 01:18:02 +00:00
Crayon2000
108103ea2c [CHG] Documentation improvement 2009-02-09 23:27:39 +00:00
Crayon2000
67ab9e9829 [CHG] Pre-calculating stuff in GRRLIB_BMFX_Scatter
[CHG] Showing FPS on the template
2009-02-09 04:35:17 +00:00
N0NameN0
b4b26eff31 [NEW] GRRLIB_BMFX_Scatter (random mixing pixel)
I Detected there is memory leak somewhere !! have a look at link tiles 
! you will see erased part of the tileset (go up)
2009-02-08 16:50:08 +00:00
Crayon2000
53e761a9a8 [NEW] Function GRRLIB_FlushTex to flush a texture
[CHG] GRRLIB_GrayScale renamed to GRRLIB_BMFX_GrayScale
[CHG] GRRLIB_SetPixelTotexImg is not calling DCFlushRange any more
2009-02-06 20:41:33 +00:00
Crayon2000
2245c761f6 [NEW] GRRLIB_CreateEmptyTexture to create an empty texture
[NEW] GRRLIB_GrayScale to change a texture to gray scale
2009-02-06 03:36:42 +00:00
N0NameN0
fcf76f406b [CHG] main.c added a little fire effect to show use of get and set pixel
in texture buffer ;)
2009-02-05 23:12:52 +00:00
N0NameN0
e3e8ed4df7 [CHG] Little optimisation on GRRLIB_GetPixelFromtexImg and
GRRLIB_SetPixelTotexImg
2009-02-05 22:14:27 +00:00
N0NameN0
c8276275ea [BUG] GRRLIB_GetPixelFromtexImg and GRRLIB_SetPixelTotexImg now WORKING
!!
2009-02-05 21:27:48 +00:00
Crayon2000
324f4792e8 [CHG] Added some comments 2009-02-04 22:52:16 +00:00
N0NameN0
c0ababb4e4 [NEW] GRRLIB_GetPixelFromtexImg and GRRLIB_SetPixelTotexImg !!!! BUGGED DO NOT USE until working ;) !!! 2009-02-04 21:46:11 +00:00
Crayon2000
0bcea42377 [CHG] All 16 HTML 4.01 color names are in the template
[NEW] ASCII font for the template
2009-02-02 03:36:02 +00:00
Crayon2000
188c9790b8 [CHG] Template has a GRRLIB_NGoneFilled example and text with alpha 2009-01-28 06:37:03 +00:00
Crayon2000
141e14ed07 [NEW] GRRLIB_RectInRect and GRRLIB_RectOnRect 2009-01-27 06:05:28 +00:00
Crayon2000
58226d57ae [CHG] Image is now transparent 2009-01-26 16:09:52 +00:00