Commit Graph

177 Commits

Author SHA1 Message Date
giantpune
4ea4576e02 fix bug in game carousel. 2009-06-06 18:10:20 +00:00
dimok321
32144f46f9 *Whole new GlobalSettingsMenu arrangement (thx to dj_skull for his idea and plan (issue 433))
*Lots of small fixes
*Added Error002fix selection in GameSettings

**NOTE 1: You might want to delete your Configfiles before using this new Rev.

**NOTE 2: Known issue with Settings is that WiiMotePointer is sometimes being displaced. I am searching for the reason right now.
2009-06-06 17:26:52 +00:00
dimok321
1e665874ba *Fixed codedumps at startup 2009-06-05 15:43:32 +00:00
hungyip
3887824fde Optimized and Refactored some codes. Did not do any test on it so it might break the settings feature. Please report on issues if any settings feature is broken 2009-06-04 01:04:23 +00:00
ardi@ist-einmalig.de
904fda37d4 NOTE: this commit requires "make clean" and the new libfat (see Downloads libfat-01-06-2009)
* clean up the wild mounts and unmounts (this and the new libfat fix the download-bug)
* reorganize shutdowns and reboots use now the functions Sys_Reboot(), Sys_Shutdown(), Sys_ShutdownToIdel(), Sys_ShutdownToStandby() and Sys_BackToLoader()
  this functions stops the GUI-Thread, Shutdowns the Audio, Video, WPad and unmounts the SD and USB
2009-06-01 15:50:18 +00:00
dimok321
976ea2041c *Changed the code for CreditsWindow
*Added ButtonsHold and ButtonsPressed functions
*Some cleanups
2009-06-01 13:35:43 +00:00
mauricewoelk
24d98683b3 just some small fixes
*added RemoveSoundClick to guibutton prototype
*removed the click sound from Wii/Home button
*applied widescreen fix to arrow buttons in caroselle and grid
2009-06-01 12:15:27 +00:00
dimok321
f2822719b1 *Fixed settings codedumps and other codedumps with carousel and grid (oh boy we had so many memory mess up stuff) 2009-06-01 08:45:51 +00:00
giantpune
99cd6f420e added clock_color, settingstext_color, gamegrid_coords, and gamecarousel_coords. settings color affects every customoptionbrowser text. gamegrid and gamecarousel coords are 4 variables. the first 2 are x/y. the second really just mover the arrows in relation to the gameboxes for now. 2009-06-01 03:49:50 +00:00
dimok321
550b792db9 *Some more memory clear before gamestart 2009-05-31 22:44:40 +00:00
dimok321
1ffee5a484 *Found and fixed bug with Memory for Carousel (also was one in Grid)
*Added Carousel back in
*Changed UMS Heapsize which increases compatibility for some HDD Devices with cIOS38 Rev12

**NOTE: If anyone encounters any HDD detection problems which start from this rev on, make an issue and we can revert that thing.
2009-05-31 21:40:22 +00:00
dimok321
e8de174866 *Fixed gamebrowser wrong DPAD behaviour after switching from Carousell
*Fixed browsers not getting darker when going into HOME Menu
*Removed MP3 Menu
*Added Patch Country Strings (thanks to WiiPower and SoftChip Team)
Note: "This is an option for import games only. If you have problems with that try this option. Mostly japanese users need that.

*some other small fixes

**Note 2: Right now the loader is having some issue with IOS Reload. If you initialized network and try to run a game and its not working its due to that bug. I am trying to find why it isnt working right now. FreetypGX is making codedumps on there sometimes (ardi look into it you missed something).

** Also there is a new libogc in our download in which there are new libfat and libogc files. If you had issues with SD they might now be fixed, so try it out.
2009-05-30 16:58:34 +00:00
DRayX7
95c7c51355 *Forgot to uncomment a few lines I commented out for testing 2009-05-30 03:07:34 +00:00
DRayX7
52a1eed0b0 *Added the carousel to the GUI.
*Fixed a bunch of bugs in the carousel.
*Changed the filenames for the carousel images to the spelling used everywhere else.
2009-05-30 03:02:41 +00:00
ardi@ist-einmalig.de
a5ec5c9d63 *add scrolling Text to the GuiCostomOptionBrowser (now shown full Paths)
*add GuiText::SetTextf(format, ...); Set formatet text like printf
2009-05-29 13:20:28 +00:00
DRayX7
cf1a8fb5a0 **Changes
*Fixed effect GOROUND so that it doesn't cause alignment issues anymore (the format for this effect is very different than it originally was, if you plan on using it for something, look at the documentation in gui.h.
*Major revamp of gui_gamecarousel (everything is awesome and perfect, except it still can't launch games, and thus it is still not in the gui).

**gui_gamecarousel Notes:
*You can use the same technique as last time to test the carousel (except I recommend adding startat and offset to the line since I added support for it).
*I realized not everyone will agree for my choice of curvature and spacing for the games on the carousel, so I made them variable.  At the top of gui_gamecarousel.cpp are a bunch of definitions that set up these values.
*SCALE determines the size of the game boxes.
*DEG_OFFSET is the number of degrees between the boxes (remember, changing the RADIUS will affect the linear distance each degree represents).
*RADIUS determines the curvature of the arc (higher radius makes it less curved).
*IN_SPEED determines the speed at which the boxes come in (higher number makes it faster).
*SHFIT_SPEED determines the speed at which the boxes move when you turn the carousel.
*PAGESIZE determines how many boxes are drawn (remember, the number of visible boxes is determined by DEG_OFFSET and RADIUS, with the default values you can see 7).
*Everything eles (the animations, position of the movement buttons, etc.) is automatically determined from these values (my 8th grade math teacher was right, trig isn't totally worthless), so you shouldn't need to change anything at all, except the aforementioned values (or the b0rken game launching code).
*If you find a set of values you think looks better than mine, post a picture and the list of values in an issue or on IRC.
*These will probably become theamable at some point, but I figure we should get this added to the gui first (I was hoping to do it tonight, but some stuff came up, and I need to go to bed).

Wow I write really long commit notes.
2009-05-29 05:27:29 +00:00
giantpune
1faa39a755 fix issue 370, issue 376, issue 374, issue 372, and issue 358. created a new function to remove soundover from buttons. 2009-05-28 23:18:37 +00:00
giantpune
518858a351 changed the keyboard to use the new button constructors. fixed bug in one of the button over image. commented and documented the new button shit. 2009-05-28 22:23:20 +00:00
giantpune
b81c8af3e9 added language definitions for some new update windows. added 2 new constructors for buttons so is takes 1 line of code to make a button and not 7. switched most of menu.cpp to the new buttons. remove the "exit to loader" btn if not launched from HBC. 2009-05-28 16:30:01 +00:00
ardi@ist-einmalig.de
45ae32f0cd commit my stuff again and fix it (no more codedumps on the Download) 2009-05-28 15:36:45 +00:00
dimok321
f793af2d39 *Added Update Button to the Settings which can Update to newer Revs (only seen when in UnlockMode)
**Big Thanks to CorneliousJD for Hosting the DOLs)**

*Reverted ardi's stuff which made codedumps on the Download (sorry ardi commit it again when its fixed)
2009-05-28 12:12:52 +00:00
DRayX7
aaa2a3f25f **Changes
*Modified EFFECT_GOROUND so that it takes a center of rotation, angles work properly, and things don't move back.
*Updated the gui_gamecarousel files so that they are functional, shouldn't have any more code dumps, and use the EFFECT_GOROUND.
*The carousel button doesn't do anything anymore (since GOROUND was changed so much)

**Notes
*The easiest way test the carousel is to change guiGameGrid to guiGameCarousel in source/menu.cpp.
*If you compile with no modifications, the only noticeable difference is that the carousel button does nothing.

**Known Bugs in gui_gamecarousel
*The images dont line up horizontally (when shifting left they go too far left, and the same for shifting right). I think there is a rounding bug somewhere in GOROUND (I already fixed several).
*Cant hold down left and right to scroll yet
*Launching a game only works if the pointer is over two boxes
*If an image is growing when the carousel is turned, that button disapears
*If an image is grown when the carousel is turned, it wont shrink back
2009-05-28 01:46:05 +00:00
dimok321
94a8ccc7c1 *Added simultanious angle change to EFFECT_GOROUND (to test click on carousellbtn) 2009-05-27 17:16:36 +00:00
DRayX7
78a9822e1a *Added very basic gui_gamecarousel files based on punes code. This esentially dosen't work at all yet, but I thought I would put them up since I'm going to bed soon. 2009-05-27 08:51:39 +00:00
dimok321
73dada56a8 *Changed the EFFECT_GOROUND (press carousel button to test it) 2009-05-27 08:41:05 +00:00
DRayX7
cbaf4d6832 *Fixed an issue with the gamebrowser 2009-05-27 00:45:00 +00:00
dimok321
899502b766 *Fixed some Themeprompts problems thx to julienstephan
*Added new effects (EFFECT_PULSE, EFFECT_GOROUND and EFFECT_ROCK_VERTICLE)
2009-05-26 22:48:20 +00:00
ardi@ist-einmalig.de
516baef59f * some bugfixes in FreeTypeGX (no springing text by scrolling)
* add 4 FTGX_ALIGN_... Modes
* scrolling now pixel by pixel (softscrolling)
2009-05-26 21:54:30 +00:00
dimok321
1c0ecfd589 *Fixes for Grid (not yet completly done) 2009-05-25 17:59:28 +00:00
dimok321
305dc85fc3 *Some fixes and cleanups for the GRID (still has a lot of issues dont make new issues about it. going to go on fixing later) 2009-05-25 13:31:48 +00:00
giantpune
e60695332e added grid display (still has mucho buggos so don't make issues of them) added azerty keyboard and other small stuff. 2009-05-25 12:10:34 +00:00
dimok321
c6fdedb008 *Added wiilight settings to turn on/off and install only (issue 211)
*Added DefaultSettings Button and a DefaultGameSettings Button.
*Fixed OGG Menu to not codedump on path change and auto add '/' if not entered like on paths
*Some small fixes
2009-05-23 22:23:24 +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
DRayX7
1bb2aa7f85 Forgot something in last rev. 2009-05-22 18:31:51 +00:00
DRayX7
d21fcfac8e *Fixed the code dump from r389 2009-05-22 18:22:23 +00:00
DRayX7
306644b518 *Fixed code dumps related to showing only favorites
*Fixed having no games installed and removed the old workaround
2009-05-21 23:32:32 +00:00
ardi@ist-einmalig.de
93aadca881 fix underscore bug and remove old workarounds 2009-05-21 23:12:00 +00:00
DRayX7
59905d623d *Better fix for zero entries (fixes teh problem instead of avoiding it)
*Moved a button
2009-05-21 18:26:01 +00:00
dimok321
4cb00becda *Fix of favorite crash with zero entries.
*Added some missing languages.
2009-05-21 18:13:37 +00:00
dimok321
f08ed3d245 *Fixed options clicking problem (didnt work sometimes)
*Added dummy star pngs which will be replaced later
*New languagefile
*Changed the cfg to treat all the files as Textfiles and not as binary.
2009-05-21 14:05:30 +00:00
DRayX7
e6daf212bd * Added a button to game prompts to make a game a favorite.
* Game prompt now displays how many times a game has been played. (cap of 255 will be fixed)
* Added buton on main window to view only favorited games. (Known Bug: If this button is pressed with no favorite games, the loader will crash)
2009-05-21 08:56:23 +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
dimok321
d7350ff386 *Little fixes.
*Language files.
2009-05-20 08:03:22 +00:00
dimok321
71c288f0a2 *Added new custom backgroundmusic Menu (the music has to be in OGG Format. if you remove the path to the music the standard of the GUi is loaded right now)
*Added languagefiles again
*Added some new Languagevariables which will be added to wiki tommorow
2009-05-20 00:03:43 +00:00
dimok321
2ad2c5d1b8 *Added German languagefile (final v1 by Amarabha)
*Fixed Creditscrash (noticed that giantpune can't count lol)
*Fixed European Keyboard missplaced
*Pimped the Home Menu (sound and stuff and a lot of fixes)
*Fixed last compile warning thx to DRayX7
*Added S.Chinese Unicode Fix thx to pc9528
2009-05-18 20:00:29 +00:00
giantpune
f975fff261 added DVORAK and QWERTZ keyboards. QWERTZ has alt keys to produce enough accents for everybody to be happy. 2009-05-17 04:02:52 +00:00
dimok321
4581890650 *Fixed install bug when 0 Games are on the HDD 2009-05-15 20:35:08 +00:00
giantpune
e843d9a3be apply underscore fix to gamelist and game prompt. Fix bugs in mp3 player. 2009-05-13 19:03:21 +00:00
giantpune
9ee6729e7f fix underscore bug in keyboard and mp3 list. 2009-05-13 18:14:45 +00:00
dimok321
bcff8dfd58 *Added MP3 functions and MP3 Menu
DON'T USE IT ITS STILL BUGGY. DON'T MAKE ISSUES ABOUT IT.
2009-05-13 15:56:16 +00:00
giantpune
557f82d138 Added function to remove GuiTrigger (dimok). played with the settings tabs and triggers. 2009-05-13 06:48:30 +00:00
giantpune
fe926e0eb4 Made theme setting to define max characters for game list. Use "maxcharacters = ##" in theme.txt. Default is 36. This does not affect for the title appears anywhere but the game list. 2009-05-13 05:41:49 +00:00
giantpune
4093776c3b Change the scrollbar behavior based on the pagesize in theme. 2009-05-12 07:02:17 +00:00
thedarkness1981
d3d8b79873 fixed issue255 2009-05-11 23:57:43 +00:00
giantpune
5d973af02f Changed prototype for OnScreenKeyboard. It now accepts minimum entry length to keep people from removing any part of "SD:/" and crashing when trying to download. Also added clear button to delete all text back to the set minimum. 2009-05-11 23:26:39 +00:00
ardi@ist-einmalig.de
fc20580add Fixed thi Install-Bug ... i think 2009-05-11 18:45:33 +00:00
rameonweb
319c82e588 *change the keyboard graphics for more wii-ish look
*delete keyboard_mediumkey_over.png and keyboard_largekey_over.png
2009-05-11 16:30:14 +00:00
giantpune
2a2eeeebbc Fixed the scrollbar better with the cursor when dragging it. Tested fine with 30, 60, 150, and 200 in the gamelist. 2009-05-11 11:39:21 +00:00
ardi@ist-einmalig.de
d71d7775b4 disabled mutex/lock because of problems with FW 4.0 2009-05-08 21:02:41 +00:00
dimok321
728f0ab124 *Reverted to the Widescreen size of Rev295 (this looks better) 2009-05-08 18:17:26 +00:00
ardi@ist-einmalig.de
339ea60337 remove old ToolTip-Code 2009-05-08 14:23:05 +00:00
ardi@ist-einmalig.de
6e3f50efeb new Tooltip-Handling, change Widescreen-sizing to mathematically correct value (0.75 alias 1.333), new Clock-Font 2009-05-07 22:46:54 +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
giantpune
1de9437e61 added option to toggle the widescreen fix for prompts/buttons. 2009-05-06 11:09:32 +00:00
hungyip
c7ffd0ad09 Added pagesize option (number of entries displayed in the gamelist) 2009-05-06 04:52:44 +00:00
ardi@ist-einmalig.de
28c51cd5e8 2009-05-05 18:17:59 +00:00
dimok321
7ed41e0491 *Added tooltip to scrollbararrows and Tabs in settings. 2009-05-05 17:24:19 +00:00
giantpune
8edbd2e1b1 Align keyboard with background better 2009-05-05 09:06:11 +00:00
giantpune
20cb3c9e93 Hopefully fixed erratic click detection in settings. 2009-05-05 08:04:07 +00:00
hungyip
ce921b5bb9 1. Added custom images for game setting screen (you could use a different background for game settings now. You need to have gamesettings_background.png and bg_options_gamesettings.png
2. Added custom game list color (gametext_color = r, g, b)
2009-05-05 02:56:01 +00:00
thedarkness1981
4db969442c Fixed CreditWíndow, changed sdcard logo size 2009-05-05 01:35:41 +00:00
giantpune
23715cdbd8 change wbackground to align with buttons. remove settings and buttons while using the keyboard from the settings menu. set up page tabs in settings menu. if we decide to keep it, more time can be spent on the graphics. 2009-05-05 00:11:00 +00:00
ardi@ist-einmalig.de
a00104784f Added a special font for the clock 2009-05-04 21:50:46 +00:00
ardi@ist-einmalig.de
fc549f113f Adds a second drawing-pass for drawing tooltips. Now tooltips allways on top and no more overlapped by other buttons. 2009-05-04 19:06:16 +00:00
giantpune
f69bfb6421 Annotated code to make it easier to read. No functional changes. 2009-05-04 03:45:45 +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