Commit Graph

23 Commits

Author SHA1 Message Date
giantpune
f988afc60d code formatting. absolutely no functional changes. there is no point to update to this. just making the code easier to read. 2010-02-09 06:33:18 +00:00
dimok321
3f9cdb5468 *Revert to R883 and only keeping the new game directory layouts commited by r-win
*Moved R896 to the branch
2010-01-19 10:48:50 +00:00
dimok321
662266d3fd *Fixed the clicking problem and some speed issues because of that 2010-01-07 10:33:57 +00:00
dimok321
15bcbfa482 *Finished the background initialization thread for devices started by giantpune and merged it into trunk. Now you can startup the loader without a HDD. Also you can put in your device after startup and it will be recognized. Hot swapping not yet added (as in remove and than stick it in).
You will see the list of available channels on your system if you start without a HDD or if your HDD is slow and is being recognized late. The list of games is than reloading as soon as it is recognized.
*Hot swapping of the SD card was implemented into background thread (by giantpune)
*Made lots of cleanups and some fixes
*Format menu was moved to settings page 3 (only on godmode accessable)
*Added ScreenShot and Reset/Shutdown call to background thread. Removed the not needed ones. Now you can call for Screenshot/Reset/Shutdown anywhere in the loader (after gui is started).
2010-01-06 23:07:35 +00:00
dimok321
5058a6688d *Added a prompt after a theme was downloaded which asks if you want to apply the downloaded theme
*Changed GuiDrawThread priority to maximum. This seems to take care of the vanishing WiiMotePointer problem (let's see if it works. If anyone notices a slowdown of any process caused by this revision, please report.)
2009-12-28 16:05:16 +00:00
giantpune
999e8c1817 *add a little debug text after the GUI if loaded from HBC to help track
down the ocarina issues

*take the IOS reload out of the slow usb loop

*use patchhook.S from new geckoOS.  this doesnt mean all the new geckoOS
stuff will work, its just the S file
2009-12-24 08:33:53 +00:00
giantpune
cb628348d6 *fix possible buffer overflow in GCT code array
*fix the gamelist from starting with 1 game on the list
*added fucntion for making screenshots and put it in a few loops. 
triggers are GC(Z), CC(left-Z), nunchuk(Z).  no comfirmation is given
except over usb gecko.  but files are saved in <boot device>/config/
USBLoader_GX_screenshot<date><time>.png
*took out some annoying prompts from the bannersound functions because
they were really annoying
2009-12-20 04:26:30 +00:00
giantpune
55a401e4a5 lots of changes here
changed gprintf() to use crediar's method because it is smaller and works just the same.

allow r-win's debug printf() stuff to be sent to the gecko to reduce redundant stuff there 

issue 1073.  headless mode - allow game to be booted via argv[1].

took out all the params from the exitprompt since they aren't used.

took out all the #ifdef stuff for building for a wii.  obviously this wont run on a gamecube so it isn't needed.

added a way to check what version of a IOS is installed before trying to boot into it.  added IOS_ReloadIOSsafe(). this should stop idiots with the 4.2 stubs from bitching about why stuff doesn't work.

use that check so you only see the "222v4 is needed" prompt in the settings if you don't already have that installed.

fix issue 1039. (must still be compiled without NO_DEBUG defined because technically WiiRD is a debugger)
2009-12-03 01:06:09 +00:00
ardi@ist-einmalig.de
31cd4d03e2 revert dimok's stuff, because it makes too many trubble 2009-10-19 20:34:54 +00:00
dimok321
0c7ac826c3 Optimization Changes Part 2:
A few corrections to the changes in part 1:
*clock fix
*progressbar fix for language update
*GX DrawDone() changed
2009-10-17 22:50:42 +00:00
giantpune
30535c6f5d *code beautification*
formatted the code to make it easier to read.  no functional changes at all.

i didn't put anything from the libwiigui folder or banner folder in the beautifier.

my automated .bat seems to have done a good job.  the only places i see it fucked up was on (GXColor){blablabla}.  it treated the brackets in the color like all the other brackets and put the color on a new line and indented it.  i think i fixed most of them.  not sure if it messed up anywhere else.  also not sure about how it handled different linebreaks.  it looks fine on windows.  if it looks messed up on linux, it can be reverted.

the code still compiles and runs fine.
2009-07-30 05:41:12 +00:00
dimok321
47201c807a *Changes in the Banner Class. Now loading the TPL files into memory and display from there. 2009-07-19 17:48:15 +00:00
dimok321
928020b32f *Added AlternateDOL from disc feature
*Added Browser for AlternateDOL from disc feature

NOTE: Right now the browser isn't working right and crashing from time to time so you i would not recommend to use it yet. It's also showing all files on the disc for test purpose. I'll try to fix it later right now i don't have time for it.

*Changed some minor codes and moved cheats to its own folder
2009-07-15 17:20:45 +00:00
thedarkness1981
3906d0fe32 Added Menu_DrawTPL and Menu_DrawTPLMem
and Banner Class (WIP)
2009-07-13 00:57:30 +00:00
dimok321
a38c04d73a *Updated to new libogc (you need to update libogc files to be able to compile)
*Added Metaphrasis to the source instead of having it as lib
2009-07-08 21:25:35 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00
giantpune
d31a034d18 fixed some code dumps from the coverwall and the xml stuff. 2009-06-11 08:13:08 +00:00
giantpune
ad05aa93c1 Changed the game grid just a little bit. Press up/down to change the number of rows. if you have less that 42 or 16 games it wont let you use 3 or 2 rows respectively. ( at least that was the plan. it may not work that way.)
also made functions to skew buttons and images used for this.
2009-06-10 10:05:43 +00:00
ardi@ist-einmalig.de
5cf5cd6ae7 * added two new wrapmodes for gui_text "DOTTED" & "SCROLL"
- DOTTED: cuts the text and appends "..."
  - SCROLL: scrolls the text
* added dotted/scrolled text for gamebrowser, gamepromt and so on (more will come later)
* remove CFG.maxcharacters and THEME.maxcharacters (no more needed)
2009-05-22 22:36:55 +00:00
ardi@ist-einmalig.de
e42e38eca2 change Disk-Shadow (looks better) 2009-05-20 21:58:59 +00:00
ardi@ist-einmalig.de
52fbd15569 * add a nice effect for the GamePromt. To aktivate set in Setup: Flip-X=DiskFlip
* remove the Disk-Shadow from dialogue_box_startgame.png (themers will scream). The Shadow now drawing from Loader
* little changes for Widescreen-prompt-fix
2009-05-20 20:09:57 +00:00
ardi@ist-einmalig.de
1768998644 Added mutex/mutexlock to synchronize the GuiThreads and the MainThread, again clockfont edited (bearing of "1") 2009-05-06 22:36:28 +00:00
dimok321
c152f5c3d4 *Added Standard IOS option to global settings. This decides with what IOS the Loader is gonna boot next. 2009-05-03 18:53:31 +00:00