Commit graph

149 commits

Author SHA1 Message Date
Crayon2000
38a76e29e7 [CHG] Formating 2010-04-06 17:04:57 +00:00
N0NameN0
5c15af3217 [CHG] Improve a little bit 3D_Light1 sample code 2010-04-06 11:39:21 +00:00
N0NameN0
ff547d7787 [CHG] Improve and comment 3D_Light1 sample code 2010-04-06 11:36:38 +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
b7eb66f7d0 [CHG] Files did not include math.h but were using sin 2010-03-11 03:01:31 +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
f229e1b581 [CHG] Added a timestamp to the screenshot function in the TTF example 2010-01-18 03:25:39 +00:00
N0NameN0
d58f2d2c76 [CHG] Comment typo 2010-01-17 17:38:40 +00:00
N0NameN0
99a0351914 [DEL] removed two old test files 2010-01-17 17:35:34 +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
N0NameN0
8f7e79ab29 [DEL] Light Sample since i dont like the way i defined light fonctions 2010-01-17 17:13:05 +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
3a88515815 [CHG] Cleaning code, I replaced all " ;" with ";" 2010-01-08 23:00:07 +00:00
N0NameN0
a4699e1780 [CHG] Just a simple printf modification 2010-01-06 18:27:55 +00:00
N0NameN0
96783d84bb [ADD] Adding GRRLIB_DrawCylinder
[CHG] Light/Primitive Demo code
2010-01-06 18:18:43 +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
45a9b43afb [CHG] Fixed all compil error due to latest commit 2010-01-05 22:04:33 +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
0d760f99d4 [NEW] FreeType support now available (first support) 2010-01-04 03:28:25 +00:00
Crayon2000
c9ff17bda5 [CHG] Code format 2009-12-22 03:04:34 +00:00
Crayon2000
2cb06234ba [CHG] Dol files are not needed anymore. Compile them if you need them ;) 2009-12-16 20:15:11 +00:00
N0NameN0
01d32586cc [ADD] All samples .dol to permit everyone to test them without compil them (only here for release 4.2.0) 2009-12-16 09:39:22 +00:00
Crayon2000
c63ad06ac9 [CHG] Function should start with upper case character 2009-12-15 22:51:39 +00:00
Crayon2000
bd928df11b [CHG] Cleanup examples 2009-12-15 22:32:21 +00:00
N0NameN0
d2355216d2 [ADD] 3D_CubedTileDemo : to show Dynamic Texturing 2009-12-15 21:56:25 +00:00
Crayon2000
280538ebec [CHG] Cleanup 2009-12-15 21:43:57 +00:00
N0NameN0
d61ac3d4d8 [CHG] Deletion of old png 2009-12-15 21:05:03 +00:00
N0NameN0
db28d10416 [ADD] TileDemo : How to use Tiles/Tilset for Demo or Game 2009-12-15 21:02:44 +00:00
Crayon2000
fca67fc044 [CHG] Cleanup 2009-12-15 20:02:26 +00:00
N0NameN0
4ea093ca25 [ADD] funsin : a nice gradient sinusoid example 2009-12-15 19:20:56 +00:00
N0NameN0
22e432e3d4 [ADD] unlimited3D sample code, based on the 2D version 2009-12-15 19:06:53 +00:00
N0NameN0
80877d8fee [CHG] Improve Compositing sample 2009-12-15 18:46:54 +00:00
N0NameN0
33405a6e70 [ADD] 3D_sample4 : a more complex 3D object rotating 2009-12-15 18:18:48 +00:00
Crayon2000
c77528dd8d [CHG] Doc improvement 2009-12-15 17:31:32 +00:00
Crayon2000
37077c8da9 [CHG] Nothing important ;) 2009-12-15 15:53:58 +00:00
N0NameN0
29e6c6f8ec [ADD] unlimited2d : A technic to show how to draw unlimited number of 2D sprites 2009-12-15 13:55:14 +00:00
Crayon2000
c3abfa5247 [CHG] Now talking about 3D 2009-12-14 23:14:17 +00:00
Crayon2000
d6f2677fe9 [CHG] Renamed lesson1 => basic_drawing 2009-12-14 19:54:03 +00:00
Crayon2000
6a57f3125d [CHG] Template is now similar to the devkitPro template. 2009-12-14 04:18:12 +00:00
Crayon2000
5ae93469cc [CHG] Renamed 2 examples 2009-12-11 22:32:31 +00:00
Crayon2000
3a71ef517b [CHG] Tabs converted to spaces 2009-12-11 21:13:57 +00:00
Crayon2000
1d1b996a06 [BUG] GRRLIB_PrintBMF was changed, but not the demo 2009-12-11 21:04:56 +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
124e1473a7 [CHG] Same header was included twice 2009-12-09 01:42:43 +00:00
N0NameN0
2d6e85e740 [ADD] 3D_sample3 (Compositing Textured Cube, then SIN it). 2009-12-07 18:29:47 +00:00
Crayon2000
b00ef0f50f [CHG] Cleanup (part 2) 2009-12-07 02:15:48 +00:00
Crayon2000
73e5367e4b [CHG] Cleanup 2009-12-06 23:12:49 +00:00
N0NameN0
9b73645f0e [CHG] 3D_sample1 to add text display
[ADD] 3D_sample2 : Simple 3D Textured Cube sample code.
2009-12-06 20:16:00 +00:00
N0NameN0
d40b41e2ea [CHG] Remove old noname0X sample codes
[ADD] Simple flat shaded cube sample code.
2009-12-06 18:41:29 +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
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
f314c0521f [CHG] GRRLIB_Screen2Texture should be used for composition, NoNameNo will make a demo soon 2009-11-25 21:25:17 +00:00
Crayon2000
57524607cf [CHG] All examples have been updated (except nonameno03) 2009-11-25 19:38:04 +00:00
Crayon2000
fc3c97d90d [CHG] Replaced tabs with spaces
[CHG] Adapted lesson1
2009-11-25 05:14:28 +00:00
Crayon2000
d6e07b3a68 [CHG] Example nonameno02 is now compiling 2009-11-23 19:50:36 +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
f31e16e0f5 [CHG] Using s8 instead of int for the page variable in lesson 2 2009-11-05 23:53:40 +00:00
Crayon2000
f4d8fa0fb9 [CHG] Added the sepia fx to lesson 2 2009-11-05 23:47:31 +00:00
Crayon2000
f35a165d94 [CHG] raw2c.exe is no longer distributed with the composition example 2009-11-03 15:59:22 +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
3319a09ccb [BUG] Examples have been updated to work with latest version of GRRLIB 2009-10-16 21:24:17 +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
9373faaf5e [ADD} Added fileIO functions from Addon (and ensured all examples still compile) 2009-08-30 21:44:05 +00:00
csBlueChip
b62e9d73bc Replaced the template makefile with a fully annotated makefile and addressed http://code.google.com/p/grrlib/issues/detail?id=3 2009-08-23 15:19:47 +00:00
csBlueChip
6120bbd7c3 Added extra documentation to template code 2009-08-23 14:59:48 +00:00
csBlueChip
bb50452422 Moved BlueChip's Composition demo directory to conform to the current standard naming convention 2009-08-23 14:50:26 +00:00
csBlueChip
90f29de2eb Moved GRRLIB_addon to nonameno03 example directory and tweaked the c and makefile to use it accordingly 2009-08-23 14:46:40 +00:00
csBlueChip
ace9d24f0c Included ScrShot from GRRLIB_addon as embedded code - cleaned headers and makefile to build with v4.1.0 2009-08-23 14:40:20 +00:00
csBlueChip
309547cb4d Cleaned examples top-level makefile - make all output is now separated and references to cvs are changed to svn 2009-08-23 14:38:45 +00:00
csBlueChip
c493224a34 Updated *most* examples to compile with grrlib 4.1.0 2009-08-20 22:05:44 +00:00
csBlueChip
ee128f47bc lib-conversion moved to trunk, version is now 4.1.0 2009-08-13 17:47:30 +00:00
Crayon2000
839240c498 [CHG] Code formating 2009-07-18 17:50:31 +00:00
N0NameN0
948bf1de99 [ADD] GRRLIB_DrawTileQuad()
[ADD] GRRLIB_addon_Init()
[ADD] GRRLIB_addon_Exit()
[ADD] GRRLIB_addon_Button
[ADD] nonameno03 sample code howto use button
[ADD] Font and button gfx for addon use
2009-03-22 23:51:26 +00:00
N0NameN0
609bc1b0e1 [CHG] Move GRRLIB_Screen2Texture to GRRLIB.C instead of addon
[ADD] A Sample Code to Show the GRRLIB_Screen2Texture conversion BUG
2009-03-22 23:04:46 +00:00
Crayon2000
83f0679add [BUG] Addon lib is working
[CHG] Added GRRLIB_ScrShot function to lesson1
2009-03-21 23:29:29 +00:00
Crayon2000
e9bb506e09 [CHG] Examples are using GRRLIB_FreeTexture 2009-03-17 03:38:34 +00:00
Xane
ab601411bd [NEW] Added another example showing a basic particle engine creating a smoke bomb. 2009-03-12 13:10:45 +00:00
Xane
67987d304b [NEW] Added an example showing the different blending modes.
[CHG] Updated all examples to work with the current revision.
[CHG] Optimized different things~
2009-03-11 17:23:41 +00:00
N0NameN0
acd4ffb972 [CHG] change u32 color to an array for differents primitive allowing
better control.
2009-03-09 14:17:05 +00:00
N0NameN0
5836c028de [NEW] GRRLIB_DrawImgQuad (+ new example nonameno01 how to use it)
but it seems a little distorted, perhaps need fix.
2009-03-08 18:56:05 +00:00
Crayon2000
f3a8825d21 [NEW] GRRLIB_Circle function by Dark-Link 2009-02-28 03:57:19 +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
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
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