Commit Graph

207 Commits

Author SHA1 Message Date
dimok321
c4e10a5cb3 *Fixed isses 384, 387, 391 (maybe more not sure)
*Temporary fix for GameSettings not saved (hopefully now working for all)
2009-05-29 22:14:19 +00:00
dimok321
b3d51aa75f *Fixed issue 373, issue 383 and issue 385
*Hopefully fixed issue 380
2009-05-29 16:23:58 +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
0c2898ac21 made the sorting icons movable it theme file. favorite_coords, abc_coords, count_coords, grid_coords, carousel_coords, and sortBarOffset. sortBarOffset is the abount the buttons move to the left when switching to the grid view from list view. all buttons coords here are align_top, align_center. also there is a fixed number (different for each button) used to correct positions when CFG.widescreen returns false so there isn't complete theming freedom but it is enough for now. 2009-05-29 01:50:05 +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
aa35956b35 fix issue 347 2009-05-28 15:42:53 +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
37bfe50fe2 *r418 didn't compile becaue I forgot to remove the GOROUND stuff on the carousel button 2009-05-28 01:49:16 +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
ardi@ist-einmalig.de
b2e780567e little bugfix 2009-05-27 14:51:04 +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
DRayX7
5d4f55d333 *Fixed parental control (I think).
*Fixed a small issue with displaying svn number.
2009-05-26 22:51:17 +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
ardi@ist-einmalig.de
75774a0421 closes cfg-files after reading 2009-05-25 19:10:13 +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
mauricewoelk
94df404175 just some imagework 2009-05-25 12:59:02 +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
mauricewoelk
6dd346dace just edited the backgrounds 2009-05-25 11:08:33 +00:00
dimok321
38ab8d183c *Blackscreen fix part 2 lol (starting to piss me off) 2009-05-24 21:36:21 +00:00
dimok321
b1b88d2390 *little blackscreen fix 2009-05-24 20:13:51 +00:00
DRayX7
fa68ab959d *Added support for compiling the revision number into the binary. This is then shown in the credits window, and may be used for online updates eventually.
*Note: Compiling this requires a real (CLI) SVN client.

**For the following operating systems, I recommend these clients.
*Windows: SilkSVN (http://www.silksvn.com/en/download)
*Red Hat based GNU/Linux: SummerSoft (http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/)
*Solaris: Sunfreeware (http://www.sunfreeware.com/)

**For the following operating systems, you can simply type in these shell commands.
*Debian based GNU/Linux: apt-get install subversion
*Fedora based GNU/Linux: yum install subversion
*OpenBSD: pkg_add subversion
*FreeBSD: cd /usr/ports/devel/subversion; make install

**Mac OS X usually comes with subversion, but you can download updates here: openCollabNet (http://downloads.open.collab.net/binaries.html)

**For any operating system not listed above, you can obtain the source here: Tigris (http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74)
2009-05-24 20:11:59 +00:00
dimok321
3d84545b00 *Bah a typo that caused compile issue lol 2009-05-24 18:52:51 +00:00
dimok321
cc51969c6a *DefaultButton is now deleting the game from GameSettings list. 2009-05-24 18:50:01 +00:00
dimok321
edb501683f *Temporary fix for corrupted first downloaded cover (redownloading first cover at the end of download)
*Some issues solved (dont remember the numbers)
2009-05-24 14:40:51 +00:00
mauricewoelk
1e24620c2b - Added widescreen fix to the arrow buttons one game window
- Added exit menu to the settings (no more going back to main menu needed to exit the loader)
- Changed the buttons for gamelist (favorites, sort by name etc.)
2009-05-24 13:59:09 +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
ccc2b7215a *Revert to r392 2009-05-22 22:08:50 +00:00
DRayX7
e66d562f0b *Cleanup code test 2009-05-22 21:15:00 +00:00
dimok321
061a1629e1 *New languagefiles.
*Replaced the Closebutton.
2009-05-22 19:36:34 +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
94cac74a3a **Changes:
*Seperated the functionality of show favorites and sorting (so you can show only favorites and sort however you want).
*Fixed some bugs with sorting.

**Known Bugs:
*If the loader is started with show favorites on, and it is then turned off, it code dumps (if you have less than 10 games favorited).
*If you change the favorite status of a game it resets the play count.
Please do not create issues about these, they will be fixed soon.

**Note:
*There is a new libogc package in the downloads section, you don't have to update, but it is recommended.
2009-05-22 17:51:28 +00:00
ardi@ist-einmalig.de
2f1e1dfd77 little FreeType fix (Char-left-bearing) 2009-05-22 12:09:44 +00:00
mauricewoelk
3fb0c53089 just some image shit done 2009-05-22 09:42:25 +00:00
giantpune
613f0b37b6 fixed a bug that reset all playcounts. fixed u8 playcount limit. moved the favorite icon over the gamelist. added ABC and count icons and got rid of the entry in the settings page. new buttons can be themed but not moved yet. 2009-05-22 07:15:01 +00:00
DRayX7
a28b301f29 *Really small fix to the SD card button 2009-05-21 23:57:56 +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
fa573e22e3 *Switching to favorites will now properly reload boxart (unless you have
no favorites).
*Updated french Language file from julienstephan
2009-05-21 20:18:58 +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
DRayX7
63fb18d87f * Switched to the original star (I was tired last night and forgot the svn add). 2009-05-21 17:04:44 +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
giantpune
2062ef871d added favorites to per game settings, sorting for gamelist based on alphabetical, favorites, and play count. still has some bugs so don't make issues out of them. 2009-05-21 04:00:16 +00:00
giantpune
4a0c038708 Fix no SD bug and other stuff 2009-05-20 22:30:47 +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
b98baef239 *Small change in install again. 2009-05-20 19:51:28 +00:00
dimok321
f4df20c9c3 *Changed back to installer of usbloader 1.5 with a slower update rate for progressbar
*Some new languagefiles again
2009-05-20 13:14:52 +00:00
giantpune
ef285a4977 little fix 2009-05-20 08:53:02 +00:00
giantpune
2dc38a8354 auto add / if missing from path ends. add stuff to create stat/favorite file. add option to use 12rh clock.(not tested but i'll know in 12 hours if it works) 2009-05-20 08:31:47 +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
mauricewoelk
6538947fef -edited new exit menu a bit 2009-05-19 18:12:35 +00:00
mauricewoelk
df6b771d28 just added a wiimote to the Exit Menu (maybe some wiimote-function menu will come later) 2009-05-19 11:39:37 +00:00
mauricewoelk
15f5905b1a - Moved the HDD information where the battery meter was before.
- now clock and HDD info can be shown at the same time (HDD info still can be edited/turned off in the themes.txt)
2009-05-19 10:29:58 +00:00
mauricewoelk
bbce513bd1 -edited some graphics
-removed batterymeter from main menu (oh yeh themers wiil scream :P)
-removed unnecessary images
-made a better menuin sound
2009-05-19 09:48:36 +00:00
dimok321
3c2eec0fbb *I replaced the (new) libogc in our download section with another one. Please get it. Its a newer one made from newest SVN thx to Drayx7. 2009-05-19 07:52:17 +00:00
giantpune
51ed0543e1 made more images read from theme path and fixed ones that were'nt being read. progressbar_outline.png/ progressbar.png/ progressbar_empty.png/ tab_bg1.png/ tab_bg2.png/ tab_bg3.png/ bg_options_settings.png 2009-05-19 05:08:14 +00:00
dimok321
5011115304 *Updated to the newest libogc. If you want to compile download newest devkit 1.5.0 and extract the new libogc from our download section into that folder. 2009-05-19 00:46:14 +00:00
dimok321
13db58ebeb *Little compile fix. 2009-05-18 20:13:52 +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
d116eca0ff made new exit menu 2009-05-18 12:09:37 +00:00
giantpune
2bd2382a64 2009-05-18 09:33:23 +00:00
dimok321
f36ae8b8a4 *Increased the characters limit for ALL variables
*Increased GameRename limit
*Fixed Keyboard variable not showing
2009-05-17 17:40:19 +00:00
dimok321
05f7dcb368 *Added Unicode fix (thx to CDGod) (Chinese fix.) You might need another font for it. We won't include the Unicode font since its too big.
*Added some new Language Variables (check out Wiki)
*Added Languages to SVN
*Added titles.txt path changeable
*Changed CONFIGFILENAMES to GXGlobal.cfg, GXGameSettings.cfg and GXtheme.cfg !!!

Finnish (final v2 by JussiPik)
Dutch (final v2 by kedest, Adr990)
Spanish (final v1 tlozano)
French (final v1 by Amour)
T.Chinese (final v1 by kyogc)
2009-05-17 08:40:47 +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
594baabfce *Fixed some BUGs/added missing Texts
*Fixed BUG that Cancel on renaming Game wasnt working they way it should
2009-05-16 21:04:43 +00:00
dimok321
e54f3f22d1 *Fixed BUG with french é and á and so on 2009-05-16 20:10:29 +00:00
dimok321
250fe45e81 *Some fixes.
*Instant change of Language now
2009-05-16 19:12:36 +00:00
giantpune
5a535a61a6 Added support for language files. Still as some bugs and maybe a few typos. DON"T MAKE ISSUES OUT OF THEM. 2009-05-16 15:38:52 +00:00
dimok321
4581890650 *Fixed install bug when 0 Games are on the HDD 2009-05-15 20:35:08 +00:00
dimok321
feda5a7ba6 *Changed some functions.
*Fixed one bug that you couldnt get to FormatMenu
*Added USB functions, not yet implemented (they dont work under cIOS249/cIOS222, only under IOS36 (original). right now function only works if partition 1 is fat/fat32)
2009-05-15 20:03:19 +00:00
giantpune
d15e8218a4 fix issue 287 (really this time). Make battery theme-able. Use battery.png, battery_red.png, and battery_bar,png images. Use batteryUnused = ### in theme.txt to define transparency of icons for unused controllers. 0 is invisible; 255 is opauqe. 2009-05-15 04:07:34 +00:00
dimok321
a97cfd3431 *Fixed Estimation GameSize before Install BUG
*Some small fixes and MP3 Crash fix (STILL BUGGY WHILE PLAYING, DON'T USE IT)
2009-05-13 20:55:33 +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
dimok321
f493f3c2f5 *Added Quicksort to the MP3 List. 2009-05-13 19:01:05 +00:00
giantpune
9ee6729e7f fix underscore bug in keyboard and mp3 list. 2009-05-13 18:14:45 +00:00
giantpune
0a11579c18 put some buttons for mp3 menu 2009-05-13 16:54:50 +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
dimok321
5fabf08980 *Changed back to old install function. This one never freezes or codedumps (i hope so). 2009-05-12 21:19:51 +00:00
giantpune
4093776c3b Change the scrollbar behavior based on the pagesize in theme. 2009-05-12 07:02:17 +00:00
dimok321
8e3519372a *Now if no HDD is found at startup you will be asked if you want to retry 30secs with the cIOS of your choice or return to WiiMenu. 2009-05-12 06:23:22 +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
dimok321
e2f9d727ac *Fixed BUG: cIOS selected in the GameSettings wasnt loaded before gamestart! Now it should work fine and fix some freezer inside games. (issue 217, 227) 2009-05-11 21:19:00 +00:00
giantpune
5f5f2040aa Set up 3rd tab in settings screen for any other settings. Added new images for tabs.(NeoRame). Did some housekeeping with the code. 2009-05-11 19:55:14 +00:00