Commit graph

314 commits

Author SHA1 Message Date
Crayon2000
f9e3976fd5 [CHG] Code formatting 2010-04-29 19:36:03 +00:00
N0NameN0
04cec42e7c [CHG] GRRLIB_GetPixelFromFB now use a real way to get it ;)
[ADD] GRRLIB_SetPixelToFB
2010-04-29 18:20:15 +00:00
N0NameN0
46a2297aa6 [ADD] GRRLIB_ObjectViewInv (see doc for info)
[CHG] Improve GRRLIB_ObjectView
[ADD] 3D_Light2 to show use of GRRLIB_ObjectViewInv
2010-04-29 17:37:00 +00:00
Crayon2000
c53ff66250 [CHG] zlib was updated to version 1.2.5 2010-04-23 15:32:57 +00:00
Crayon2000
f7facc091d [CHG] New way to install GRRLIB 2010-04-08 23:13:49 +00:00
Crayon2000
174dd71c43 [CHG] Libraries that have dependencies (libpng and libpngu) now look in the GRRLIB lib folder before looking in the libogc folder 2010-04-08 21:04:48 +00:00
Crayon2000
38a76e29e7 [CHG] Formating 2010-04-06 17:04:57 +00:00
N0NameN0
16c25c1ed2 [CHG] function GRRLIB_3dMode color paramter removed since you now MUST pass vertex color !!
[ADD] Diffuse light function GRRLIB_SetLightDiff
[ADD] GRRLIB_SetLightAmbiant
[ADD] GRRLIB_SetLightOff
[ADD] A simple Diffuse lights sample code (Two lights)
2010-04-06 11:23:31 +00:00
Crayon2000
af6f13de76 [CHG] FreeType is now completely supply as source code 2010-04-05 03:40:19 +00:00
Crayon2000
e44d549caf [CHG] Deleted the lib version of FreeType 2010-04-05 02:00:45 +00:00
Crayon2000
6fc312d5e6 [CHG] FreeType is not needed in grrlib.h anymore 2010-03-25 22:34:10 +00:00
Crayon2000
bc56c46e25 [CHG] minigzip.c is not required 2010-03-25 21:01:57 +00:00
Crayon2000
c93415652a [NEW] zlib 1.2.4 was added to the project since it's not included with libogc anymore (required for libpng) 2010-03-24 22:13:18 +00:00
Crayon2000
30ef11837d [CHG] Fixed a problem with the documentation (introduced in r327) 2010-03-11 14:12:55 +00:00
Crayon2000
293e965965 [CHG] Nothing important, branch update 2010-03-11 03:32:05 +00:00
Crayon2000
c138b0ede2 [CHG] Stop including all inline header files in the doc (duplicate declaration)
[CHG] Added the "Modules" section in the doc with all the functions in GRRLIB
2010-03-05 00:00:07 +00:00
Crayon2000
5d28586ff2 [CHG] Moved some structure to proper place
[CHG] Documentation improvement
2010-03-04 20:14:57 +00:00
Crayon2000
2dc838cb2b [CHG] Makefiles are using same var name as in devkitPro to make them easier to modify 2010-03-03 23:30:49 +00:00
Crayon2000
16c95a073b [CHG] libjpeg updated to version 8a 2010-03-03 17:20:40 +00:00
Crayon2000
a165aba62e [CHG] libpng updated to version 1.4.1 2010-03-02 22:29:19 +00:00
Crayon2000
a932d3ad7c [CHG] Improve documentation a bit 2010-02-22 22:28:20 +00:00
Crayon2000
607a2e1966 [CHG] ftmodule.h is not needed since it's generated automatically 2010-02-18 17:12:30 +00:00
Crayon2000
b1b3b20d24 [CHG] Changed a couple of Makefile for FreeType 2010-02-16 22:20:09 +00:00
Crayon2000
5965330dc8 [CHG] Deleted some unused files in FreeType source folder 2010-02-16 05:37:35 +00:00
Crayon2000
07a6685a0e [NEW] Including FreeType 2.3.12 source code (not fully tested and not incorporated into main Makefile) 2010-02-15 23:53:41 +00:00
Crayon2000
1f6319f005 [CHG] Makefile for libjpeg 2010-02-15 22:41:50 +00:00
Crayon2000
3fc551e45e [CHG] Small speed improvement in TTF code (R, G and B are only calculated once for every character) 2010-02-10 23:42:32 +00:00
Crayon2000
f04aced37f [BUG] Problem with GRAYSCALE JPEG image. (Solved by DrTwox) 2010-02-08 16:25:50 +00:00
Crayon2000
e498015d61 [CHG] Disabled warnings when compiling libjpeg 2010-01-29 03:59:18 +00:00
Crayon2000
51b9df752c [CHG] Cleaning 2010-01-28 23:48:26 +00:00
Crayon2000
66a4d2e5fb [CHG] libjpeg is now distributed as source code. Version 8 is now used instead of 6b 2010-01-28 23:20:30 +00:00
Crayon2000
c1f5de97c8 [CHG] Micro-optimization 2010-01-25 21:26:45 +00:00
Crayon2000
c7eef805bc [CHG] Optimization 2010-01-19 23:03:16 +00:00
Crayon2000
8789bd4ba6 [CHG] pngu.c does not required to include gx.h anymore
[BUG] Fixed some examples using GRRLIB_ScrShot
2010-01-19 05:09:58 +00:00
Crayon2000
1e066f3877 [CHG] Now using libpng 1.4.0 (for more info: http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt) 2010-01-18 05:45:08 +00:00
Crayon2000
1012d5a101 [CHG] pngtest.c was deleted (not needed to build libpng) 2010-01-18 05:02:30 +00:00
N0NameN0
a46deda984 [DEL] in GRRLIB_3D.c All Light functions (uggly way to provide light imho)
[ADD] NEED_GRRLIB_FUNCTION a sample demo code that can be a base to code new functions !! i really need help on this !!
2010-01-17 17:34:17 +00:00
Crayon2000
8d1b10574e [CHG] TTF functions are now using RGBA color instead of RGB 2010-01-15 06:55:22 +00:00
Crayon2000
2dbb1380df [CHG] More protection to TTF functions
[NEW] Added FPS in the TTF example
2010-01-11 21:48:01 +00:00
Crayon2000
ad300e55d8 [CHG] Typos in comments 2010-01-09 02:41:47 +00:00
Crayon2000
3a88515815 [CHG] Cleaning code, I replaced all " ;" with ";" 2010-01-08 23:00:07 +00:00
Crayon2000
14bdb68481 [CHG] Refactoring 2010-01-07 23:50:52 +00:00
Crayon2000
4ab8726ffe [CHG] Updated the README.html file 2010-01-07 00:03:56 +00:00
N0NameN0
96783d84bb [ADD] Adding GRRLIB_DrawCylinder
[CHG] Light/Primitive Demo code
2010-01-06 18:18:43 +00:00
Crayon2000
6847fba41f [CHG] libpng updated to version 1.2.42 2010-01-06 17:42:22 +00:00
Crayon2000
de118ab6f2 [CHG] libpng is now distributed with code and not a complied library 2010-01-06 17:34:06 +00:00
N0NameN0
899f7f1d47 [ADD] Adding GRRLIB_DrawCube
[CHG] Adding a cube to the primitive/light demo code
2010-01-06 14:08:06 +00:00
N0NameN0
d352bd354d [ADD] Adding GRRLIB_DrawSphere
[CHG] Light and primitive demo to add a sphere
2010-01-06 13:35:27 +00:00
N0NameN0
864f2610e9 [ADD] Added GRRLIB_DrawTorus, our first primitive !!! 2010-01-06 09:25:28 +00:00
Crayon2000
42d7917d0d [CHG] TTF example is more complete
[BUG] In the 3D test branch the model could be draw with color and texture (order is: position / normal / color / texture)
[CHG] In the 3D test branch the example is now using lights
2010-01-06 04:56:37 +00:00
Crayon2000
25876beeb9 [CHG] Files cleanup 2010-01-05 22:28:13 +00:00
N0NameN0
dd1aa7045f [ADD] First Diffuse Light functions (lot of work need about light in general...)
[ADD] a Diffuse Light sample code (3 lights sources)
2010-01-05 21:39:31 +00:00
Crayon2000
5344e1db1b [BUG] FreeType lib was missing
[CHG] Linux lib installer updated with FreeType installation
2010-01-05 21:09:20 +00:00
Crayon2000
cfaec61cd9 [CHG] Adjust some types for BMF functions
[CHG] Clean the 3D_test branch
2010-01-05 03:08:16 +00:00
Crayon2000
03c4b47695 [CHG] Code formatting 2010-01-04 21:43:12 +00:00
Crayon2000
5deb38d502 [CHG] Copyright date changed to 2010 2010-01-04 03:48:33 +00:00
Crayon2000
0d760f99d4 [NEW] FreeType support now available (first support) 2010-01-04 03:28:25 +00:00
Crayon2000
81c3a5650f [BUG] Corrected a problem introduced by me :( 2009-12-29 02:42:25 +00:00
Crayon2000
67b39ed470 [CHG] Deleted the lib-conversion branch, not needed anymore
[CHG] Started code for materials in GRRLIB_3Dobj.c
[BUG] Problem fixed in Draw3dObj
2009-12-22 22:58:24 +00:00
Crayon2000
c9ff17bda5 [CHG] Code format 2009-12-22 03:04:34 +00:00
Crayon2000
a0396c8d42 [CHG] Code format 2009-12-22 02:31:14 +00:00
Crayon2000
47ed2a0092 [CHG] Typo in a message 2009-12-18 04:41:04 +00:00
Crayon2000
a63ddb2133 [NEW] Installer for FreeType 2009-12-17 03:19:32 +00:00
Crayon2000
c63ad06ac9 [CHG] Function should start with upper case character 2009-12-15 22:51:39 +00:00
Crayon2000
e51984ed9b [NEW] GRRLIB_LoadTextureJPGEx, uses the size parameter 2009-12-15 18:27:31 +00:00
Crayon2000
c77528dd8d [CHG] Doc improvement 2009-12-15 17:31:32 +00:00
Crayon2000
c3abfa5247 [CHG] Now talking about 3D 2009-12-14 23:14:17 +00:00
Crayon2000
7c0e6017b6 [CHG] Changed path to template code 2009-12-14 04:30:05 +00:00
Crayon2000
9e187ac8bc [NEW] New logo
[CHG] lesson2 renamed bitmap_fx
[CHG] Version is now 4.2.0
2009-12-10 22:08:28 +00:00
Crayon2000
3eed382e82 [CHG] Doc improvement 2009-12-08 17:47:51 +00:00
Crayon2000
b3619a5e35 [CHG] License was missing in two files 2009-12-08 01:26:04 +00:00
Crayon2000
75ee3e2fa3 [CHG] GRRLIB_PrintBMF prints directly to the screen instead of using a temporary texture. If you need a texture use GRRLIB_CompoStart and GRRLIB_CompoEnd. 2009-12-08 01:18:40 +00:00
Crayon2000
b00ef0f50f [CHG] Cleanup (part 2) 2009-12-07 02:15:48 +00:00
N0NameN0
cb372b9231 [ADD] Adding first support to 3D functions, sample code will follow. 2009-12-06 16:32:09 +00:00
N0NameN0
bf8a78ffac [CHG] Remove the "trash" occurence to a clean way to clear EFB 2009-12-05 23:43:13 +00:00
N0NameN0
8ede687af8 [ADD] USB_Gecko ouput facilities. 2009-12-05 14:42:00 +00:00
Crayon2000
9a4bdc04ae [CHG] Added the Links section to the doc main page 2009-12-04 23:55:51 +00:00
N0NameN0
b17f304c17 [CHG] When GRRLIB_Settings.antialias = false; we now also do not antialias verticaly
[CHG] Change nonameno02 sample code to fit this change.
2009-12-04 23:03:57 +00:00
Crayon2000
0d0ae2ca97 [NEW] Added a define with the version as a string (GRRLIB_VER_STRING) 2009-12-03 00:08:19 +00:00
N0NameN0
5761644fe8 [CHG] RollBack to version before latest Xanares change (global settings stuff) finally not added in this project. Sorry, Mass request ;) 2009-12-02 19:16:28 +00:00
Crayon2000
5da7abd4bc [CHG] PNGU_EncodeFromEFB (take two) 2009-12-01 20:42:43 +00:00
Crayon2000
10aee9c66b [CHG] Modify GRRLIB_ScrShot to work with EFB (maybe...) 2009-12-01 20:20:16 +00:00
Crayon2000
740a81df7e [CHG] Cleanup 2009-11-26 22:46:24 +00:00
N0NameN0
a3024c20b7 [ADD] GRRLIB_CompoStart and GRRLIB_CompoEnd for Real GX compositing
[ADD] Compositing Sample Code
[CHG] Ported nonameno03 sample code to new the setting variable fashion
2009-11-26 21:56:20 +00:00
Crayon2000
4a4a931797 [CHG] No need to include base_rules in Makefile now that dekitPro 18 is needed to compile the library 2009-11-26 19:52:20 +00:00
Crayon2000
a9a83f9c98 [CHG] Installation of GRRLIB now works from path with whitespace 2009-11-26 17:20:28 +00:00
N0NameN0
412723840c [CHG] Cancel GRRLIB_Init latest modification to make it another better way in next commit 2009-11-26 09:06:01 +00:00
Crayon2000
bb7e859fd6 [CHG] Documentation error 2009-11-25 23:49:26 +00:00
Crayon2000
44b84e6152 [CHG] The GRRLIB_GetColor function was deleted, the RGBA macro should be used instead 2009-11-25 23:25:26 +00:00
Crayon2000
f314c0521f [CHG] GRRLIB_Screen2Texture should be used for composition, NoNameNo will make a demo soon 2009-11-25 21:25:17 +00:00
N0NameN0
d747469c4d [CHG] GRRLIB_Init forced to specific pixelfmt, copyclear alpha to 0, GX_PokeAlphaRead to none. (all this for real alphaed compositing) 2009-11-25 20:59:15 +00:00
Crayon2000
fc3c97d90d [CHG] Replaced tabs with spaces
[CHG] Adapted lesson1
2009-11-25 05:14:28 +00:00
Xane
9e0b0182a9 [ADD] Added several new functions to change drawing settings like Color, Scale and Rotation for all following drawing commands.
[CHG] Changed all drawing commands accordingly to make use of the settings by the functions specified above.
[NOTE] All examples will have to be adopted to the changed as well, it isn't much of work I might as well do it myself later.
2009-11-24 21:15:35 +00:00
Crayon2000
28e2fcd9f0 [CHG] Inline warnings are gone (temp fix???) 2009-11-24 17:50:19 +00:00
Crayon2000
97ff10fadc [CHG] The template example is now included in the documentation 2009-11-23 23:38:46 +00:00
Crayon2000
8770af329b [CHG] Doc improvement (again) 2009-11-16 21:34:47 +00:00
Crayon2000
848a2c102f [CHG] Doc improvement 2009-11-16 20:35:23 +00:00
Crayon2000
c95a8eacb2 [NEW] Support for MS-Windows Bitmap format uncompressed (1 bit, 4 bits, 8 bits, 24 bits and 32 bits) 2009-11-13 13:38:01 +00:00
Crayon2000
f725d47aad [CHG] Code is a bit simpler (1 line instead of 2) 2009-11-12 03:36:48 +00:00
Crayon2000
49ffb512b5 [CHG] Doc improvement 2009-11-11 23:52:36 +00:00
N0NameN0
8f2e7413e5 [CHG] Optimization in tile calculation
i only modded DrawTile, if this mod is ok for all and fully tested
we need to make this change to all functions the needs calculation like this.
(drawpart, drawtilequad, etc...)
2009-11-10 09:50:41 +00:00
Crayon2000
db1246ce52 [CHG] Clean comments for doc 2009-11-09 02:36:22 +00:00
N0NameN0
54a20ad5ca [CHG] Modded Screen2Texture to be able to specify parameters
with this change you can make real GX compositing now ;)
2009-11-08 16:54:14 +00:00
Crayon2000
167bc0b7e3 [CHG] Undo r192 for backward compatibility 2009-11-08 02:37:11 +00:00
N0NameN0
c86e2a8d70 [ADD] GRRLIB_DrawPart to draw a specific part of a Texture. 2009-11-07 13:26:03 +00:00
Crayon2000
3aa0b23d8f [CHG] GRRLIB_FillScreen is now using GX_SetCopyClear instead of calling GRRLIB_Rectangle 2009-11-06 23:43:55 +00:00
Crayon2000
2e8876f899 [CHG] GRRLIB_Rectangle is calling directly GX_Begin/GX_End
[CHG] Documentation improvement
2009-11-06 22:55:01 +00:00
Crayon2000
0ac411a9e8 [CHG] Using some macro to make the code easier to read 2009-11-06 16:58:14 +00:00
Crayon2000
3121e1061a [CHG] Deleted __HAVE_GRRLIB__ because it was not used. If someone need it, just replace it with __GRRLIB_H__ 2009-11-04 17:32:41 +00:00
Crayon2000
0e015068fe [CHG] Typo in GRRLIB_DrawImg and DrawTile (scaleX should be scaleY) 2009-10-30 05:45:02 +00:00
Crayon2000
0c784c800d [BUG] template was not working on devkitPro 18
[CHG] pngu.h is needed in GRRLIB_texSetup.h for GRRLIB_ScrShot
[CHG] pngu.h and jpeglib.h are not needed in GRRLIB_texSetup.h
2009-10-21 01:34:15 +00:00
Crayon2000
01adcdf9b9 [CHG] math.h is not needed in GRRLIB_fbSimple.h 2009-10-20 22:21:01 +00:00
Crayon2000
1e84350468 [CHG] libpng 1.2.29 updated to version 1.2.40 2009-10-18 04:12:45 +00:00
Crayon2000
4f5fbbf2d4 [CHG] Change the definition of GRRLIB_ScrShot. Screenshots could be created on other interfaces than SD card. 2009-10-16 22:31:32 +00:00
Crayon2000
414ccec0f5 [BUG] Corrected bug #5 submitted by imruon 2009-10-16 21:38:40 +00:00
Crayon2000
fff851b34b [CHG] Deleted the Temporary fix (-DNOGUFIX) 2009-10-16 20:59:08 +00:00
Crayon2000
8c05d9ac06 [CHG] Renamed GRRLIB.html to README.html
[CHG] Deleted the "Temporary fix" README.txt, not needed with devkitPro 18
2009-10-15 14:52:42 +00:00
Crayon2000
fc00cfff24 [BUG] Correct the problem reported by flarup during installation 2009-10-09 17:22:05 +00:00
Crayon2000
b7151bcad5 [CHG] Corrected some typos in descriptions 2009-10-06 18:07:03 +00:00
Crayon2000
5d4eec691b [CHG] Library installation script is improved (batch file) 2009-09-18 22:55:49 +00:00
csBlueChip
42b1a60bdb [Issue #4] corrected headers 2009-09-13 18:19:07 +00:00
csBlueChip
4278542057 [CHG] Modified SetPixel() and GetPixel() so they each request half the number of RAM accesses 2009-09-13 18:07:03 +00:00
csBlueChip
f127a121ee [CHG] Corrected \n\r EOL markers to \n and renamed "makefile"'s to Makefile 2009-09-13 14:27:01 +00:00
csBlueChip
b56e7e6672 renamed -readme- file to avoid confusion in linux 2009-09-13 03:58:16 +00:00
Crayon2000
b96657178f [CHG] Blend mode functions now using GRRLIB_blendMode 2009-09-09 21:35:32 +00:00
Crayon2000
70ece3cdc5 [BUG] Fixed issue #2 2009-09-09 15:04:23 +00:00
csBlueChip
e0433ecf89 Minor documentation corrections 2009-09-08 09:31:06 +00:00
csBlueChip
1c10e17780 [CHG] Fix critical bug introduced in 151 2009-09-05 17:05:31 +00:00
Crayon2000
622e74b66c [CHG] Nothing important (code formating) 2009-09-04 16:13:51 +00:00
csBlueChip
b6e0bef531 [ADD] Added sepia function 2009-09-04 15:29:38 +00:00
Crayon2000
f57e01bcfe [CHG] Some parameters were missing for doxygen documentation 2009-09-04 14:10:38 +00:00
csBlueChip
c81b5bacb3 /more/ whitespace cleanup 2009-09-03 03:09:02 +00:00
csBlueChip
1951835c9d More whitespace changes & comments 2009-09-03 02:58:58 +00:00
csBlueChip
9bd2aebaec [CHG] Whitespace - A single line of code should NEVER reach 300 characters without SOME formatting! 2009-09-03 01:15:41 +00:00
csBlueChip
10a1148791 Added some comments to Init() 2009-09-02 15:34:46 +00:00
Xane
3d12a4f77e [CHG] Adjusted the visible screen width for 4:3 screens also, circles should now look like circles... 2009-09-01 00:19:00 +00:00
csBlueChip
9373faaf5e [ADD} Added fileIO functions from Addon (and ensured all examples still compile) 2009-08-30 21:44:05 +00:00
csBlueChip
159f56e252 [CHG] You should not cast malloc/calloc/realloc/etc ...if you compiler is returning errors - include the right header file! (normally stdlib) 2009-08-30 21:20:00 +00:00
Crayon2000
b46057fff7 [CHG] Some doxygen improvement 2009-08-28 18:11:33 +00:00
csBlueChip
ccb6ec7cf5 [CHG] Ensure Init and Exit do not call twice - also return something useful from Init if it fails 2009-08-28 15:04:43 +00:00
csBlueChip
34e06e1dab [CHG] Another NULL pointer check 2009-08-28 14:35:05 +00:00
Crayon2000
34a1991cd9 [CHG] Make sure a NULL pointer is not free'd 2009-08-26 01:59:16 +00:00
Crayon2000
c8abda9052 [CHG] GRRLIB_Compose is now using 4 spaces for tabs (instead of 2) 2009-08-25 00:53:43 +00:00
csBlueChip
08c03a8de9 Completed doxygen headers for .h files 2009-08-23 16:19:21 +00:00
csBlueChip
982f5bf140 remove GRRLIB_addon from main GRRLIB directory to the nonameno03 example code ... some of the functionality of the the addon code is expected to be ported back to the GRRLIB main library 2009-08-23 14:48:04 +00:00
Crayon2000
96a383a4b1 [CHG] Now using doxygen 1.6.0 with search enabled (file description are still missing) 2009-08-22 15:45:24 +00:00
csBlueChip
25900af95f [CHG] Corrected credits (sorry Crayon) 2009-08-20 09:21:01 +00:00
Crayon2000
a1d7b870cd [CHG] Code formatting, not that much ;) 2009-08-19 23:13:44 +00:00
csBlueChip
adb741ccf6 [CHG] Implemented JESPA's optimised plot and line algorithms 2009-08-19 21:40:13 +00:00
Crayon2000
515b4a994a [CHG] Modification for Doxygen documentation 2009-08-19 17:47:29 +00:00