Commit Graph

357 Commits

Author SHA1 Message Date
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