Commit graph

12 commits

Author SHA1 Message Date
sepp256
5a2242e4b7 Added headers to some menuV1 source files. 2009-11-08 05:24:53 +00:00
sepp256
d6c777f57d Added credit screen function to GUI.
Usage:
 - add credits menu item which calls GUI_creditScreen() instead of GUI_draw() in a continuous loop until button A/B is pressed.
2007-12-31 20:57:37 +00:00
sepp256
78d4784cd2 Added GUI load progress bar and GUI toggle functions.
Usage:
call GUI_setLoadProg(percent) to set the bar
 set percent to -1 to not show bar
 set percent from 0~1.0 to show current load percentage

call GUI_toggle() as leaving and re-entering menu to clear the screen and come back to GUI
2007-12-30 21:40:00 +00:00
sepp256
e13d4ba16d Added a cool splash screen!
Features:
 - analog stick translates the logo
 - C-stick rotates the logo
 - press and release A to skip the splash screen
2007-12-23 08:36:50 +00:00
sepp256
2047713597 Updated GUI background and logo.
Reformatted GUI and DEBUG text slightly.
2007-12-22 23:33:58 +00:00
sepp256
b0352f07ac Implemented GUI_print colors.
Fixed a bug in GUI.c
Sometimes the GUI background doesn't update, again.  -> This will be resolved when we move GUI into the main() loop.
There is still a bug in DEBUG.c such that all DEBUG_text pointers are NULL.
2007-12-03 19:21:19 +00:00
sepp256
485a206fd6 Changed system font to be used as a texture for GUI, FPS, and DEBUG.
Fixed syntax error in DEBUG.c ln 85.
DEBUG_print doesn't seem to work because DEBUG_text seems to be all NULLs or empty strings.
Once DEBUG_print works, I'll make changes so that DEBUG is updated each VI.  Currently, DEBUG is updated every time a gfx list is executed.
2007-11-29 19:29:21 +00:00
sepp256
950b76ebd6 Implemented textures for 2D games and for Mario64. Blend and Combine modes need to be finished before Mario64 will look right in game. I temporarily chose a compromise for blend/combine modes. 2007-10-31 04:25:22 +00:00
sepp256
b5ddd522e1 Fixed the culling problem in game when using the GUI.
Fixed the textfilebrowser to display the correct number of lines and look nice.  A parameter now specifies the number of lines that fit on the screen.
2007-10-25 06:38:27 +00:00
sepp256
08eef29b5c Added 3D logo for gui.
Note that there is an issue with GX stalling when main() is busy.  However, I've worked around this for now so that only the 3D logo freezes.  I'll work more on this problem later.
Also, GUI_print still needs to be fixed.

Enjoy the GUI eye candy!  (Hint: try the C stick *wink*)
2007-10-23 04:39:37 +00:00
sepp256
b053ef8a68 Redesigned GUI so that it is now threaded.
There are bugs remaining in GUI_print:
1 - a string is not printed if ends in '\n' (I changed TEXT.c to add 1 to num_lines as a temporary fix
2 - the NULL char is not written at the end of a string, so that garbage text is shown from previous GUI_print calls
3 - the textptrs is also not sorted properly
2007-10-18 08:07:12 +00:00
sepp256
df7c0596ce This update includes the GX part of the GUI. I also changed some parameters in GUI and DEBUG functions. In order to display GUI for testing, uncomment the last 2 lines in main_gc.c. Also, be sure to check out the new Makefile if things don't compile. font.o is now a part of the main module. 2007-10-17 14:55:40 +00:00